Skip to content

Commit f9c6010

Browse files
authored
Merge pull request #5123 from dotty-staging/hide-ide-errors
vscode-dotty display improvement and coursier update
2 parents fb0347e + ff01801 commit f9c6010

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

vscode-dotty/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"vscode:prepublish": "npm install && ./node_modules/.bin/tsc -p ./",
5252
"compile": "./node_modules/.bin/tsc -p ./",
5353
"test": "node ./node_modules/vscode/bin/test",
54-
"postinstall": "node ./node_modules/vscode/bin/install && curl -L -o out/coursier https://github.com/coursier/coursier/raw/v1.0.3/coursier"
54+
"postinstall": "node ./node_modules/vscode/bin/install && curl -L -o out/coursier https://github.com/coursier/coursier/raw/v1.1.0-M7/coursier"
5555
},
5656
"extensionDependencies": [
5757
"daltonjorge.scala"

vscode-dotty/src/extension.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import * as cpp from 'child-process-promise';
77

88
import { ExtensionContext } from 'vscode';
99
import * as vscode from 'vscode';
10-
import { LanguageClient, LanguageClientOptions, ServerOptions } from 'vscode-languageclient';
10+
import { LanguageClient, LanguageClientOptions, RevealOutputChannelOn,
11+
ServerOptions } from 'vscode-languageclient';
1112

1213
let extensionContext: ExtensionContext
1314
let outputChannel: vscode.OutputChannel
@@ -156,7 +157,8 @@ function run(serverOptions: ServerOptions) {
156157
],
157158
synchronize: {
158159
configurationSection: 'dotty'
159-
}
160+
},
161+
revealOutputChannelOn: RevealOutputChannelOn.Never
160162
}
161163

162164
outputChannel.dispose()

0 commit comments

Comments
 (0)