Skip to content

Commit

Permalink
add keymap for type hierarchy
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Zhang <[email protected]>
  • Loading branch information
Eskibear authored and kasecato committed Jun 10, 2021
1 parent 54f0667 commit 805e34d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ ctrl+] | cmd+] | Move to code block end | N/A
ctrl+[ | cmd+[ | Move to code block start | N/A
alt+7 | cmd+7 | Structure | ✅
ctrl+f12 | cmd+f12 | File structure popup | ✅
ctrl+h | ctrl+h | Type hierarchy | N/A
ctrl+h | ctrl+h | Type hierarchy |
ctrl+shift+h | cmd+shift+h | Method hierarchy | N/A
ctrl+alt+h | ctrl+alt+h | Call hierarchy | ✅
f2 | f2 | Next highlighted error | ✅
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,13 @@
"when": "editorHasCallHierarchyProvider",
"intellij": "Call hierarchy"
},
{
"key": "ctrl+h",
"mac": "ctrl+h",
"command": "java.action.showTypeHierarchy",
"when": "editorTextFocus",
"intellij": "Type hierarchy"
},
{
"key": "f2",
"command": "-editor.action.rename",
Expand Down
7 changes: 2 additions & 5 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -1091,16 +1091,13 @@
"when": "editorTextFocus",
"intellij": "File structure popup"
},
/*
{
"key": "ctrl+h",
"mac": "ctrl+h",
"command": "",
"command": "java.action.showTypeHierarchy",
"when": "editorTextFocus",
"intellij": "Type hierarchy",
"todo": "N/A"
"intellij": "Type hierarchy"
},
*/
/*
{
"key": "ctrl+shift+h",
Expand Down

0 comments on commit 805e34d

Please sign in to comment.