microsoft/language-server-protocol

Update tutorial with location of trace.server config

Open

#1.588 aberto em 20 de nov. de 2022

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)HTML (956 forks)batch import
clarificationhelp wanted

Métricas do repositório

Stars
 (12.810 stars)
Métricas de merge de PR
 (Mesclagem média 19h 29m) (12 fundiu PRs em 30d)

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?

Guia do colaborador