Adds a SortSelection command to the tools menu. The command can also be bound to a hotkey (my favorite is Ctrl+S, Ctrl+S) or placed on a toolbar. There is a popular macro in the community that allows to sort some lines of text alphabetically. Unfortunately, MS dropped the macro support in VS 2012. As there are only extensions with costs around, that do the trick (at least to my knowledge), I hacked together my own extension, that does this, and only this, and I contribute it herewith to the community. Select the lines of code you want to be sorted. Execute the Tools.SortSelection command and the selected lines will be sorted alphabetically. The extension is provided AS IS. No guarantees. |