Skip to content

set standard id without spaces#29

Open
albfan wants to merge 1 commit intovala-lang:masterfrom
albfan:lsp-debug
Open

set standard id without spaces#29
albfan wants to merge 1 commit intovala-lang:masterfrom
albfan:lsp-debug

Conversation

@albfan
Copy link
Copy Markdown

@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
Copy Markdown
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