fix: prevent focusing the output tab (#454)
parent
9785d23da7
commit
4898e75f4e
|
@ -5,7 +5,7 @@ import * as path from 'path'
|
||||||
import * as semver from 'semver'
|
import * as semver from 'semver'
|
||||||
import * as url from 'url'
|
import * as url from 'url'
|
||||||
import * as vscode from 'vscode'
|
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')
|
const composerJson = require('../composer.json')
|
||||||
|
|
||||||
export async function activate(context: vscode.ExtensionContext): Promise<void> {
|
export async function activate(context: vscode.ExtensionContext): Promise<void> {
|
||||||
|
@ -112,6 +112,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
|
||||||
const clientOptions: LanguageClientOptions = {
|
const clientOptions: LanguageClientOptions = {
|
||||||
// Register the server for php documents
|
// Register the server for php documents
|
||||||
documentSelector: [{ scheme: 'file', language: 'php' }, { scheme: 'untitled', language: 'php' }],
|
documentSelector: [{ scheme: 'file', language: 'php' }, { scheme: 'untitled', language: 'php' }],
|
||||||
|
revealOutputChannelOn: RevealOutputChannelOn.Never,
|
||||||
uriConverters: {
|
uriConverters: {
|
||||||
// VS Code by default %-encodes even the colon after the drive letter
|
// VS Code by default %-encodes even the colon after the drive letter
|
||||||
// NodeJS handles it much better
|
// NodeJS handles it much better
|
||||||
|
|
Loading…
Reference in New Issue