Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Incorrect suggestions in HTML templates #2157

@yavorski

Description

@yavorski

🐞 Incorrect suggestions in HTML templates.

Is this a regression?

No.

Description

Incorrect suggestions in HTML templates. Suggestions are shown in wrong places.

Bug Type

What does this bug affect

  • Angular Language Service VSCode extension
  • Angular Language Service server

Reproduction

Steps to reproduce the behavior:

  1. Generate a new ng app with ng cli - v19
  2. Go to app.component.html
  3. Navigate to any <div> tag or create a new one and put the cursor inside <div>|</div>
  4. See suggestions - 99% of them are attributes or events, suggested in the wrong place.
  5. See screenshots.

Expected behavior

Suggestions if any should be shown here -> <div |></div> and not in the <div> itself.

Screenshots

If applicable, add screenshots to help explain your problem.

Image

Image

🌍 Your Environment

Angular Version:

 19 

Extension Version:

 v19.2.1 

VSCode Version:

 Any 

Operating System:

 Linux 
 Windows 11 

Extension options:

 Default 

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