Sublime Text Builds affected: 3126, 3139
To reproduce:
- Create any file that isnt
.html
- for example,foo.hbs
- Create a simple div tag with content. e.g.
<div>Blah Blah</div>
- In the menu bar, go to
Selection > Expand Selection to Tag
Expected result:
Blah Blah
gets highlighted
Actual result:
Cursor disappears and nothing is highlighted
Note: This feature does work for .html
files, just not any other file format. It was also working in a previous build (not sure which, but doesn’t work since I updated to 3126).
In front-end frameworks like Ember and React, having this feature available in .hbs
and .jsx
files would be ideal, since they use html elements/tags. I would expect it to work like Expand Selection to Quotes
, which works on all file formats.