Sublime Forum

[Bug ST3] Alt + . for tag-completion is not working correct

#1

This bug is in SublimeText 2 too.

  1. Create a XSLT file
  2. Past this inside:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">

  <xsl:template match="">

</xsl:stylesheet>
  1. Move the cursor after the xsl:template tag and press ALT + .
  2. Result:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">

  <xsl:template match="">
  </xsl:stylesheet>

</xsl:stylesheet>
0 Likes

#2

http://sublimetext.userecho.com/topic/109745-close-tag-does-not-work-with-xslts-xsltemplate/

Should this go to https://github.com/SublimeTextIssues/Core/issues or https://github.com/SublimeTextIssues/DefaultPackages/issues?

0 Likes

#3

[quote]Should this go to github.com/SublimeTextIssues/De … ges/issues?
[/quote]

tricky question, in theory should go in github.com/SublimeTextIssues/De … ges/issues ; but the code related to “autoclosing tags” is hdiden somwhere in core, so I guess should be filled on core…

btw, you can install “Tag” package, and it will work as expected.

0 Likes