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

[Feature request] Highlighting within inline templates #2078

Open
1 of 2 tasks
christophbuehler opened this issue Aug 11, 2024 · 0 comments
Open
1 of 2 tasks

[Feature request] Highlighting within inline templates #2078

christophbuehler opened this issue Aug 11, 2024 · 0 comments
Labels

Comments

@christophbuehler
Copy link

🚀 feature request

Description

When the cursor is placed on any tag within an inline template, the entire template is highlighted. In external HTML templates, just the opening and the closing tag are highlighted. I assume this is the case because the language mode of the file is set to TypeScript, not HTML. I find this very annoying.

Feature Type

What does this bug affect

  • Angular Language Service VSCode extension
  • Angular Language Service server

Describe the solution you'd like

Ideally the language mode of inline templates would be set to HTML.

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?

I have tried using other extensions, like Inline HTML that should change the language mode of template strings with moderate success.

Anything else relevant?

How it is:
image
What I would expect:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant