mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
add gc request
This commit is contained in:
parent
6df1f71b7d
commit
f6adb85b68
7 changed files with 44 additions and 11 deletions
|
@ -49,6 +49,9 @@ export function activate(context: vscode.ExtensionContext) {
|
|||
'ra-lsp.analyzerStatus',
|
||||
commands.analyzerStatus.makeCommand(context)
|
||||
);
|
||||
registerCommand('ra-lsp.collectGarbage', () =>
|
||||
Server.client.sendRequest<null>('ra/collectGarbage', null)
|
||||
);
|
||||
registerCommand('ra-lsp.syntaxTree', commands.syntaxTree.handle);
|
||||
registerCommand('ra-lsp.extendSelection', commands.extendSelection.handle);
|
||||
registerCommand('ra-lsp.matchingBrace', commands.matchingBrace.handle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue