T O P I C R E V I E W |
psteiner |
Posted - Jun 01 2011 : 1:37:38 PM Using Visual Assist X version 10.5.1724.0 with Visual Studio 2008 on Windows XP SP3
I am using VS2008 as an XML/XSLT editor. I would like to create VA snippets in a new "XSLT" snippet root.
I started by creating a sample XSLT snippet in the existing XML root in VA Snippet Editor:
a:apply-templates:atm: <xsl:apply-templates select="$Node$" mode="$Mode$"/>
Next, I created a new file for XSLT snippets as %APPDATA%\\VisualAssist\\Autotext\\xslt.tpl. I then copied and pasted the sample XSLT snippet and its termination character into xslt.tpl. I also copied the file to C:\\Program Files\\Visual Assist X\\AutoText\\xslt.tpl. Even after clearing the VA symbol cache and restarting VS, I did not see XSLT added to the list of snippet roots in the VA Snippet Editor.
Is there some other configuration change needed to add a new snippet root, or is this just not possible? If not, I will continue to use the XML root.
Thanks
Philip
*moved to the general release section by feline* |
4 L A T E S T R E P L I E S (Newest First) |
Nobodo |
Posted - Jun 03 2011 : 1:54:42 PM psteiner, for xml/xslt snippets you might want to check out the 'snippet designer' -- http://snippetdesigner.codeplex.com/ |
feline |
Posted - Jun 02 2011 : 09:01:21 AM Is VA working for you in your XSLT files? This is not an extension I recognise off hand. You can tell VA to treat a new file extension as a known and supported language, so that one of the current VA Snippet nodes will work for you, as explained here:
http://docs.wholetomato.com?W353 |
psteiner |
Posted - Jun 01 2011 : 4:35:41 PM OK, no problem, thanks for the speedy reply. I will add this to the VaX wish list.
Regards,
Philip |
accord |
Posted - Jun 01 2011 : 4:29:25 PM Sorry, but as far as I know, it isn't possible. |