-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Create vala-language-client
to debug the language server
#227
Labels
Comments
Prince781
changed the title
Debugging and improve
Create Jan 2, 2022
vala-language-client
to debug the language server
Prince781
added
enhancement
A new feature
meta
Meta-level issues pertaining to this project
labels
Jan 2, 2022
I will try to add test if I manage to understand all this stuff and lsp specs |
I have started to add VLS unit tests in GVLS, in order to test GVls' LSP client against VLS server. First simple test, just initialize the server and got (just to show how is going on):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to setup a complete workflow for vala.
Adding mesonbuild/meson#9582 to meson, one can do:
With a correct setup, vim-lsp or similar work (if setup as mentioned in this project README.md)
so far so good, but after that, debug is little complex
I enable vim-lsp debug and extract basic operations:
So after run this server: (it is listening on stdin)
Initialize:
Response:
Ask for hover for
stdout.printf
Response:
void GLib.FileStream.printf (string format, ...)
Hope this helps others to start with lsp and extend, improve features.
Good to have: Miss a vala-language-client (connected by socket? or localhost) to launch queries. Even a GUI would be awesome (as a side project)
The text was updated successfully, but these errors were encountered: