Navigation In Source Code
Function | Shortcut | Use this shortcut to... |
---|---|---|
File Structure Pop-up | ⌃F12 | Display the Structure pop-up window for quick navigation through the current file. |
Select target | ⌥F1 | Move focus from the current file, class, method or reference to a data source table to a view suggested in the Select Target pop-up menu. See Navigating Between IDE Components. |
Recent Files | ⌃E | Show the list of recently opened files. |
Recently Changed Files | ⌃⇧E | Show the list of recently updated files. |
Type Hierarchy | ⌃H | Browse hierarchy for the selected class. |
Method Hierarchy | ⌃⇧H | Browse hierarchy for the selected method . |
Call Hierarchy | ⌃⌥H | Browse call hierarchy for the selected method. |
Navigate to Class | ⌃N | Navigate directly to a class in project by specifying its name in a pop-up dialog box. |
Navigate to File | ⌃⇧N | Navigate directly to a file in project by specifying its name in a pop-up dialog box. |
Navigate to Recently Opened File | ⌃E | Show the list of recently opened files. |
Navigate to Recently Changed File | ⌃⇧E | Show the list of recently updated files. |
Navigate to Line | ⌃G | Navigate to any line in the current file by specifying its number. |
Navigate to Declaration | ⌃B | Navigate to declaration of a symbol at caret. |
Navigate to Implementation | ⌃⌥B | Navigate to implementation of the item at caret. |
Navigate to Type Declaration | ⌃⇧B | Navigate to a type declaration of a symbol at caret, the symbol being a variable or a method call. |
Navigate to Super Method | ⌃U | Navigate to a super method declaration of a method under the caret. |
Navigate to Test/Test Subject | ⌃⇧T | Navigate to a test for the class at caret, if any, or navigate from a test to a test subject. |
Navigate to Related Symbol | ⌃⌥↖ | Navigate between files with complicated relationships between them. |
Navigate to Next Method | ⌥↓ | Navigate to the next method declaration in the active editor tab. |
Navigate to Previous Method | ⌥↑ | Navigate to the previous method declaration in the active editor tab. |
Navigate to Opening Brace | ⌃[ | Navigate to the start of the current code block. |
Navigate to Closing Brace | ⌃] | Navigate to the end of the current code block. |
Back | ⌃⌥← | Undo last navigation operation. |
Forward | ⌃⌥→ | Redo last undone navigation operation. |
Navigate to Previous Occurrence | ⌃⌥↑ | Navigate to a previous found item. |
Navigate to Next Occurrence | ⌃⌥↓ | Navigate to a next found item. |
Last Edit Location | ⌃⇧⌫ | Move through the most recent change points. |
Navigate to Next Highlighted Error | F2 | Navigate to the next found error/warning. |
Navigate to Previous Highlighted Error | ⇧F2 | Navigate to the previous found error/warning. |
See Also
Last modified: 5 December 2016