relay icon indicating copy to clipboard operation
relay copied to clipboard

Add code action to rename fragment

Open tobias-tengler opened this issue 1 month ago • 1 comments

At the moment there's a code action that suggests correct operation names, if you hover over an operation name or the operation name is associated with a diagnostic. This PR adds the same thing for fragment definition names.

tobias-tengler avatar May 13 '24 19:05 tobias-tengler

In the future, once https://github.com/facebook/relay/pull/4581 is merged (I'm still hopeful), i'd like to extend the code action to perform an actual rename for the fragment. Really looking forward to both of these PRs landing. It's incredibly frustrating to rename components / fragments currently.

tobias-tengler avatar May 13 '24 19:05 tobias-tengler