Add "go to type definition" action
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user