Questions tagged [angular-language-service]

25 questions
1
vote
1 answer

Ngrx-Component / VSCode - Property binding ngrxLet not used by any directive on an embedded template

I am unable to use ngrx/component in any project as it continues giving me "Property binding ngrxLet 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…
Mauro Insacco
  • 1,136
  • 4
  • 10
  • 25
0
votes
2 answers

Angular Language Service - can't bind to 'ngModel' since it isn't a known property of 'input' for version 16

I use Angular version 16 and VScode, the code is running properly but I got this error: can't bind to 'ngModel' since it isn't a known property of 'input' . I have app.module.ts: import { NgModule } from '@angular/core'; import { FormsModule } from…
0
votes
0 answers

Angular Language Service VSCode does not recognizing missing component once a property is added

It seems like the angular language service extension in VSCode does not throw an warning/error if an component is missing once a property is added to the html. It seems that the language service just maps the component to a element (HTMLElement) if…
0
votes
0 answers

Error in installing Angular language service

Tried to install the angular language service but shooted by an error. tried the installation process in two ways 1) view -> extension -> and then installing tried manually by command npm i --save-dev @angular/language-service got the error in…
0
votes
0 answers

angular.runNgcc not found in VS Code

I've just installed vs code and I've added the Angular Language service extension but it is not working. It does not run ngcc at the vs code load of an angular project. When I try to run this manually I have this error: Any ideas of how can I solve…
dmance
  • 628
  • 1
  • 8
  • 26
0
votes
2 answers

Angular Language Services marks every new imported module as not known element

I have many imported npm modules in my Android 12 project. The ones imported a while ago works fine, but lately every new one shows errors. First I thought it was one package issue, but I tried importing a few modules and have the same problem. So…
0
votes
0 answers

Invoking Angular Language Service from cmd

How can i invoke angular language service from command line or from a script. Like we have eslint plugin which we can install as vscode extension and install in node modules and access it in our code like below: const { ESLint } =…
Roopan
  • 1
0
votes
1 answer

Why is code completion for subclasses not working in angular templates?

For example, when we have 2 array properties on our component: array: an ordinary Array anonymousArray a subclass of Array export class AppComponent { readonly array = new Array<{ text: string; value: string; }>(); readonly…
0
votes
2 answers

Shared library pipe shown as could not be found in vscode

I added a new shared library with a pipe ( RemoveUnderscorePipe ). I'm using the library an angular app. The app using the library compiles and works fine. The issue is that in vs-code there are errors in all templates using the pipe: This makes…
0
votes
1 answer

Angular Language Service working in one project but not another

I have two angular projects, open in separate VS Code instances. In one of the project, auto-completions and click-follows in templates works just fine. In the other, it does not work at all. I can't for the love of god figure out what the…
Hoff
  • 38,776
  • 17
  • 74
  • 99
1
2