Skip to content

Commit dd11489

Browse files
authored
Set typescript.native-preview.serverRunning=false on extension startup (#998)
1 parent a06d95b commit dd11489

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_extension/src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import { setupStatusBar } from "./statusBar";
66
import { setupVersionStatusItem } from "./versionStatusItem";
77

88
export async function activate(context: vscode.ExtensionContext) {
9+
await vscode.commands.executeCommand("setContext", "typescript.native-preview.serverRunning", false);
10+
911
const output = vscode.window.createOutputChannel("typescript-native-preview", "log");
1012
const traceOutput = vscode.window.createOutputChannel("typescript-native-preview (LSP)");
1113
const client = new Client(output, traceOutput);

0 commit comments

Comments
 (0)