Add "go to type definition" action
This commit is contained in:
parent
a842016380
commit
5149c15329
10 changed files with 377 additions and 75 deletions
|
@ -274,6 +274,10 @@ pub fn menus() -> Vec<Menu<'static>> {
|
|||
name: "Go to Definition",
|
||||
action: Box::new(editor::GoToDefinition),
|
||||
},
|
||||
MenuItem::Action {
|
||||
name: "Go to Type Definition",
|
||||
action: Box::new(editor::GoToTypeDefinition),
|
||||
},
|
||||
MenuItem::Action {
|
||||
name: "Go to References",
|
||||
action: Box::new(editor::FindAllReferences),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue