Add reload workspace command

This commit is contained in:
Aleksey Kladov
2020-07-01 14:57:59 +02:00
parent ec8b4dca02
commit c9f878962a
7 changed files with 16 additions and 16 deletions

View File

@@ -14,12 +14,12 @@ impl Request for AnalyzerStatus {
const METHOD: &'static str = "rust-analyzer/analyzerStatus";
}
pub enum CollectGarbage {}
pub enum ReloadWorkspace {}
impl Request for CollectGarbage {
impl Request for ReloadWorkspace {
type Params = ();
type Result = ();
const METHOD: &'static str = "rust-analyzer/collectGarbage";
const METHOD: &'static str = "rust-analyzer/reloadWorkspace";
}
pub enum SyntaxTree {}