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

Clean Up Messy Imports With Optimize Imports
Clean Up Messy Imports With Optimize Imports
Quickly remove any unused imports and more.
Generate documentation with AI
Generate documentation with AI
AI can help you make XML documentation both automatic and useful.
Add console.log Faster
Add console.log Faster
Use Postfix Completion to quickly add console.log.