If I use the snippet
- Code: Select all
<snippet>
<content><![CDATA[ ${0:f} :: $1
${0:f} $2 = $3]]></content>
</snippet>
everything works correctly. However, I don't want the space in front of the function name, so I remove it:
- Code: Select all
<content><![CDATA[${0:f} :: $1
When I now insert the macro everything still seems to work, but after changing the function name and pressing tab a tab character is inserted instead of jumping to the next insertion point. As long as any other character precedes the snippet it works correctly. This also happens to be the case in all the other predefined snippets (if, while, class, etc.). Is there a workaround for this or is it a bug that has to be fixed?