aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/extension.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/extension.ts')
-rw-r--r--editors/code/src/extension.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/code/src/extension.ts b/editors/code/src/extension.ts
index 941beba18..2e13c87de 100644
--- a/editors/code/src/extension.ts
+++ b/editors/code/src/extension.ts
@@ -2,6 +2,7 @@ import * as vscode from 'vscode';
2import * as lc from 'vscode-languageclient'; 2import * as lc from 'vscode-languageclient';
3 3
4import * as commands from './commands'; 4import * as commands from './commands';
5import { interactivelyStartCargoWatch } from './commands/runnables';
5import { SyntaxTreeContentProvider } from './commands/syntaxTree'; 6import { SyntaxTreeContentProvider } from './commands/syntaxTree';
6import * as events from './events'; 7import * as events from './events';
7import * as notifications from './notifications'; 8import * as notifications from './notifications';
@@ -119,6 +120,9 @@ export function activate(context: vscode.ExtensionContext) {
119 context.subscriptions 120 context.subscriptions
120 ); 121 );
121 122
123 // Executing `cargo watch` provides us with inline diagnostics on save
124 interactivelyStartCargoWatch();
125
122 // Start the language server, finally! 126 // Start the language server, finally!
123 Server.start(allNotifications); 127 Server.start(allNotifications);
124} 128}