Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Sort lines to up or downNew to Visual Studio Code? Get it now.
Sort lines to up or down

Sort lines to up or down

Jesus Escamilla

|
665 installs
| (0) | Free
Sort declaration or import lines to up or down
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

updownreordering

Sort your lines up to down or vice versa as you want.

Very useful for import or declaration lines where you don't want a cardiogram, so keep a pretty and clean code.

Features

  • Ordering Up to Down.
  • Ordering Down to Up.

You can use Order Down or Order Up commands from Status bar as shown below:

alt text

Release Notes

This release make a review of the code and solve one issue (extra line added at end of selection).

1.0.1

Fixed the issue that blocked the sorting buttons when changing editor window.

1.0.0

Solved extra line issue.

0.0.1

Ordering works.

Next Release

New logic for better sorting depending of selection type and improvement of extension ui/ux.

Contributing

All Pull Requests are welcome.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft