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.

Autocomplete: Sort component properties by relevance #1537

@FredricW

Description

@FredricW

Is your feature request related to a problem? Please describe.

When using our own components in the templates, it is almost always more relevant or absolutely necessary to use the custom properties that is defined on it, rather than generic html props or even the props added by angular. As of now, suggestions for properties seems to be sorted alphabetically and there is no difference between generic and custom ones. That leaves us scrolling through a hundred props, trying to identify which ones are the ones defined in the component.
More often than not it is just faster to break the flow, open the component and the check the definitions directly, which omit the need for autocomplete in these scenarios all together.

🚀 feature request

Description

Ability to sort custom component properties before generic html/angular properties and mark them as custom (with its own icon).

Feature Type

What does this bug affect

  • Angular Language Service VSCode extension
  • Angular Language Service server

Describe the solution you'd like

Have all custom properties first, listed alphabetically with their own icon (that indicates they are custom properties). Then show all the generic properties after.

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?

Looking up the components manually.

Anything else relevant?

Example:
Here I have a component that takes two inputs:
image

Triggering autocomplete looks like this:
image

Even when starting to write and scrolling all the way down, there is nothing that separates them from other angular defined properties:
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