vscode-expand-region icon indicating copy to clipboard operation
vscode-expand-region copied to clipboard

Add support for template engines (hbs, pug, jade, etc)

Open mrhammadasif opened this issue 8 years ago • 1 comments

They are similar to html so, I think you just have to copy the rules for the as well.

I am using Handlebars Right now but it is behaving bad. It selects a word and then on next step it selects whole template file.

mrhammadasif avatar Nov 10 '17 18:11 mrhammadasif

Same for HTML embedded in Markdown e.g. when using Jekyll.

I verified that switching file syntax coloring to HTML on the Markdown file enables expand to work properly (stopping between tags), but then syntax coloring is terrible. Whereas in Markdown mode it will select the whole line, not stopping at tags (e.g. in <div>my text</div>, select just text, then the whole line including tags).

In an HTML file in Liquid syntax mode, it expands surprisingly well though.

hsandt avatar Mar 17 '25 19:03 hsandt