Skip to content

Commit 4898e75

Browse files
d0x2ffelixfbecker
authored andcommitted
fix: prevent focusing the output tab (#454)
1 parent 9785d23 commit 4898e75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as path from 'path'
55
import * as semver from 'semver'
66
import * as url from 'url'
77
import * as vscode from 'vscode'
8-
import { LanguageClient, LanguageClientOptions, StreamInfo } from 'vscode-languageclient'
8+
import { LanguageClient, LanguageClientOptions, RevealOutputChannelOn, StreamInfo } from 'vscode-languageclient'
99
const composerJson = require('../composer.json')
1010

1111
export async function activate(context: vscode.ExtensionContext): Promise<void> {
@@ -112,6 +112,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
112112
const clientOptions: LanguageClientOptions = {
113113
// Register the server for php documents
114114
documentSelector: [{ scheme: 'file', language: 'php' }, { scheme: 'untitled', language: 'php' }],
115+
revealOutputChannelOn: RevealOutputChannelOn.Never,
115116
uriConverters: {
116117
// VS Code by default %-encodes even the colon after the drive letter
117118
// NodeJS handles it much better

0 commit comments

Comments
 (0)