iamcco / coc-angular

Angular Language Service coc extension for (neo)vim
146 stars 17 forks source link

Directive error in the angular template file in nvim #27

Closed eth-stack closed 2 years ago

eth-stack commented 3 years ago

Describe the _bug_ An error in angular template file look like this "[ng] [E] Property binding rxLet not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations". I am using @rx-angular/template To Reproduce Steps to reproduce the behavior:

  1. Open a angular template file in nvim, that contain rxLet Directive
  2. See the error Where did I go wrong? Notes: I open it template in Webstorm. It work fine

** versions vim version: NVIM v0.5.0-dev node version: v14.15.4 coc.nvim version: 0.0.80-6e5a2aaeb5 coc-angular: 11.1.3

Expected behavior None of error will be show.

Screenshots

iamcco commented 3 years ago

The diagnostics is from angularls, you can report here https://github.com/angular/vscode-ng-language-service