intellisense on component properties is missing in angular html templates

I just installed a new version of Webstorm and notice that intellisense on component properties is completely missing in angular html templates. In my older version of Webstorm, component properties are colored purple and have intellisense, in the newer version, they are coloured green and handled as simple string input.

I can see however that the new webstorm is angular aware, because intellisence for angular directives is fine.

 

screenshot old version (PHPStorm 2017.3.6)

 

screenshot new version (webstorm 2019.2.2)

 

How come? Should I adjust some setting to fix this?

 

 

5 comments
Comment actions Permalink

Looks as if Angular support is not enabled for your project... Please select your .html file in Project tool window and hit F1 ( View | Quick documentation) - what docs are shown? Please attach a screenshot and your idea.log (Help | Show log in ...)

Also, please check that @angular/core directory is indexed (not shown as excluded in the Project tool window)

0
Comment actions Permalink

this is what the quick documentation shows:

 

Wat about indexation of angular/core: my project view and settings view seem to have a different opinion on that. see screenshots:

 

0
Comment actions Permalink

There is al light going up. I use Meteor in the same project, but onlty backend. Isn't spacebars the follower of blaze?

 

seems I should change somehting in the file assosiations for html files

 

0
Comment actions Permalink

I have got it working. I had to assosiate the html file type with angular:

 

0
Comment actions Permalink

Associating it with HTML would be enough... Quick doc shows that it is associated with Spacebars template - please make sure that Open HTML files as Handlebars/Mustache is not enabled in Settings | Languages & Frameworks | JavaScript | Templates

0

Please sign in to leave a comment.