monogon-dev / intellij-cue

IntelliJ support for the CUE language.
Apache License 2.0
37 stars 3 forks source link

Rename refactoring #5

Open jansorg opened 3 years ago

jansorg commented 3 years ago

References to fields could be renamed via the rename refactoring.

{
  name: 42
  other: name // <-- invoked here on "name'
}

would become

{
  new_name: 42
  other: new_name
}

A complete implementation would have to support this: