Replies: 2 comments
-
Oh interestingly if I open the folder where the csproj file resides I don't have these issues, usually I work where I open the folder where the sln is so:
I usually open it in |
Beta Was this translation helpful? Give feedback.
-
I don't know C# well, but the editor only starts LSPs and talks to them, it doesn't know anything about C#. That said, it does do some logic to determine what a project root is and I think that scopes where/how the LSP runs: https://github.com/helix-editor/helix/blob/master/languages.toml#L254 For some languages when you have nested projects it's a matter of the LSP properly understanding where to find the root project file (project.sln?) and wiring that all together. I'd suggest starting with the LSP project for troubleshooting and then possibly Helix's project detection needs tweaking for C#. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
I'm not really sure if this is a omnisharp thing (all though it doesn't seem to happen in Vs Code) but when I load my project directory up in helix and navigate to a controller it seems not to be registering everything correctly
So for example:
This tells me that System.Security.Cryptography is not needed in my file (using it for Md5) and simultaneous tells me that MD5 class doesn't exist in the current context
When I run
hx --health c-sharp
this is the output:But seeing as it is a language specific thing I'm unsure if this is omni sharp telling the editor this is incorrect and not the editor itself
Beta Was this translation helpful? Give feedback.
All reactions