Home Download Buy Blog Forum Support

Snippet not working

Snippet not working

Postby andydesigns on Fri Dec 23, 2011 11:56 am

Hi all,

This is my first attempt at creating a snippet but its not working, what am I doing wrong?:

Code: Select all
Hello, ${1:this} is a ${2:snippet}.
   <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
   <!-- <tabTrigger>hello</tabTrigger> -->
   <!-- Optional: Set a scope to limit where the snippet will trigger -->
   <!-- <scope>source.python</scope> -->

      <![CDATA[<img src="images/soccertots.jpg" alt="Soccer Tots"  width="101" height="99" id="soccertots_pic"/>]]>
   <description>Inserts Soccer Tots Logo code</description>

Posts: 4
Joined: Fri Dec 23, 2011 11:54 am

Re: Snippet not working

Postby jps on Fri Dec 23, 2011 10:15 pm

You appear to have two snippets in a single file
Site Admin
Posts: 3217
Joined: Wed Mar 19, 2008 12:33 pm

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 17 guests