Wiki

Case Status
Log In

Wiki

 
Whole Tomato Software - Home
  • RSS Feed

Sort Selected Lines

Sort multiple lines of source in-place.

After making a selection, choose Sort Selected Lines from VAssistX | Tools (Alt+X, T, S or in VS2019 Alt+X, X, T, S).

A dialog opens in which you specify preferences for the sort.

As with all dialogs in Visual Assist, you can navigate the dialog with keyboard or mouse.

Behavior

If you sort a list whose lines terminate with commas and a semicolon, be sure to reposition the semicolon after the sort.

If the last line of your selection is partially selected, the line is included in a sort. If that line terminates at EOF, an extra EOL in inserted at EOF.

Registry Settings

Value Name Meaning
EnableSortLinesPrompt Hide dialog for Sort Selected Lines