microsoft/language-server-protocol

Update tutorial with location of trace.server config

開放

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

 (7 則留言) (0 個反應) (0 位負責人)HTML (956 個分叉)batch import
clarificationhelp wanted

倉庫指標

星標
 (12,810 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南