Closed
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report
Versions.
cli 1.1.0
VS Code Angular Language Service 0.1.3
Repro steps.
- Use VS Code with official Angular Language Service plugin installed.
- Create a project with CLI.
- Completion and error checking in HTML external templates doesn't work.
npm uninstall @angular/language-service
- Restart VS Code.
- Now it works.
Desired functionality.
VS Code Angular Language Service plugin seems to use :
- it's own install of
@angular/language-service
if it's not present innode_modules
- if present, it uses the project dependency, and unfortunately, the plugin is not always up to date with the last release of
@angular/language-service
.
I see no use to pre-install @angular/language-service
as the developer won't use it directly, and plugins should manage their own dependencies to be sure to use the good version.
So I think commit bb99fac should be reverted.
I've open the same issue in VS Code Angular Language Service project too : angular/vscode-ng-language-service#102