aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/extension.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/code/src/extension.ts b/editors/code/src/extension.ts
index 3af95c599..dc7b01403 100644
--- a/editors/code/src/extension.ts
+++ b/editors/code/src/extension.ts
@@ -49,6 +49,9 @@ export function activate(context: vscode.ExtensionContext) {
49 'ra-lsp.analyzerStatus', 49 'ra-lsp.analyzerStatus',
50 commands.analyzerStatus.makeCommand(context) 50 commands.analyzerStatus.makeCommand(context)
51 ); 51 );
52 registerCommand('ra-lsp.collectGarbage', () =>
53 Server.client.sendRequest<null>('ra/collectGarbage', null)
54 );
52 registerCommand('ra-lsp.syntaxTree', commands.syntaxTree.handle); 55 registerCommand('ra-lsp.syntaxTree', commands.syntaxTree.handle);
53 registerCommand('ra-lsp.extendSelection', commands.extendSelection.handle); 56 registerCommand('ra-lsp.extendSelection', commands.extendSelection.handle);
54 registerCommand('ra-lsp.matchingBrace', commands.matchingBrace.handle); 57 registerCommand('ra-lsp.matchingBrace', commands.matchingBrace.handle);