C# OmniSharp LSP #13623
Unanswered
Eragra3
asked this question in
Troubleshooting
C# OmniSharp LSP
#13623
Replies: 1 comment 2 replies
-
I have omnisharp working with no issues. The only default config override I added was to increase the timeout, since omnisharp can take a while to start up on larger projects. # Default LSP Overrides
[language-server.omnisharp]
timeout = 120 The couple times I have had issues I just navigated to the solution directory and ran My global config is this... {
"FormattingOptions": {
"EnableEditorConfigSupport": true,
"OrganizeImports": true
},
"RoslynExtensionsOptions": {
"enableImportCompletion": true,
"enableDecompilationSupport": true
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I hate to revive unanswered discussion, but I see a lot of people struggling with C# LSP and no good solution for that.
So far I tried adding OmniSharp to
path
, configuring it directly (see below) and playing around with switches and configuration.I can't make it work, I only found following logs:
helix_lsp::client [WARN] language server failed to terminate gracefully - server closed the stream.
with genericSystem.InvalidOperationException: Enumeration already finished.
exception on OmniSharp sidehelix_lsp·[ERROR]·failed·to·initialize·language·server:·request·0·timed·out
helix_term::application·[ERROR]·Discarding·publishDiagnostic·notification·sent·by·an·uninitialized·server:·omnisharp
I run Windows and tried various versions of OmniSharp and dotnet SDKs.
Is there anybody that has working C# LSP with OOTB configuration of Helix?
Are you guys using additional configuration for the LSP?
Beta Was this translation helpful? Give feedback.
All reactions