You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 betweeninclude!
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.
The text was updated successfully, but these errors were encountered: