Skip to content

Commit

Permalink
fix: prevent focusing the output tab (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
d0x2f authored and felixfbecker committed Dec 26, 2019
1 parent 9785d23 commit 4898e75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as path from 'path'
import * as semver from 'semver'
import * as url from 'url'
import * as vscode from 'vscode'
import { LanguageClient, LanguageClientOptions, StreamInfo } from 'vscode-languageclient'
import { LanguageClient, LanguageClientOptions, RevealOutputChannelOn, StreamInfo } from 'vscode-languageclient'
const composerJson = require('../composer.json')

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

0 comments on commit 4898e75

Please sign in to comment.