IntelliJ Usage: Difference between revisions
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
Double Shift | Double Shift | ||
=Find by Name= | |||
==Find a Class by Name== | |||
Ctrl+N | |||
==Find a File by Name== | |||
Ctrl+Shift+N | |||
=IntelliJ on Mac= | =IntelliJ on Mac= |
Revision as of 17:49, 2 August 2019
Internal
Folding and Expanding Code Blocks
https://www.jetbrains.com/idea/help/folding-and-expanding-code-blocks.html
To collapse all code blocks in the selected area, or in the current file if no area is selected: ⇧ Shift - ⌘ Command - Minus (-)
Display Maven Dependencies
Maven Project Tab -> Right click on the module in question -> Show Dependencies (Popup)
Refactoring
Optimize Imports on the Fly
Preferences -> Editor -> General -> Auto Import -> Optimize imports on the fly
This option activates unused import detection and their automatic removal when the file is edited.
Search Everywhere
Double Shift
Find by Name
Find a Class by Name
Ctrl+N
Find a File by Name
Ctrl+Shift+N
IntelliJ on Mac
Show Hidden Files and Directories on Mac
Delegate to native Mac functionality when in the Finder window: use Command + Shift + Period.
More details:
Alternatively, Command - Shift - G is supposed to go to any directory, but it does not seem to work.