Skip to content

Specify Angular Language service paths #2127

Open
@fdx-kunal

Description

@fdx-kunal

🐞 bug report

Description

Is there anyway to set angular language service to only run on angular projects in my mono repo?

Seems like I get the initialising language service spinner while it's trying to figure it out and blocking things like intellisense.

Bug Type

What does this bug affect

  • Angular Language Service VSCode extension
  • Angular Language Service server

Reproduction

Steps to reproduce the behavior:

  1. Run angular language service in a mono repo with non angular projects

Expected behavior

A clear and concise description of what you expected to happen.

Logs

[Info  - 11:47:58] Disabling language service for /Users/name/Documents/Source/monorepo/packages/some-package/tsconfig.json because project is not an Angular project ('@angular/core' could not be found).
[Info  - 11:47:59] Disabling language service for /Users/name/Documents/Source/monorepo/apps/some-app/tsconfig.json because project is not an Angular project ('@angular/core' could not be found).

🌍 Your Environment

Angular Version:


Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1900.4
@angular-devkit/core         18.2.12
@angular-devkit/schematics   18.2.12
@schematics/angular          18.2.12
typescript                   5.5.4

Extension Version:


v19.0.3

VSCode Version:


VSCode Version: 1.93.1

Operating System:


Mac Os

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions