Skip to content

Hyperlinks in generated HTML for local vars and non-unique local labels #180

Description

@micahcowan

If local vars extends some ways, it can be very cumbersom to have to search around for where that name was defined and commented, it would be nice for SourceGen to hyperlink to the containing var table in which it was defined.

Similarly for non-unique local labels (and, if it applies, unique ones; I don't use those as I'm not sure what the advantage is over global). While a human reader might be confused as to which non-unique label of the same name might be the target, SourceGen certainly knows. Moreover, if there are several non-locals nearby, even of differing names, it's more of a hassle to examine the names of each than to click a hyperlink as per usual.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions