Skip to content

Support doc(alias)-based completion #14406

Closed
@hecatia-elegua

Description

@hecatia-elegua

To put it simply, I have some funny named registers like PORTPMSC but want to give them real names, in this case something like PortPowerManagementStatusControl (not exactly, but you get the idea).

doc(alias("PORTPMSC"))
struct PortPowerManagementStatusControl { ... }

Sometimes the name of the thing and its abbreviation in a specification is completely different though, so code completion will only work with the name in code, but I would like people to be able to use the spec abbreviations as well.

To get to the point: Where would I need to start looking to implement this? I.e. where in this repo is the code-completion handled and where the attribute parsing or generally attribute info?

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