Skip to content

Commit

Permalink
Added "view method hierarchy" and "view call hierarchy" IntelliJ OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
davenicolette committed Jan 17, 2018
1 parent 8a2f074 commit 1117633
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 31 deletions.
67 changes: 38 additions & 29 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion ij-osx-go-to-superclass.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@

Kata for practicing keyboard shortcuts for common editing operations

### Kata: Go to superclass/supermethod
### Kata: Go to superclass/supermethod, view method hierarchy, view call hierarchy

**Key sequences to practice**

- ⌘U (Command + U) - go to the superclass/supermethod of the thing where the caret is positioned
- ⌘⇧⌫ (Command + Shift + Delete/Backspace) - go to the last edit location
- ⌘⇧H (Command + Shift + H) - view method hierarchy
- ⌃⌥H (Ctrl + Option + H) - view call hierarchy

**Walkthrough of steps with explanations**

1. Open the Java source file, MomSender.java.
1. Position the caret in the send() method.
1. Press ⌘U (Command + U) to go to the parent method in class Sender.java.
1. Press ⌘⇧⌫ (Command + Shift + Delete/Backspace) to go back to the point where you were in MomSender.java
1. Position the caret on any reference. Press ⌘⇧H (Command + Shift + H) to view the method hierarchy above the item where the caret is positioned.
1. Position the caret on any reference. Press ⌃⌥H (Ctrl + Option + H) to view call hierarchy above the item where the caret is positioned.


2 changes: 1 addition & 1 deletion ij-osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Kata for practicing keyboard shortcuts
- [Open/close files, navigate between editor tabs](ij-osx-editor-tabs.md)
- [Go to last edit location](ij-osx-go-to-last-edit-location.md)
- [Go to next/previous error](ij-osx-go-to-next-error.md)
- [Go to superclass/supermethod](ij-osx-go-to-superclass.md)
- [Go to superclass/supermethod, view method hierarcy, view call hierarchy](ij-osx-go-to-superclass.md)

**Editing**

Expand Down

0 comments on commit 1117633

Please sign in to comment.