IntelliJ Usage: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:


Maven Project Tab -> Right click on the module in question -> Show Dependencies (Popup)
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.

Revision as of 19:45, 16 August 2017

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.