File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 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) {
1616 command : 'pglsp_new'
1717 } ;
1818
19- // const outputChannel = window.createOutputChannel('postgres_lsp');
20-
2119 const serverOptions : ServerOptions = {
2220 run,
2321 debug : run
2422 } ;
2523
24+ const outputChannel = window . createOutputChannel ( 'Postgres LSP' , { log : true } ) ;
25+
2626 // Options to control the language client
2727 const clientOptions : LanguageClientOptions = {
2828 // Register the server for plain text documents
2929 documentSelector : [ { scheme : 'file' , language : 'sql' } ] ,
30- traceOutputChannel : window . createOutputChannel ( 'Postgres LSP Tracing' , { log : true } )
30+ outputChannel
3131 } ;
3232
3333 // Create the language client and start the client.
@@ -42,5 +42,6 @@ export function deactivate(): Thenable<void> | undefined {
4242 if ( ! client ) {
4343 return undefined ;
4444 }
45+
4546 return client . stop ( ) ;
4647}
You can’t perform that action at this time.
0 commit comments