Remove rust-analyzer/addProject in favor of notifying r-a that configuration has changed

This commit is contained in:
David Barsky 2023-03-13 13:17:17 -04:00
parent 8d9bff0c74
commit 56273b3cf5
7 changed files with 8 additions and 65 deletions

View file

@ -43,9 +43,6 @@ export const relatedTests = new lc.RequestType<lc.TextDocumentPositionParams, Te
"rust-analyzer/relatedTests"
);
export const reloadWorkspace = new lc.RequestType0<null, void>("rust-analyzer/reloadWorkspace");
export const addProject = new lc.RequestType<AddProjectParams, string, void>(
"rust-analyzer/addProject"
);
export const runFlycheck = new lc.NotificationType<{
textDocument: lc.TextDocumentIdentifier | null;
@ -72,8 +69,6 @@ export const viewItemTree = new lc.RequestType<ViewItemTreeParams, string, void>
export type AnalyzerStatusParams = { textDocument?: lc.TextDocumentIdentifier };
export type AddProjectParams = { project: JsonProject[] };
export type ExpandMacroParams = {
textDocument: lc.TextDocumentIdentifier;
position: lc.Position;