Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Sorting selected source

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Old as dirt Posted - Oct 23 2012 : 08:46:25 AM
How do you highlight a section of code and then sort it?
This is only useful for a bunch of variables or the list of functions in a header file. I thought you could highlight a section of code and left click in the left margin or something and a popup would have a sort option.
I have changed computers and moved to Windows 7 since I remember doing that.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Oct 23 2012 : 2:37:38 PM
If you used to use VS2008 or earlier you might be remembering VA's Shift + Right click menu, which included the option to sort the selected lines. This menu is not available in VS2010 and above.

You could map a keyboard shortcut to the command VAssistX.SortSelectedLines or place a toolbar button for this onto your VA toolbar if you wanted easier access.
Old as dirt Posted - Oct 23 2012 : 10:01:22 AM
Thanks. I guess no more than I need it that is easy enough.
rhummer Posted - Oct 23 2012 : 09:08:33 AM
You can go to VAssistX -> Tools -> Sort Selected Lines

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000