⌘ + O (
ctrl + N for Win/Linux)
⌘ + ⇧ + O (
⇧ + ctrl + N for Win/Linux)
You can also look for paths (navigate to folders), if you start the search with a directory:
If you add a colon to the search, in order to go to an specific line in the file/class. I.e:
It’s very efficient because it allows you to search for symbols across the entire project
⌥ + ⌘ + O (
⇧ + Ctrl + Alt + N for Win/Linux)
You can also filter by namespace in order to get a significant amount of repeated symbols. I.e:
⇧ + ⇧
⌘ + E
⌘ + ⇧ + E
⌘ + ⇧ + ⌫
Invoking the navigation bar you will be able to navigate through the project folders and files
⌘ + ↑
Action to open the File Path menu. This menu shows the path from the file system root to the selected element with individual directories as the menu items.
When you select an item in this menu (e.g. a directory), a file browser (e.g. Windows Explorer or Finder) opens, and the selected item is shown there.
⌥ + ⌘ + F12
⌘ + `
⇧ + ⌘ + `
Action to perform a text search (the Find in Path dialog will open).
⇧ + ⌘ + f
Action to find the usages of the selected item. (The Find Usages dialog will open.)
⌥ + F7
Action to perform text search-and-replace. (the Replace in Path dialog will open.)
⇧ + ⌘ + r
Action to open the selected file in the editor. If the file is already open, the corresponding editor tab will become active.
⌘ + ↓
For a file (normally, a class): action to see the class hierarchy for the selected file (class). (The Hierarchy tool window will open.)
Very useful if you want to know more about the object you are working with.
⌃ + h
Now breadcrumbs work for Java, too, where instead of tags they let you navigate through classes, lambda expressions and methods:
This lets you keep track of your current position and navigate over enclosing classes, lambda expressions and methods.
Editor - General -> Appearance └── ✓ Show breadcrumbs
⌘ + ⇧ + t ⟹ Navigate to the
⌘ + [ ⟹ Navigate left
⌘ + ] ⟹ Navigate right
Navigating to Project Window with ⌘ + 1, you can go back to editor pressing
esc. Navigating through files
Project Window editor if you press intro the file will be opened, but if you press
⌘ + ↓ the cursor
will be placed in the editor this time.
⌘ + p ⟹ Navigate to the super method
⌘ + b⟹ Navigate to declaration of a method
⌥ + ⌘ + b ⟹ Navigate to implementations of a method
⇧ + ⌘ + h⟹ Navigate through the Method Hierarchy // NEED MORE INFO ON THIS
⌃ + ⌘ + h ⟹ Navigate through the Call Hierarchy // NEED MORE INFO ON THIS
⌃ + ↓ ⟹ move cursor down
f2⟹ Navigate to next highlighted error
⇧ + f2⟹ Navigate to previous highlighted error
Command ⌘ Shift ⇧ Option ⌥ Control ⌃ Caps Lock ⇪ Fn ← ↑ → ↓
⌘ ↵ ⇥ ⌫ ↓