Skip to content

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.

1 participant