mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
project model
This commit is contained in:
parent
7fad13de73
commit
80be61ed78
11 changed files with 251 additions and 78 deletions
|
@ -1,6 +1,7 @@
|
|||
use std::collections::HashMap;
|
||||
use languageserver_types::{TextDocumentIdentifier, Range, Url, Position, Location};
|
||||
use url_serde;
|
||||
use project_model::CargoWorkspace;
|
||||
|
||||
pub use languageserver_types::{
|
||||
request::*, notification::*,
|
||||
|
@ -167,3 +168,10 @@ pub enum FileSystemEdit {
|
|||
dst: Url,
|
||||
}
|
||||
}
|
||||
|
||||
pub enum DidReloadWorkspace {}
|
||||
|
||||
impl Notification for DidReloadWorkspace {
|
||||
const METHOD: &'static str = "m/didReloadWorkspace";
|
||||
type Params = Vec<CargoWorkspace>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue