never reveal output channel

master
Brad Cornes 2021-05-04 13:28:08 +01:00
parent 89aacecb64
commit 1ab4be4a60
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ import {
ServerOptions, ServerOptions,
TransportKind, TransportKind,
State as LanguageClientState, State as LanguageClientState,
RevealOutputChannelOn,
} from 'vscode-languageclient/node' } from 'vscode-languageclient/node'
import { DEFAULT_LANGUAGES } from './lib/languages' import { DEFAULT_LANGUAGES } from './lib/languages'
import isObject from './util/isObject' import isObject from './util/isObject'
@ -173,6 +174,7 @@ export function activate(context: ExtensionContext) {
diagnosticCollectionName: CLIENT_ID, diagnosticCollectionName: CLIENT_ID,
workspaceFolder: folder, workspaceFolder: folder,
outputChannel: outputChannel, outputChannel: outputChannel,
revealOutputChannelOn: RevealOutputChannelOn.Never,
middleware: { middleware: {
async resolveCompletionItem(item, token, next) { async resolveCompletionItem(item, token, next) {
let result = await next(item, token) let result = await next(item, token)