Edit a Document in IntelliJ IDEA LightEdit Mode

Use IntelliJ IDEA’s text editing features without creating or opening a dedicated project.

From your terminal, use idea followed by the name of the file you want to open. If you're using JetBrains Toolbox you can edit your script names by clicking the three vertical dots next to IntelliJ IDEA and selecting Settings | Configuration drop-down. You can change your Shell script name if required.

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.