You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the default launch option on the VSCode plugin is not LSP mode. How do I configure the plugin to start Omnisharp server is -lsp mode and use LanguageServer client for communication?
I saw a config with the name razor.plugin.path. Just changing this to Microsoft.AspNetCore.Razor.LanguageServer.Common.dll works?
The text was updated successfully, but these errors were encountered:
@patilarpith What are you trying to do? The C# extension doesn't use LSP to communicate with omnisharp. We therefore don't expose a way to start it in lsp mode.
I remember @mholo65 mentioning that he's able to run VSCode & OmniSharp-Roslyn in LSP mode. As I'm seeing some unusual behaviour with OmniSharp-Roslyn with monaco-languageclient, I was hoping the VSCode jsonrpc messages could provide some insight OmniSharp/omnisharp-roslyn#1505 (comment)
@patilarpith as @rchande pointed out, OmniSharp-VSCode doesn’t run in LSP mode. You can however, quite easily create a custom VSCode extension that pkugs into OmniSharp-Roslyn running in LSP mode. See example here
Looks like the default launch option on the VSCode plugin is not LSP mode. How do I configure the plugin to start Omnisharp server is
-lsp
mode and use LanguageServer client for communication?I saw a config with the name
razor.plugin.path
. Just changing this toMicrosoft.AspNetCore.Razor.LanguageServer.Common.dll
works?The text was updated successfully, but these errors were encountered: