I was trying to sort a list of constants and noticed that :sort
is still needed.
Yet another awesome feature I didn't know existed :)
Seconded. Could really use it right now!
+1. My organization uses strict StyleCop rules (grumble, grumble). Resharper doesn't seem to add using
directives in the order StyleCop wants. It would be nice to just :sort
them.
Bumping with a link to the docs:
http://vimdoc.sourceforge.net/htmldoc/change.html#:sort
ran into the same situation, would be nice to have :sort
.
Also bumping in hopes this could get prioritized at some point, this request is over 5 years old!
Does closed mean "Will not implement"?
I still would love to see this feature
One work-around is to add GVim to the "Open with..." menu. Quickly open the file you are working on in vim, sort, return to VS. VS should prompt to reload due to the file being changed externally.
@funonly this issue is still active. There was a duplicate of this issue closed but the main issue is still active.
FYI, I'm working on the issue. I have sorting with or without reverse ordering and the ignore case sort option ([i]
) working. I'll submit a PR when I get a little bit further. The full vim sort command is remarkably rich and I don't know if I have the stamina to implement all of the variants.
@ricksladkey I would be excited to see even a basic version of this implemented.
@Kazark Got the whole thing working, I think!
Most helpful comment
Also bumping in hopes this could get prioritized at some point, this request is over 5 years old!