Go-to-definition/go-to-references for each.*
/for_each
#1095
Labels
enhancement
New feature or request
textDocument/declaration
textDocument/definition
textDocument/references
Milestone
Background
This is a follow-up to #861 where we decided not to treat
each.*
as actual reference origins and similarly not treatfor_each
attribute as a target.This has some implications on the UX and some future work.
Go To Definition
While the benefit isn't as obvious in a simple and short config, there are cases where a module or a resource may not fit on the screen. Secondly, as a user I'd just expect "go-to-definition" to always work for any reference, if that reference points somewhere in the code.
Go To References
Similar as above, there can be a number of
each.*
references and it would be reasonable to expect "go-to-references" to just work in that context.Config Resolution
There are features which will rely on our ability to resolve references within the config, for example:
Proposal
TODO
The text was updated successfully, but these errors were encountered: