This is probably easy for most of you but I can't make this thing work. I have a snippet I want to use inside CSS file. This snippet just add a comment that I'm using as divider. Snippet is saved inside "User" folder. This is the code:
- Code: Select all
<!-- See http://www.sublimetext.com/docs/snippets for more information -->
<snippet>
<content><![CDATA[
/* ${1:Add comment title here}
---------------------------------------------*/
$0
]]></content>
<!-- Optional: Tab trigger to activate the snippet -->
<tabTrigger>csst</tabTrigger>
<!-- Optional: Description to show in the menu -->
<description>CSS comment title</description>
</snippet>
Now, this snippet works inside HTML file, and also works inside CSS file when I type "csst+tab" inside brackets like this: .test {csst+tab}. But, I actually need this to add comment outside class. How I can make this work?
Thanks!