aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-25 16:12:27 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-25 16:12:27 +0000
commitdc5ecf446991c65359cf49d52098fcec5f1a1f68 (patch)
treeca0ee39e7f1305019954b3a413a06f9431cb6648 /editors/code/src
parent6df1f71b7d0db209978595dc9be496e7f2ef88ec (diff)
parentf6adb85b681c23b64cc33197eb67d5d7fcf920f0 (diff)
Merge #643
643: add gc request r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
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);