Skip to content

Support for GOTO def from *inside* files included with include! macro? #14937

@cmyr

Description

@cmyr

so as of #14561, goto definition will now correctly locate tokens defined in a file that is included with the include! macro. This is wonderful.

Now there is the natural follow-up: would it be possible to have goto work within the generated file?

I can see some ways that this is complicated. In particular, there is potentially an N->1 relationship between include! invocations and their targets, which means that there could be different sets (of possibly overlapping) symbols in scope for a given included file. I would imagine that any possible implementation of this would need to be limited to the case where any single file is only included from a single other file.

So... I'm really not sure how feasible this is, but it seems at least like something that would be nice to have eventually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-idegeneral IDE featuresC-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions