vscode-ng-language-service: Not working in standalone HTML files in larger project

Hi,

i have found very strange behavior. I tried your extension in my project, but it is working only in inline templates, not in standalone html files. But in my project i`m using our company npm packages which are not in public npm repository. So i wanted to reduce project to smaller footprint which i can put on github to reproduce problem.

But when i reduced it it started working also in standalone html files. Well i have to try to find when it stops working, but currently i don`t have that case. But definitely there is some problem when it stops working in standalone html files.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 3
  • Comments: 16 (4 by maintainers)

Most upvoted comments

Finaly i`ve manage to create sample that should illustrate problem.

https://github.com/kukjevov/ngls-standalone-html-problem

I have latest VSCode and 0.0.11 ngls. I have other plugins too, but i think they do not interfere. In sample:

  • it is working in standalone template in navigation.component.html
  • it is working in inline template in forbidden.component.ts
  • it is not working in standalone template in home.component.html (and probably also in others in pages dir)

Thank you for your help. Have a nice Christmas 😃