Skip to content
Discussion options

You must be logged in to vote

I've implemented a fix for this. It's now landed on master 27f5797

Essentially, my current thinking is you're correct, and it should behave as you wish. Rename is built entirely on top of find-references, so fixing find-references is all that's needed. The interesting thing is that this does, in some ways, make find-references not the opposite of jump-to-definition - see my comments in the general area of https://github.com/cue-lang/cue/blob/master/internal/lsp/definitions/definitions_test.go#L3354 This non-opposite aspect doesn't upset me though because it only rears its head when you're doing jump-to-definition from a field declaration. And similarly find-references (or rename) to field…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cuematthew
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants