-
Notifications
You must be signed in to change notification settings - Fork 78
textDocument/rename #13
Comments
We've got a UI for that in Nuclide as well. It's a tad heavyweight (since it's designed to support more complex refactorings) so I'm not sure if you'd want to start from there or start afresh. https://github.com/facebook/nuclide/blob/master/pkg/nuclide-refactorizer The basic flow is right click a symbol, click Refactor in the context menu, select rename, and then type in a new name. There's also an explicit command for quickly just renaming. |
What's the status on this? Minimal implementation should be doable in less than 100 lines... For instance, https://github.com/atom-haskell/hie-lsp-adapter/blob/master/lib/main.js#L20 |
Feel free to send a PR. |
Sure, I'll see what I can do. Just was checking if anyone's working on it already. |
I'm not very familiar with Atom extensions development but I'd like to contribute to this issue. Any tips on where to start? |
The textDocument/rename protocol lets you rename a symbol and automatically update all associated symbols.
We could implement this with a command and a right-menu button but it would also need a ui for the new symbol unless we could do it inline.
The text was updated successfully, but these errors were encountered: