Quickly Sort Lines

Sort lines of code in your editor alphabetically.

To quickly sort lines alphabetically, select them in the editor and choose Edit | Sort Lines from the main menu. Alternatively, you can run this action using the Find Action command ⌘⇧A (macOS) / Ctrl+Shift+A (Windows/Linux).


Related Resources

Convert Class to Record
Convert Class to Record
Use inspections to convert classes to Java 16 records.
Evaluate JSON Path Expressions
Evaluate JSON Path Expressions
Use IntelliJ IDEA to check if your JSON Path expression are correct.
Create New Class
Create New Class
Quickly add new classes to your project.