-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Struggling to run the language server standalone #100
Comments
|
Thank you @tcx4c70 . That helped a ton. There were a lot of changes required in the client I am working on to get it up and running. That leads me to a couple of questions:
|
djzager
added a commit
to djzager/analyzer-dotnet-provider
that referenced
this issue
Jul 26, 2023
This commit introduces a container image + main.go that integrates with analyzer-lsp; namely it makes this project a legit external provider to the analyzer for .NET projects. - We opt to use the csharp-ls that, while hacky, implements the 3.17 LSP spec. - Introduce a server on the client side of the LSP communication to handle requests from the server back to our client. Should `csharp-ls` be sending us these requests? Probably not, see razzmatazz/csharp-language-server#100 - Wait until the server responds that the project is loaded before handing our service client back to whoever asked for it. - Also do, what I think at least, are nifty tricks to put the stdio chatter client<->server in our logs. Signed-off-by: David Zager <[email protected]>
I'm working on rework of |
djzager
added a commit
to djzager/analyzer-dotnet-provider
that referenced
this issue
Aug 15, 2023
This commit introduces a container image + main.go that integrates with analyzer-lsp; namely it makes this project a legit external provider to the analyzer for .NET projects. - We opt to use the csharp-ls that, while hacky, implements the 3.17 LSP spec. - Introduce a server on the client side of the LSP communication to handle requests from the server back to our client. Should `csharp-ls` be sending us these requests? Probably not, see razzmatazz/csharp-language-server#100 - Wait until the server responds that the project is loaded before handing our service client back to whoever asked for it. - Also do, what I think at least, are nifty tricks to put the stdio chatter client<->server in our logs. Signed-off-by: David Zager <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@razzmatazz thank you for the work you have put into this language server. I will apologize up front that my experience with C#, F#, and dotnet in general is pretty weak.
What I'm trying to do is to make specific calls to your language server independent of an editor like vscode/neovim.
What I have is a project at
/opt/app-root/src
that looks like:Filetree:
HelloWorld.csproj
Program.cs
I'm able to initialize the server just fine, but get nothing back when I make a
workspace/symbol
query. Here is me printing everything meaningful to demonstrate what I'm talking about.Questions:
The text was updated successfully, but these errors were encountered: