2019-12-30 13:53:43 +00:00
|
|
|
import { Ctx, Cmd } from '../ctx'
|
|
|
|
|
2019-12-30 13:42:59 +00:00
|
|
|
import { analyzerStatus } from './analyzer_status';
|
2019-12-30 14:20:13 +00:00
|
|
|
import { matchingBrace } from './matching_brace';
|
2019-12-30 14:50:15 +00:00
|
|
|
import { joinLines } from './join_lines';
|
2019-12-30 15:43:34 +00:00
|
|
|
import { onEnter } from './on_enter';
|
2019-11-17 18:47:50 +00:00
|
|
|
import * as expandMacro from './expand_macro';
|
2019-07-24 16:52:26 +00:00
|
|
|
import * as inlayHints from './inlay_hints';
|
2018-10-08 18:18:55 +00:00
|
|
|
import * as parentModule from './parent_module';
|
|
|
|
import * as runnables from './runnables';
|
|
|
|
import * as syntaxTree from './syntaxTree';
|
|
|
|
|
2019-12-30 13:53:43 +00:00
|
|
|
function collectGarbage(ctx: Ctx): Cmd {
|
|
|
|
return async () => { ctx.client.sendRequest<null>('rust-analyzer/collectGarbage', null) }
|
|
|
|
}
|
|
|
|
|
2018-10-08 18:18:55 +00:00
|
|
|
export {
|
2019-01-22 21:15:03 +00:00
|
|
|
analyzerStatus,
|
2019-11-17 18:47:50 +00:00
|
|
|
expandMacro,
|
2018-10-08 18:18:55 +00:00
|
|
|
joinLines,
|
|
|
|
matchingBrace,
|
|
|
|
parentModule,
|
|
|
|
runnables,
|
2018-10-09 13:00:20 +00:00
|
|
|
syntaxTree,
|
2019-07-23 13:38:21 +00:00
|
|
|
onEnter,
|
2019-12-09 18:57:55 +00:00
|
|
|
inlayHints,
|
2019-12-30 13:53:43 +00:00
|
|
|
collectGarbage
|
2018-10-08 18:18:55 +00:00
|
|
|
};
|