language-tools
language-tools copied to clipboard
The Svelte extension in vscode doesn't highligh matching tags as the default behaviour with HTML does.
Description
For HTML code, it's very useful to be able to select any tag, opening or closing, and be able to see its matching tag. When working with the svelte extension in any .svelte file, selecting an HTML tag just triggers the word highlighting, default in vscode, so it highlight every occurrence of the word, and the matching tags is not (specially) highlighted.
Proposed solution
Highlight the matching HTML tags, just as vscode does by default for HTML files.
Alternatives
No response
Additional Information, eg. Screenshots
No response
We currently don't support document highlight(occurrences highlight). When it is enabled, VS Code's default word highlight will be disabled so we'll have to add support for ts and svelte blocks as well but it's not reliable because of a limitation. See https://github.com/sveltejs/language-tools/pull/1408
This is now available in extension 109.5.1.