Skip to content

Commit

Permalink
Prevent focusing the output tab
Browse files Browse the repository at this point in the history
Just a quick one to prevent the extension from stealing focus to the output tab

See: felixfbecker/vscode-php-intellisense#454

Fixes: psalm#141
  • Loading branch information
jarstelfox authored Jun 8, 2022
1 parent 89891b6 commit 5d10d7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/LanguageServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {
LanguageClient,
StreamInfo,
ErrorHandler,
RevealOutputChannelOn,
} from 'vscode-languageclient/node';
import { StatusBar, LanguageServerStatus } from './StatusBar';
import { spawn, ChildProcess } from 'child_process';
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5d10d7f

Please sign in to comment.