Merge pull request #2128 from zed-industries/feedback/922-unify-find-all-references-label

Make app menu and context menu labels consistent
This commit is contained in:
Kay Simmons 2023-02-03 10:29:43 -08:00 committed by GitHub
commit 8be9d21340
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -52,8 +52,8 @@ pub fn deploy_context_menu(
AnchorCorner::TopLeft,
vec![
ContextMenuItem::item("Rename Symbol", Rename),
ContextMenuItem::item("Go To Definition", GoToDefinition),
ContextMenuItem::item("Go To Type Definition", GoToTypeDefinition),
ContextMenuItem::item("Go to Definition", GoToDefinition),
ContextMenuItem::item("Go to Type Definition", GoToTypeDefinition),
ContextMenuItem::item("Find All References", FindAllReferences),
ContextMenuItem::item(
"Code Actions",

View file

@ -293,7 +293,7 @@ pub fn menus() -> Vec<Menu<'static>> {
action: Box::new(editor::GoToTypeDefinition),
},
MenuItem::Action {
name: "Go to References",
name: "Find All References",
action: Box::new(editor::FindAllReferences),
},
MenuItem::Action {