microsoft/language-server-protocol

Update tutorial with location of trace.server config

Open

#1,588 建立於 2022年11月20日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)HTML (12,810 star) (956 fork)batch import
clarificationhelp wanted

描述

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?

貢獻者指南