diff options
Diffstat (limited to 'editors/code/src/extension.ts')
-rw-r--r-- | editors/code/src/extension.ts | 4 |
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'; | |||
2 | import * as lc from 'vscode-languageclient'; | 2 | import * as lc from 'vscode-languageclient'; |
3 | 3 | ||
4 | import * as commands from './commands'; | 4 | import * as commands from './commands'; |
5 | import { interactivelyStartCargoWatch } from './commands/runnables'; | ||
5 | import { SyntaxTreeContentProvider } from './commands/syntaxTree'; | 6 | import { SyntaxTreeContentProvider } from './commands/syntaxTree'; |
6 | import * as events from './events'; | 7 | import * as events from './events'; |
7 | import * as notifications from './notifications'; | 8 | import * 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 | } |