How does one insert blank lines in a code template?
For example, the if/else template looks like this:
- Code: Select all
if (${condition}) {
${cursor}
} else {
}
and I edited the template and want the final result to look like this:
- Code: Select all
if (${condition})
{
${cursor}
}
else
{
}
but no matter what I try, it stays like the original. In fact, any code template I write, all my blank lines are ignored.
I'm beginning to think that the code templates are auto-formatted by the formatter when they are inserted, and since the formatter insists on keeping the "{" with the line and remove all blank lines (relates to my post on how you configure the javascript formatter), the template is ignored.
What am I doing wrong? Somebody bring me more coffee...