|
OriginalGriff wrote: and lines
I hope it has the ability to sort only the lines within a selection.
I added the ability to sort (all or selected) lines to my editor a few weeks ago; when you need it, you need it.
I used it a couple of times just yesterday.
|
|
|
|
|
It does indeed.
I know what you mean: I tend to copy'n'paste to PsPad and do sorting and suchlike there as it's quite a bit more powerful than the VS editor - though MS are catching up, very slowly.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Either it craps out with VS2012 (c++ project) or it does not play well with Visual Assist, but it freezes my VS2012 IDE ... so, uninstall...
I'd rather be phishing!
|
|
|
|
|
Maybe C++ , I had in installed with fax and often r# as well with no issues
Mike
|
|
|
|
|
I've used MZ-Tools for years. Code sorting is one of the many things it does. You can even sort by scope if you want. And it does sorting on selected code. It's not free though (unless you're coding in VB6!!). Worth the price, in my opinion.
Mike
|
|
|
|
|
Has anyone compared this to refactoring in ReSharper? Is it worth it to try if someone already has ReSharper installed?
It does seem pretty interesting...
I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone - Bjarne Stroustrup
The world is going to laugh at you anyway, might as well crack the 1st joke!
My code has no bugs, it runs exactly as it was written.
|
|
|
|
|
ReSharper's default sort behavior is alpha, and it jumbles up code elements. Example:
private Label cellLabel;
private Panel CheapGrid_Panel;
private List<Cell> ColumnCells;
private IContainer components;
public Cell CurrentCell;
private int currentRow, currentCol, lastRow, lastCol;
private bool FloatingEditEnabled;
private int left, top;
It also will move value fields (int, bool, etc.) so they precede a Form Load method, and put Properties after the Form Load method.
In fact, I submitted a suggestion to JetBrains about ten days ago that the default sort should group various types of .NET objects separately, and use at least a blank line to separate the groups.
ReSharper does expose a complex api that you could use to customize the sort order:
[^], however, I do not have time/motivation to become a ReSharper hacker.
ReSharper is an amazingly "deep" tool, and I could not imagine programming without it
cheers, Bill
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.
|
|
|
|
|
Looks cool. I was quite put out when I could no longer use ReSharper to sort methods in a class.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
No ones mentioned the best bit it's free ...
I have used it on and off for literally years it's been around at least 5
The one real goody is the file structure window - like r# and vac
It's worth a look it does all sorts of formatting and clean ups
Check out VS gallery it's in there
Mike
Mike
|
|
|
|
|
When developers are hungry, do they take mega-bites?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I'm not that hungry... So I'll maybe bite
|
|
|
|
|
Then you'll have a bit left over for me?
|
|
|
|
|
Leave me a nibble, please!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
At this rate it's starting to sound like baud jokes
"... having only that moment finished a vigorous game of Wiff-Waff and eaten a tartiflet." - Henry Minute
"Let's face it, after Monday and Tuesday, even the calendar says WTF!" - gavindon
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning. - gavindon
|
|
|
|
|
Quote: do they take mega-bites bytes?
FTFY
How do we preserve the wisdom men will need,
when their violent passions are spent?
- The Lost Horizon
|
|
|
|
|
Yes they do, resulting in an overflow condition.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
jeron1 wrote: "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle This is the first time I noticed your signature. He would definitely say that.
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
It's truly a classic line.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Yes, and developers use more RAM too.
|
|
|
|
|
Depends, maybe they just drink from a stream or nibble at the all you can eat buffer.
Marc
|
|
|
|
|
Marc Clifton wrote: all you can eat buffer.
"... having only that moment finished a vigorous game of Wiff-Waff and eaten a tartiflet." - Henry Minute
"Let's face it, after Monday and Tuesday, even the calendar says WTF!" - gavindon
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning. - gavindon
|
|
|
|
|
OriginalGriff wrote: When developers are hungry, do they take mega-bites?
yoddabytes! yada yada yada
"... having only that moment finished a vigorous game of Wiff-Waff and eaten a tartiflet." - Henry Minute
"Let's face it, after Monday and Tuesday, even the calendar says WTF!" - gavindon
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning. - gavindon
|
|
|
|
|
|
Or possibly yoghurt-bytes.
When it's been in the fridge rather too long...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
ROTGDMFFLMGDMFAO
You just had to bring up the fact that I'm Polish didn't you, you racist bastard?
Like we don't have enough problems already being dumb stupid pollacks and all...
"... having only that moment finished a vigorous game of Wiff-Waff and eaten a tartiflet." - Henry Minute
"Let's face it, after Monday and Tuesday, even the calendar says WTF!" - gavindon
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning. - gavindon
|
|
|
|