Sublime Forum

Close tag behaviour in ST2 and ST3

#1

Will this be fixed in ST3?

sublimetext.userecho.com/topic/1 … t-has-bug/

When using ALT+. in Sublime Text 2 (without plugins, default ST behaviour), it has a bug when using XSLT (Syntax XSL):

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/>
  <xsl:template match="">

Now press “ALT+.” it will close as </xsl:stylesheet> not </xsl:template>

When using “Syntax XML” it’s not wrong.

0 Likes