Skip to content

Make IDE functionality multi-token mapping aware #10070

@Veykril

Description

@Veykril

With #10067 we now map tokens down in macros to all their usages and not just the first. IDE functionalities have to be adapted to this change as currently everything expects a 1 to 1 mapping.
In most cases this should be straight forward by just iterating instead of handling a single instance, some require more thought like how hover should deal with this.
This tracks all the things that have to be changed:

This list isn't all usages but most of which it would make sense to support this change.
Note in some cases duplicates have to be filtered out as tokens that are emitted multiple times pointing to the same things will multiply outputs.

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