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

New live templates for main methods
New live templates for main methods
Create an instance main method using a live template.
Live templates for simple IO
Live templates for simple IO
Add simple IO methods using live templates.
Inlay Hints
Inlay Hints
Inlay hints provide additional information about your code.