Giter Club home page Giter Club logo

Comments (5)

SpartanJ avatar SpartanJ commented on June 4, 2024

I need to add support for OmniSharp LSP. I wasn't able to run it from Linux and got a little frustrated. Do you know any C# formatter? I'm not very familiar with the .NET environment but it shouldn't be hard to find one.

from ecode.

SpartanJ avatar SpartanJ commented on June 4, 2024

uncrustify could be an option. I'll keep investigating.

from ecode.

andy0x10 avatar andy0x10 commented on June 4, 2024

Yeah I'm not familiar with any so I can't make a recommendation. I did just try the offical Microsoft ones, but they didn't seem to support single .cs files and require a .csproj / .sln as well as far as I could tell...

Thanks I will look at uncrustify 👍

from ecode.

andy0x10 avatar andy0x10 commented on June 4, 2024

Great that's it's now supported in 0.4.4! 👍

But...I can't figure out how to use it to format C# code? I've installed Omnisharp and added it to the path. Anything else required?

Also, you should maybe add the new C# Omnisharp support to the readme.md page

Thanks!

from ecode.

SpartanJ avatar SpartanJ commented on June 4, 2024

I think it's broken on Windows (I'm assuming that you're on Windows). I made a fix a couple of days ago. I didn't test OmniSharp on Windows yet, but Clang was fixed. You can give it a try:
ecode-windows-0.4.4-x86_64.zip, please let me know. Also try to run ecode with debug logs: ecode.exe -ldebug and if it doesn't work just send me the logs. Thanks!

from ecode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.