CR_SortLines - Sort Lines in Visual Studio Code Editor via DXCore

UPDATE: CR_SortLines has found a new home with the DXCore Community Plugins project. Head over there to get the latest and read more!

 

Just like I use the "Join Lines" function a lot, I also sort lines a lot in text editing. That's another feature Visual Studio didn't have that I wanted - the ability to sort lines.

CR_SortLines adds a command ("Sort Lines") that you can bind to a keyboard shortcut (Ctrl+F9 is what I use) and will sort lines in the code editor.

CR_SortLines in action

Installation is as easy as copying a DLL into a folder and adding the keyboard shortcut. The included readme.txt outlines installation, usage, and workarounds for known issues.

Requires DXCore 1.1.40 or later (DXCore is a FREE download from Developer Express - go get it!).

UPDATE: CR_SortLines has found a new home with the DXCore Community Plugins project. Head over there to get the latest and read more!


Download CR_SortLines 1.0.0.0906

Version History:
1.0.0.0906: First release.

Print | posted @ Tuesday, September 06, 2005 5:51 PM

Comments on this entry:

Gravatar # JayFlowers > My Favorite DXCore Plugins
by jayflowers.com at 2/19/2007 9:07 PM

Gravatar # re: CR_SortLines - Sort Lines in Visual Studio Code Editor via DXCore
by Jonathan at 10/23/2007 4:58 PM

Your sort routine should first ignore the final semicolon before sorting. The "using System;" above should be first, not last, IMHO.

What is the REGEX to do this?

Your comment:

Title:
Name:
Email:
Website:
 
Italic Underline Blockquote Hyperlink
 
 
Please add 2 and 5 and type the answer here: