Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Snippet editor sorting

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
evolution Posted - Aug 05 2014 : 5:35:17 PM
2 questions about the snippet editor in VS2010 SP1 (and if it matters, am using C++ only)

1. Since the introduction of the new snippet editor, it seems like snippets are now alphabetically sorted when you open the snippet editor. If I close all instances of VS, and use a text editor to manually move the snippet in question back to the location I want, it will stay at that location (e.g. in "Surround With" menus) until I reopen the snippet editor. Is there a way to disable this auto-sorting of snippets?

2. With the new snippet editor, I no longer seem to be able to drag-n-drop snippets within a single language. Is that a bug or a feature? If it's a feature, is there a way to re-enable it?

(Apologies if this question has been asked / answered. I searched the forums but wasn't able to find any relevant posts)

Using 10.8.2043.0, built 2014.07.10
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 11 2014 : 9:55:39 PM
Thinking about this a bit more, are you looking for a lot of control over the ordering of the items in the menu, or are you mainly interested in just making sure a couple of items are in specific positions, presumably the top and bottom of the menu, since these are the most easily accessed spots with the keyboard.

Its just that if you are still using the new editor, and mainly want to move just a couple of specific items, you could do this by putting a prefix on their names, just to make sure they appear at the top or bottom of the alphabetical list.
feline Posted - Aug 06 2014 : 11:23:22 PM
This is a fair point, I have put in a feature request to see what we can do about this:

case=84253
evolution Posted - Aug 06 2014 : 4:33:46 PM
1. Ouch...OK. I hope we will see that feature re-added (or more specifically, a way to control the order the snippets appear in the menus). I really like the new editor....but forcing the snippets to be alphabetized seems a bit arbitrary. I will try the workaround you suggested, but switching to an entirely different editor so that the order of snippets in the menu doesn't change seems kind of heavy-handed (for what it's worth).

Thanks for the help!
Dusan Posted - Aug 06 2014 : 07:09:23 AM
1.) There is no way to disable auto-sorting in new VA Snippet Editor.
2.) It is by design and there is no way for user to re-enable it.

However, if you want to use old VA Snippet Editor in new IDEs,
delete or rename a VATE2.DLL in the VA installation directory: http://docs.wholetomato.com/default.asp?W105.

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