Add go to implementation shortcut (#9837)
This adds a keybinding for an existing action. Notably, our bindings for `Go To Type Definition` and `Go To Implementation` are swapped from VSCode. We use `cmd` and `shift`, they use `shift` and `cmd`. Release Notes: - Added a keybinding for `editor::GoToImplementation`
This commit is contained in:
parent
40f60ebe2d
commit
8583c3bd94
2 changed files with 3 additions and 1 deletions
|
@ -74,7 +74,7 @@
|
||||||
// "cmd-left": "editor::MoveToBeginningOfLine",
|
// "cmd-left": "editor::MoveToBeginningOfLine",
|
||||||
// "ctrl-a": "editor::MoveToBeginningOfLine",
|
// "ctrl-a": "editor::MoveToBeginningOfLine",
|
||||||
// "cmd-right": "editor::MoveToEndOfLine",
|
// "cmd-right": "editor::MoveToEndOfLine",
|
||||||
// "ctrl-e": "editor::MoveToEndOfLine",
|
// "ctrl-e": "editor::MoveToEndOfLine",
|
||||||
"ctrl-home": "editor::MoveToBeginning",
|
"ctrl-home": "editor::MoveToBeginning",
|
||||||
"ctrl-end": "editor::MoveToEnd",
|
"ctrl-end": "editor::MoveToEnd",
|
||||||
"shift-up": "editor::SelectUp",
|
"shift-up": "editor::SelectUp",
|
||||||
|
@ -345,6 +345,7 @@
|
||||||
"f12": "editor::GoToDefinition",
|
"f12": "editor::GoToDefinition",
|
||||||
"alt-f12": "editor::GoToDefinitionSplit",
|
"alt-f12": "editor::GoToDefinitionSplit",
|
||||||
"ctrl-f12": "editor::GoToTypeDefinition",
|
"ctrl-f12": "editor::GoToTypeDefinition",
|
||||||
|
"shift-f12": "editor::GoToImplementation",
|
||||||
"alt-ctrl-f12": "editor::GoToTypeDefinitionSplit",
|
"alt-ctrl-f12": "editor::GoToTypeDefinitionSplit",
|
||||||
"alt-shift-f12": "editor::FindAllReferences",
|
"alt-shift-f12": "editor::FindAllReferences",
|
||||||
"ctrl-m": "editor::MoveToEnclosingBracket",
|
"ctrl-m": "editor::MoveToEnclosingBracket",
|
||||||
|
|
|
@ -366,6 +366,7 @@
|
||||||
"f12": "editor::GoToDefinition",
|
"f12": "editor::GoToDefinition",
|
||||||
"alt-f12": "editor::GoToDefinitionSplit",
|
"alt-f12": "editor::GoToDefinitionSplit",
|
||||||
"cmd-f12": "editor::GoToTypeDefinition",
|
"cmd-f12": "editor::GoToTypeDefinition",
|
||||||
|
"shift-f12": "editor::GoToImplementation",
|
||||||
"alt-cmd-f12": "editor::GoToTypeDefinitionSplit",
|
"alt-cmd-f12": "editor::GoToTypeDefinitionSplit",
|
||||||
"alt-shift-f12": "editor::FindAllReferences",
|
"alt-shift-f12": "editor::FindAllReferences",
|
||||||
"ctrl-m": "editor::MoveToEnclosingBracket",
|
"ctrl-m": "editor::MoveToEnclosingBracket",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue