Angular CLI & Language Service not working

Since a few days it looks like Webstorm is failing at loading Angular CLI & Angular Language Service. Everything worked fine but now I don't have "Angular Language Service" option available in Typescript settings anymore and so all my HTML files are full of unknow html tag warnings.

I took a look at some others support posts and I tried to :

 - Invalidate Cache & Restart

 - Remove node_modules and rerun `yarn install`

 - Explicitly add @angular to webstorm JS library

But it does not fix anything.

Most intresting, I tried to open this project with IntelliJ Idea Ultimate (on the same laptop), everything is OK and I do have Angular Language Service setting option (both Webstorm & IntelliJ configuration for TS related stuffs are the same).

Any idea how I can fix this ?

2 comments

>now I don't have "Angular Language Service" option available in Typescript settings anymore 

 

What WebStorm version do you use? Is AngularJS plugin enabled in Preferences | Plugins?

 

> so all my HTML files are full of unknow html tag warnings.

 

This can't be related to the language service - all it does is some additional HTML templates linting. Angular directives recognition in not based on this service, it can actually be turned off safely - almost no functionality will be lost.

Looks as if Angular support is off for your project. Most probably because the AngularJS plugin is missing/corrupted

 

0

@Elena you're right AngularJs was disabled!

I probably disabled it because I'm not working with AngularJs anymore BUT without carefully reading the description which say it's for `AngularJs` and `Angular`, my bad! Maybe a rename to `AngularJs & Angular` plugin could be great :)

Anyway, thanks for the fast and accurate answer!

 

1

Please sign in to leave a comment.