Add command for manually running flychecks

This commit is contained in:
Lukas Wirth 2022-12-16 22:43:14 +01:00
parent ba3e3282da
commit a04feb915a
7 changed files with 133 additions and 80 deletions

View file

@ -81,6 +81,10 @@ export const relatedTests = new lc.RequestType<lc.TextDocumentPositionParams, Te
export const cancelFlycheck = new lc.RequestType0<void, void>("rust-analyzer/cancelFlycheck");
export const runFlycheck = new lc.NotificationType<{
textDocument: lc.TextDocumentIdentifier | null;
}>("rust-analyzer/runFlycheck");
// Experimental extensions
export interface SsrParams {