I have installed Visual Studio Code 1.30.1 and Angular Language Service extension 0.1.11. I'm working with Angular 7.1.4 and the extension doesn't work.
Same issue here on 1.30.2, i have tried to check the console but have found no errors etc.
Check your output carefully!
Terminal
in vscode
OUTPUT
Angular Language Service
- that's the logging for extensionIf you see an error like:
SERVER ERROR: Unexpected token } in JSON at position xxx
That's probably a problem with your tsconfig.json
.
Try to JSON.parse
your tsconfig.json
and find what's wrong.
My problem was a trailing comma. After fixing this extension is working properly now!
1.30.2 on linux.
the plugin doesn't work for me on a new ng cli generated project.
Edit: turns out I have a "Go-template" plugin that takes over html files, uninstalled that one now it came back to normal.
Released v0.800.0 that fixed performance regression.
Multiple beta users confirmed that language service works well with Angular v7 and v8.
Please open another issue if this is not the case.
https://github.com/angular/vscode-ng-language-service/releases/tag/v0.800.0
Related issues:
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Check your output carefully!
Terminal
invscode
OUTPUT
Angular Language Service
- that's the logging for extensionIf you see an error like:
That's probably a problem with your
tsconfig.json
.Try to
JSON.parse
yourtsconfig.json
and find what's wrong.My problem was a trailing comma. After fixing this extension is working properly now!