Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

414
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!