Skip to content

Goto file for include!(...) #5871

Closed
@Veetaha

Description

@Veetaha

This is a feature request. I think it should not be hard to get a goto-file (maybe just via goto-definition lsp functionality) for include!(...) expressions and items.
This might work by invoking the goto-definition request on the path string literal expression in include!(<here>). This will greatly simplify navigating to code which resides in OUT_DIR.

As a second step it might be super-awesome if goto-definition requests for symbols defined in include!()ed files navigated the users exactly to the included files source instead of include!(...) expression

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions