Author |
Topic |
|
.overlord.
New Member
3 Posts |
Posted - Apr 08 2005 : 11:15:02 AM
|
Great product, I think it would be nice if you could sort your header files in your .cpp files. for instance, it would be nice to take my jumbled
<iostream> "file/file.h" <cmath> "application/application.h"
let me highlight it and say "sort" and get
<cmath> <iostream>
"application/application.h" "file/file.h"
where the system <> includes go first, then the "" all alphabetized and ordered hierarchically
i think this might help organize what can become a jumbled mess |
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - Apr 08 2005 : 1:29:25 PM
|
VAX already does this (at least in VS.NET, don't know about VS 6). Right-click in the margin and choose "sort selected lines". (Also under VAX menu-Tools). |
Stephen Turner ClickTracks http://www.clicktracks.com/ Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
|
|
|
legion
Junior Member
Canada
12 Posts |
Posted - Apr 08 2005 : 1:49:06 PM
|
How very odd, when I do that on the example given, I get
#include "file/file.h" #include <cmath> #include <iostream> #include "application/application.h"
How exactly does it figure out what to sort it by? |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - Apr 09 2005 : 04:07:05 AM
|
Hmmm, it works for me. You did select the lines first, did you? Are there any differences in the amount of white space on the various lines? |
Stephen Turner ClickTracks http://www.clicktracks.com/ Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
|
|
|
legion
Junior Member
Canada
12 Posts |
Posted - Apr 09 2005 : 09:49:00 AM
|
hmmm, how odd. If I highlight the text from top to bottom, the sorting works just fine. But if I highlight from bottom to top, then it does what I said previously. However, once it's sorted correctly, either way makes no difference and it stays as it is. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Apr 09 2005 : 11:02:45 AM
|
If you select from bottom to top and select only a portion of the top line, the top line is not sorted. Otherwise, selecting in either direction appears to work fine.
If you don't have a recent build, reinstall to make sure you have all the bug fixes. |
|
|
.overlord.
New Member
3 Posts |
Posted - Apr 13 2005 : 12:02:37 PM
|
very very cool,
thanks
|
|
|
|
Topic |
|