vala-lang / vala-vscode

Vala and Genie integration for Visual Studio Code/VSCodium/Code-OSS
MIT License
41 stars 9 forks source link

set standard id without spaces #29

Open albfan opened 10 months ago

albfan commented 10 months ago

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 commented 10 months ago

We can document this and add to extension config if needed