From 5d10d7fb0fcd705c3f96eb55fc2cf7d9369e8810 Mon Sep 17 00:00:00 2001 From: jarstelfox Date: Wed, 8 Jun 2022 13:11:16 -0700 Subject: [PATCH] Prevent focusing the output tab Just a quick one to prevent the extension from stealing focus to the output tab See: https://github.com/felixfbecker/vscode-php-intellisense/pull/454 Fixes: https://github.com/psalm/psalm-vscode-plugin/issues/141 --- src/LanguageServer.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LanguageServer.ts b/src/LanguageServer.ts index 299aea8..e48a488 100644 --- a/src/LanguageServer.ts +++ b/src/LanguageServer.ts @@ -2,6 +2,7 @@ import { LanguageClient, StreamInfo, ErrorHandler, + RevealOutputChannelOn, } from 'vscode-languageclient/node'; import { StatusBar, LanguageServerStatus } from './StatusBar'; import { spawn, ChildProcess } from 'child_process'; @@ -56,6 +57,7 @@ export class LanguageServer { { outputChannel: this.loggingService, traceOutputChannel: this.loggingService, + revealOutputChannelOn: RevealOutputChannelOn.Never, // Register the server for php (and maybe HTML) documents documentSelector: this.configurationService.get< string[] | DocumentSelector