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

Closed

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 

Activity

  1. angular-automatic-lock-bot commented on May 4, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  2. locked and limited conversation to collaborators on May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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