File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import {
35
35
} from 'aws-core-vscode/shared'
36
36
import { activate } from './chat/activation'
37
37
import { AmazonQResourcePaths } from './lspInstaller'
38
- import { getLspLogLevel } from './config'
38
+ import { getLspLogSettings } from './config'
39
39
40
40
const localize = nls . loadMessageBundle ( )
41
41
const logger = getLogger ( 'amazonqLsp.lspClient' )
@@ -63,7 +63,7 @@ export async function startLanguageServer(
63
63
} )
64
64
const clientId = `amazonq`
65
65
const documentSelector = [ { scheme : 'file' , language : '*' } ]
66
- const lspLogSettings = getLspLogLevel ( clientId )
66
+ const lspLogSettings = getLspLogSettings ( clientId )
67
67
68
68
getLogger ( 'amazonqLsp' ) . info ( `Sending log settings to lsp: %O` , lspLogSettings )
69
69
Original file line number Diff line number Diff line change @@ -27,10 +27,8 @@ export function getAmazonQLspConfig(): ExtendedAmazonQLSPConfig {
27
27
}
28
28
}
29
29
30
- // TODO: expose lsp logging settings to users
31
- // trace.server -> pipe LSP logs to seperate output channel.
32
- // lsp.logLevel -> log level to pass to the lsp.
33
- export function getLspLogLevel ( clientId : string ) {
30
+ // TODO: expose lsp logging settings to users and re-send on update.
31
+ export function getLspLogSettings ( clientId : string ) {
34
32
const traceServerSetting = `${ clientId } .trace.server`
35
33
const lspLogLevelSetting = `${ clientId } .lsp.logLevel`
36
34
You can’t perform that action at this time.
0 commit comments