Skip to content

Commit 89e5c33

Browse files
committed
docs: use traceChannel consistently
1 parent ec7c8a5 commit 89e5c33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/lsp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ sequenceDiagram
5353
```
5454
4. Uncomment the `__AMAZONQLSP_PATH` and `__AMAZONQLSP_UI` variables in the `amazonq/.vscode/launch.json` extension configuration
5555
5. Use the `Launch LSP with Debugging` configuration and set breakpoints in VSCode or the language server
56-
6. (Optional): Enable `"amazonq.lsp.trace": "on"` in your VSCode settings to view detailed log messages sent to/from the language server. These log messages will show up in the "Amazon Q Language Server" output channel. `"amazonq.lsp.logLevel"` can be used to configure the log level for the language server.
56+
6. (Optional): Enable `"amazonq.lsp.traceChannel": "on"` in your VSCode settings to view detailed log messages sent to/from the language server. These log messages will show up in the "Amazon Q Language Server" output channel. `"amazonq.lsp.logLevel"` can be used to configure the log level for the language server.
5757
5858
## Amazon Q Inline Activation
5959

packages/amazonq/src/lsp/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const lspSettingsSection = 'amazonQ.lsp'
3636
export function getLspLogSettings(): { traceChannelEnabled: boolean; lspLogLevel: LspLogLevel } {
3737
const lspSettings = Settings.instance.getSection(lspSettingsSection)
3838
const lspLogLevel = lspSettings.get('logLevel', 'info')
39-
const traceChannelEnabled = lspSettings.get('trace', false)
39+
const traceChannelEnabled = lspSettings.get('traceChannel', false)
4040

4141
return {
4242
traceChannelEnabled,

0 commit comments

Comments
 (0)