This repository was archived by the owner on Nov 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Templates ignored after saving tsconfig.json #1923
Copy link
Copy link
Closed
Labels
Description
🐞 bug report
Is this a regression?
Can't recall when I didn't have to randomly restart ALS, sadly been having this problem for a year at least - only now figured out how to reproduce it.
Description
After saving/modifying tsconfig.json - ALS recognizes a change and intellisense stops working in angular html templates.
Bug Type
What does this bug affect
- Angular Language Service VSCode extension
- Angular Language Service server
Reproduction
Steps to reproduce the behavior:
- Checkout https://github.com/kimdah3/testing-als-vscode or ng new
- Open VS Code with the extension
- Check that intellisense is working in the template files
- Save tsconfig.json
- Intellisense stops working
- Manually restarting with Restart Angular Language server makes the templates work again
Expected behavior
Intellisense in template files should still work after a change in tsconfig.json. I believe VS Code's built in ts server touches tsconfig in the background which causes the templates intellisense to stop working randomly (it took a lot of time to find out why this happend).
Logs
Screenshots
🌍 Your Environment
Angular Version:
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 16.2.1
Node: 16.17.0
Package Manager: npm 8.15.0
OS: win32 x64
Angular: 16.2.4
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1602.1
@angular-devkit/build-angular 16.2.1
@angular-devkit/core 16.2.1
@angular-devkit/schematics 16.2.1
@angular/cli 16.2.1
@schematics/angular 16.2.1
rxjs 7.8.1
typescript 5.1.6
zone.js 0.13.3
Extension Version:
v16.1.8VSCode Version:
Version: 1.82.1 (user setup)
Commit: 6509174151d557a81c9d0b5f8a5a1e9274db5585
Date: 2023-09-08T08:45:05.575Z
Electron: 25.8.0
ElectronBuildId: 23503258
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22621
Operating System:
Microsoft Windows 11 Pro Version 10.0.22621 Build 22621Extension options:
"angular.log": "verbose"Reactions are currently unavailable
