angular / angular/angular

[Feature request] Highlighting within inline templates

Abierto
#65,500 6 comentarios 7 reacciones 0 asignados Ver en GitHub
area: vscode-extension feature
Lenguaje dominante
TypeScript
Estrellas
101k
Forks
27.5k
Merge medio
1 d 19 h
PR fusionados (30 d)
288

Descripción

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

- [x] 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](https://marketplace.visualstudio.com/items?itemName=pushqrdx.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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza reproduciendo el comportamiento del resaltado en la Angular Language Service VSCode extension con una plantilla inline y una plantilla HTML externa. Rastrea cómo reciben su modo de lenguaje las plantillas inline y, a continuación, verifica que solo se resalten las etiquetas de apertura y cierre correspondientes y que ya no se seleccione la plantilla completa.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript, vscode
Área
tooling
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.