Skip to content
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

set standard id without spaces #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

albfan
Copy link

@albfan albfan commented Dec 21, 2023

https://code.visualstudio.com/api/language-extensions/language-server-extension-guide#logging-support-for-language-server

logging support from vscode-languageclient uses

langId.trace.server = verbose

but as vala-vscode uses LanguageClient constructor that defines both id and name, id has spaces and capital letters and probably that confuses the config. None of this works:

"Vala Language Server3.trace.server": "verbose",    
"Vala\\ Language\\ Server3.trace.server": "verbose",

with this change:

"vala-language-server.trace.server": "verbose"

works and allow to see all communications

@albfan
Copy link
Author

albfan commented Dec 21, 2023

We can document this and add to extension config if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant