Navigation in source code
Function | Shortcut | Use this shortcut to... |
---|---|---|
File Structure Popup | Control+F12 | Display the Structure popup for quick navigation through the current file. |
Select target | Alt+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. |
Recent Files | Control+E | Show the list of recently opened files. |
Recently Changed Files | Show the list of recently updated files. | |
Type Hierarchy | Control+H | Browse hierarchy for the selected class. |
Navigate to Class | Control+N | Navigate directly to a class in project by specifying its name in a popup. |
Navigate to File | Control+Shift+N | Navigate directly to a file in project by specifying its name in a popup. |
Navigate to Recently Opened File | Control+E | Show the list of recently opened files. |
Navigate to Line | Control+G | Navigate to any line in the current file by specifying its number. |
Navigate to Declaration | Control+B | Navigate to declaration of a symbol at caret. |
Navigate to Implementation | Control+Alt+B | Navigate to implementation of the item at caret. |
Navigate to Type Declaration | Control+Shift+B | Navigate to a type declaration of a symbol at caret, the symbol being a variable or a method call. |
Navigate to Super Method | Control+U | Navigate to a super method declaration of a method under the caret. |
Navigate to Test/Test Subject | Control+Shift+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 | Control+Alt+Home | Navigate between files with complicated relationships between them. |
Go to Header/Source | F10 | Switch between source and header files. |
Navigate to Next Method | Alt+ArrowDown | Navigate to the next method declaration in the active editor tab. |
Navigate to Previous Method | Alt+ArrowUp | Navigate to the previous method declaration in the active editor tab. |
Navigate to Opening Brace | Control+[ | Navigate to the start of the current code block. |
Navigate to Closing Brace | Control+] | Navigate to the end of the current code block. |
Back | Control+Alt+ArrowLeft | Undo last navigation operation. |
Forward | Control+Alt+ArrowRight | Redo last undone navigation operation. |
Navigate to Previous Occurrence | Control+Alt+ArrowUp | Navigate to a previous found item. |
Navigate to Next Occurrence | Control+Alt+ArrowDown | Navigate to a next found item. |
Last Edit Location | Control+Shift+Backspace | 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 | Shift+F2 | Navigate to the previous found error/warning. |