Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

416
Vistas
Intellisense not autocompleting variables in HTML

Intellisense for html in my VSCode has stopped working. I'm able to get the autocomplete for html tags, but I'm not getting suggestions for .ts variables. I've always used this feature and for some reasons it's not working anymore. For ts files it's working correctly.

VSCode version: 1.60.2

Installed extensions:

  • Angular Language Service
  • Angular spec generator
  • OpenAPI (Swagger) Editor
  • Reload
  • SVG Viewer
  • TODO Highlight
  • Visual Studio IntelliCode
  • YAML

I don't remember installing one of those and then intellisense for html stop working. I've tried restarting VSCode and the language shown in the bottom bar of VSCode is the right one.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

In order to get full angular variable autocomplete feature inside your html file we need to tweak some setting in our workspace tsconfig.json file, Please perform the following steps :-

  1. Open tsconfig.json file of your angular project workspace.
  2. set strictTemplates flag to true in your tsconfig.json file.
"angularCompilerOptions": {
    "strictTemplates": true   
},
  1. Restart your Visual studio code and then check if suggestion are coming inside your html file.

This is also stated in Angular language plugin's official info page.

enter image description here

over 4 years ago · Santiago Trujillo Denunciar

0

Have you tried disabling all the plugins except Angular Lanugage Service ? and if that works just start enabling one by one until it stops working.

Also have you checked the logs of the extensions ? Where are the VSCode error logs for extensions?

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda