]> git.lizzy.rs Git - rust.git/blob - editors/code/src/commands/index.ts
9d9b9c5754994360a550f99483a1d908b96d3d26
[rust.git] / editors / code / src / commands / index.ts
1 import { Ctx, Cmd } from '../ctx'
2
3 import { analyzerStatus } from './analyzer_status';
4 import { matchingBrace } from './matching_brace';
5 import * as applySourceChange from './apply_source_change';
6 import * as expandMacro from './expand_macro';
7 import * as inlayHints from './inlay_hints';
8 import * as joinLines from './join_lines';
9 import * as onEnter from './on_enter';
10 import * as parentModule from './parent_module';
11 import * as runnables from './runnables';
12 import * as syntaxTree from './syntaxTree';
13
14 function collectGarbage(ctx: Ctx): Cmd {
15     return async () => { ctx.client.sendRequest<null>('rust-analyzer/collectGarbage', null) }
16 }
17
18 export {
19     analyzerStatus,
20     applySourceChange,
21     expandMacro,
22     joinLines,
23     matchingBrace,
24     parentModule,
25     runnables,
26     syntaxTree,
27     onEnter,
28     inlayHints,
29     collectGarbage
30 };