Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Snippet editor sorting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

evolution
Tomato Guru

USA
105 Posts

Posted - Aug 05 2014 :  5:35:17 PM  Show Profile  Reply with Quote
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

what could possibly go wrong? :D

Edited by - evolution on Aug 05 2014 6:41:57 PM

Dusan
Whole Tomato Software

Slovakia
177 Posts

Posted - Aug 06 2014 :  07:09:23 AM  Show Profile  Reply with Quote
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.
Go to Top of Page

evolution
Tomato Guru

USA
105 Posts

Posted - Aug 06 2014 :  4:33:46 PM  Show Profile  Reply with Quote
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!

what could possibly go wrong? :D

Edited by - evolution on Aug 06 2014 4:34:45 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19004 Posts

Posted - Aug 06 2014 :  11:23:22 PM  Show Profile  Reply with Quote
This is a fair point, I have put in a feature request to see what we can do about this:

case=84253

zen is the art of being at one with the two'ness
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19004 Posts

Posted - Aug 11 2014 :  9:55:39 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000