Is `@angular/language-service` required in our `package.json` ?

According to the official Angular docs, the `angular/language-service` package must be installed in our project, in order for WebStorm to give full support for Angular (autocomplete, etc).

That doc is dated back to July 2017. That's pretty old, and I suspect it is no longer true. At least from my experience I didn't notice a difference between projects that have it or not.

I think the WebStorm plugin "Angular and AngularJS" includes everything it needs to support Angular, and that we should remove `@angular/language-service` from our `package.json`.

Can somebody please officially confirms that ?

 

0
2 comments
Official comment

>I think the WebStorm plugin "Angular and AngularJS" includes everything it needs to support Angular, and that we should remove @angular/language-service` from our `package.json`.

Exactly; Angular Language Service is not used/required since version 2019.1, we've implemented all of Angular Compiler validations as inspections, which has some additional benefits of being able to provide some basic quick fixes like adding missing selector property, or something as neat as auto-module import

Thank you for the quick confirmation. I submitted a PR to rectify the official docs: https://github.com/angular/angular/pull/39637

3

Please sign in to leave a comment.