File tree 1 file changed +4
-3
lines changed 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ export async function activate(_context: ExtensionContext) {
16
16
command : 'pglsp_new'
17
17
} ;
18
18
19
- // const outputChannel = window.createOutputChannel('postgres_lsp');
20
-
21
19
const serverOptions : ServerOptions = {
22
20
run,
23
21
debug : run
24
22
} ;
25
23
24
+ const outputChannel = window . createOutputChannel ( 'Postgres LSP' , { log : true } ) ;
25
+
26
26
// Options to control the language client
27
27
const clientOptions : LanguageClientOptions = {
28
28
// Register the server for plain text documents
29
29
documentSelector : [ { scheme : 'file' , language : 'sql' } ] ,
30
- traceOutputChannel : window . createOutputChannel ( 'Postgres LSP Tracing' , { log : true } )
30
+ outputChannel
31
31
} ;
32
32
33
33
// Create the language client and start the client.
@@ -42,5 +42,6 @@ export function deactivate(): Thenable<void> | undefined {
42
42
if ( ! client ) {
43
43
return undefined ;
44
44
}
45
+
45
46
return client . stop ( ) ;
46
47
}
You can’t perform that action at this time.
0 commit comments