We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e179b9 commit 33022b3Copy full SHA for 33022b3
src/extension.ts
@@ -16,12 +16,15 @@ export function activate(context: ExtensionContext) {
16
let visualizer: Visualize | null = null;
17
18
context.subscriptions.push(
19
+ outputChannel,
20
commands.registerCommand("syntaxTree.start", startLanguageServer),
21
commands.registerCommand("syntaxTree.stop", stopLanguageServer),
22
commands.registerCommand("syntaxTree.restart", restartLanguageServer),
23
commands.registerCommand("syntaxTree.visualize", () => visualizer?.visualize()),
24
commands.registerCommand("syntaxTree.showOutputChannel", () => outputChannel.show()),
- outputChannel
25
+ workspace.onDidChangeConfiguration(event =>
26
+ event.affectsConfiguration("syntaxTree") &&
27
+ restartLanguageServer())
28
);
29
30
return startLanguageServer();
0 commit comments