Sublime Forum

ST3 disable auto close of certain tags

#1

I use Sublime Text 3 for ColdFusion occasionally. I really like the auto close feature for most tags, but is it possible to disable the auto close for a specific tag?

For example,

<cfif><cfelse></cfelse></cfif> is invalid markup.

Valid markup for this example would be:

<cfif><cfelse></cfif> (because ColdFusion is weird like that…)

Is it possible to make ST3 ignore the tag so that Sublime doesn’t try to close it when I type “/” ?

0 Likes

#2

Unfortunately it’s not currently possible.

You can use: <cfelse/> rather than <cfelse> but that’s clearly not ideal

0 Likes