sharpSteff / lapce-csharp-plugin

Apache License 2.0
5 stars 1 forks source link

highlight will mess up after some editing? #3

Closed taooceros closed 1 year ago

taooceros commented 1 year ago

image

taooceros commented 1 year ago

Also seems like I wasn't able to load any assembly🤔 image

sharpSteff commented 1 year ago

are you on 0.27 ?

taooceros commented 1 year ago

I think I am on nightly because there's no windows build for 0.27

sharpSteff commented 1 year ago

i'll check if I can reproduce the issue

taooceros commented 1 year ago

Thanks

sharpSteff commented 1 year ago

rootcause is probably OmniSharp/omnisharp-roslyn#2483

taooceros commented 1 year ago

oh 🤣thanks for investigating this! so microsoft's lsp doesn't follow lsp spec. interesting...

sharpSteff commented 1 year ago

@taooceros please check v.2.0.0 I dropped omnisharp and switched to the open source project csharp-ls as LSP, which works out of the box after installing the LSP via: dotnet tool install --global csharp-ls

taooceros commented 1 year ago

Thanks for helping! I will try it now

taooceros commented 1 year ago

emmmm I can't get it to work. The csharp-ls is installed, but it seems like the lsp is not running? do I need to uninstall and reinstall?

oh ok I need to delete some setting..