I'm trying to make some snippets for C# but it behaves like I'm not editing the right files.
I made a if.sublime-snippet in C:\Documents and Settings\eric\Application Data\Sublime Text\Packages\C#\ as follows:
- Code: Select all
<!-- See http://www.sublimetext.com/docs/snippets for more information -->
<snippet>
<content><![CDATA[
if (${0:$SELECTION})
{
${1} // alala alala
}
${2}
]]></content>
</snippet>
And Default.sublime-keymap in the same dir is:
- Code: Select all
<binding key="i,f,tab" command="insertSnippet 'Packages/C#/if.sublime-snippet'">
<context name="selector" value="source.cs"/>
</binding>
the "// alala alala" test thing don't come when I call the snippet
Any one can help me please?
thanx in advance!