Create New Class

Quickly add new classes to your project

Press ⌘1 (macOS) / Alt+1 (Windows/Linux), to open the Project Window and then use ⌘N (macOS) / Alt+Insert (Windows/Linux), to generate a new file.

These same shortcuts will help you in many places where you need to generate code, such as constructors, getters and setters, toString methods and adding arguments to methods when you need to refactor.

Related Resources

Expand and Collapse Code
Quickly view specific parts of a class by expanding or collapsing code
Move Statement
Move a statement up or down
Optimize imports
Remove unused imports from your code