mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Add reload workspace command
This commit is contained in:
parent
ec8b4dca02
commit
c9f878962a
7 changed files with 16 additions and 16 deletions
|
@ -330,8 +330,8 @@ export function expandMacro(ctx: Ctx): Cmd {
|
|||
};
|
||||
}
|
||||
|
||||
export function collectGarbage(ctx: Ctx): Cmd {
|
||||
return async () => ctx.client.sendRequest(ra.collectGarbage, null);
|
||||
export function reloadWorkspace(ctx: Ctx): Cmd {
|
||||
return async () => ctx.client.sendRequest(ra.reloadWorkspace, null);
|
||||
}
|
||||
|
||||
export function showReferences(ctx: Ctx): Cmd {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue