Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Snippets not working for JavaScript in vs2013

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
Juxta Posted - Nov 12 2013 : 5:59:23 PM
vs2010 it works fine.
When you type the shortcut, you still get the suggestion, but when you accept, you only get the first word of the snippet.
example:
If i type "fun" for the snippet "function $end$() {}"
I will only get "function" inserted.












5   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Nov 22 2013 : 9:15:45 PM
Have you enabled VA for additional file types with the registry key modification?

As far as I know js snippets are offered in script blocks within html and asp files. To insert a VA snippet you can press its toolbar icon.
Juxta Posted - Nov 21 2013 : 6:31:35 PM
Thanks but I already have this implemented.

This is vs2013
I dont see the same context menu as in your screenshots.
May this is not yet implemented?
I would also like to acknowledge that those are indeed vs snippets. They behave differently and you need to tab through these to get them to work.
They do almost as good a job so that makes me a bit happier but im sure Whole Tomato could to it better
accord Posted - Nov 21 2013 : 5:30:52 PM
I saw VA javascript snippets on your screenshot so I thought everything is normal and this is just a misunderstanding.
But you may need to do the following:
http://docs.wholetomato.com?W326

Does this help?
Juxta Posted - Nov 21 2013 : 5:11:38 PM
So VA snippets dont work either in 2013. Seems as though things are getting worse. I had to hack registry settings just to get VA to work at all on JS file.
Is there a way to get this working?
accord Posted - Nov 12 2013 : 10:30:50 PM
What you are seeing is a Visual Studio snippet. Visual Assist snippets have a different icon:



js snippets are offered in script blocks within html and asp files. To insert a VA snippet you can press its toolbar icon:


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