Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Svelte extension in vscode doesn't highligh matching tags as the default behaviour with HTML does. #2533

Open
matrs opened this issue Oct 11, 2024 · 1 comment
Labels
feature request New feature or request

Comments

@matrs
Copy link

matrs commented Oct 11, 2024

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

@jasonlyu123
Copy link
Member

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 #1408

@jasonlyu123 jasonlyu123 added the feature request New feature or request label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants