microsoft/language-server-protocol

Update tutorial with location of trace.server config

Open

#1,588 opened on Nov 20, 2022

View on GitHub
 (7 comments) (0 reactions) (0 assignees)HTML (12,810 stars) (956 forks)batch import
clarificationhelp wanted

Description

Given this part from the tutorial (sorry - but it forwards to this repo for asking questions):

For lsp-sample, you can set this setting: "languageServerExample.trace.server": "verbose". Now head to the channel "Language Server Example". You should see the logs:

I've tried adding this option to any of the package.json files, as well as .vscode/settings.json (as per this source). I know there's a similar SO post but the author ended up creating their own output channel. Instead, I'd simply like to find the appropriate location. Just wondering whether I'm missing something very obvious or this part of the tutorial should be corrected. If so, is there an alternative way to log messages from the LSP server?

Contributor guide