aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-25 16:11:58 +0000
committerAleksey Kladov <[email protected]>2019-01-25 16:11:58 +0000
commitf6adb85b681c23b64cc33197eb67d5d7fcf920f0 (patch)
treeca0ee39e7f1305019954b3a413a06f9431cb6648 /editors/code/src
parent6df1f71b7d0db209978595dc9be496e7f2ef88ec (diff)
add gc request
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);