This Eclipse plugin adds sorting to the Edit menu. You can sort case sensitively, case insensitively, numerically, and reverse the selected text. The numerical sort assumes that the first set of characters on each line is a number and sorts accordingly.
Installing and Using Sort It
The best way to install the plugin is using the update site: http://www.stateofflow.com/UpdateSite/
Enable the plugin by customising your perspective and adding the actions under the following menu path: Window | Customize Perspective | Commands and checking the Sort It check box in the left most column.
To sort lines of text, select them, and select the appropriate sort from the Sort It menu item under th edit menu or popup menu. If you don’t select any lines then the sort will be performed on the entire file
CTRL+SHIFT+F will perform a case sensitive sort.
You can add your own key bindings in the Edit category.
… then Rate It!
Bugs and History
Please report any bugs you find to channingwalton [the at thing] mac.com
- 1.4.0 SortIt context menu added to compilation unit editors.
- 1.3.2 Fixed a bug: if two text editors are open, and a sort has been performed on one, the cursor placed in the second and the edit menu used to sort the second editor, the contents of the first editor were sorted.
- 1.3.1 Numeric Sort now supports scientific notation and floats as well as integers. Line endings match whatever the file being sorted is using. Finally added unit tests – the shame became too much!
- 1.3.0 Fixed a bug. Added support to sort whole file if no lines are selected. Added KeyBinding CTRL+SHIFT+F that does a caxe sensitive sort