Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / April 2004

Tip: Looking for answers? Try searching our database.

Sorting Files in Solution Explorer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris - 21 Apr 2004 18:20 GMT
How can one sort the files in the solution explorer by
name?
VC++ 6.0 did this automatically, but VS7.1 keeps them in
the order added.

I've been reading through documentation and searching
online, but I haven't succeded in finding such a feature..
Maybe someone has written a macro to do it?

Thanks,
Chris
Kyle Alons - 21 Apr 2004 22:16 GMT
My experience has been that for C# projects, the files are always sorted,
and for C++ projects they are inserted at the end but sorted when the
solution is closed and reopened.

Signature

---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.kinook.com

> How can one sort the files in the solution explorer by
> name?
[quoted text clipped - 7 lines]
> Thanks,
> Chris
Andrew McDonald - 22 Apr 2004 00:36 GMT
I also find that files are added to the bottom of folders in a C++ project, but the list is resorted
when the project is next opened so it doesn't matter.

On a related note, does anyone know how to change the ordering of files vs. folders? In VC 6 folders
always came at the top, just like in Windows Explorer. Now with VC 7 they come at the bottom! Seems
like a totally arbitrary change!

Andrew

> My experience has been that for C# projects, the files are always sorted,
> and for C++ projects they are inserted at the end but sorted when the
[quoted text clipped - 11 lines]
> > Thanks,
> > Chris
Chris - 24 Apr 2004 14:21 GMT
Thanks for the replies guys
It seems to sort on reload, it just felt strange they didn't include the feature as a user triggered event when it's already in there

To Andrew
My folders are always at the top (C++ projects in VS.Net 2003). Is it VS.Net 2002 you have (VS7)?
Andrew McDonald - 25 Apr 2004 14:30 GMT
No, 2003 - this happens on all machines I've seen.

Andrew

> Thanks for the replies guys.
> It seems to sort on reload, it just felt strange they didn't include the feature as a user triggered event when it's already in there.
>
> To Andrew:
> My folders are always at the top (C++ projects in VS.Net 2003). Is it VS.Net 2002 you have (VS7)?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.