Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
LanguageClientOptions,
ServerOptions,
Trace,
RevealOutputChannelOn,
} from 'vscode-languageclient/node';

let client: LanguageClient;
Expand Down Expand Up @@ -90,6 +91,8 @@ function startLanguageServer(
const clientOptions: LanguageClientOptions = {
// Route general server logs to a single, reusable channel
outputChannel: serverOutputChannel,
// Never auto-reveal the server output channel
revealOutputChannelOn: RevealOutputChannelOn.Never,
// Send JSON-RPC trace to a dedicated channel visible in the Output panel
traceOutputChannel: outputChannel,
markdown: {
Expand Down Expand Up @@ -129,9 +132,6 @@ function startLanguageServer(
client.setTrace(map[level]);
try {
outputChannel.appendLine(`[Nushell] JSON-RPC tracing set to: ${level}`);
if (level !== 'off') {
outputChannel.show(true);
}
} catch {
// ignore
}
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "vscode-nushell-lang",
"description": "nushell language for vscode",
"author": "The Nushell Project Developers",
"version": "2.0.3",
"version": "2.0.4",
"preview": false,
"license": "MIT",
"publisher": "TheNuProjectContributors",
Expand Down