Skip to content

Directive scope warnings #2011

Open
Open
@0-don

Description

@0-don

🐞 bug report

Description

The VSCode Angular Language Service extension does not highlight directives that are not imported or unused, unlike WebStorm, which correctly indicates such directives.

Bug Type

What does this bug affect

  • Angular Language Service VSCode extension

Reproduction

Steps to reproduce the behavior:

  1. Create an Angular component or directive.
  2. Omit the import statement for a used directive in the component's template.
  3. No highlighting or error is shown for the missing import.

Expected behavior

Directives that are not imported or unused should be highlighted as errors.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions