Join Lines

Join lines of code together in your IDE.

Place the caret on the line that you want to join with a lower line and press ⌃⇧J (macOS) / Ctrl+Shift+J (Windows/Linux), to join lines of code.


Related Resources

Convert Class to Record
Convert Class to Record
Use inspections to convert classes to Java 16 records.
Create New Class
Create New Class
Quickly add new classes to your project.
Extend Selection
Extend Selection
Extend and shrink your current code selection.