Search code examples
angularphpstormwebstorm

PhpStorm error in Angular template: Unresolved pipe


I have project generated by Angular CLI ver 7.3.9 (Angular ver 7.2.0) and IDE: PhpStorm ver 2019.1.2

In template of my component I using UpperCasePipe:

<h2>{{ title | uppercase }}</h2>

Application works fine. Uppercase works. Letters are big but PhpStorm report an error:

Unresolved pipe uppercase
Checks that TypeScript called functions are valid

preview:

enter image description here

PS
I have installed AngularJS plugin


Solution

  • Please make sure that node_modules/@angular/common/src/pipes folder included in index (check its color in the Project tool window) - pipes won't be resolved if this directory is excluded