Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add support for rename refactors #270

Merged
merged 1 commit into from
Aug 4, 2019
Merged

Add support for rename refactors #270

merged 1 commit into from
Aug 4, 2019

Conversation

lexi-lambda
Copy link
Contributor

This pull request implements rename refactoring support via textDocument/rename, resolving #13. It is compatible with the protocol expected by the most recent release of atom-ide-ui, which is 0.13.0. Here’s a demonstration using the ide-haskell-hie backend:

(It’s not the fastest backend in the world, but it gets the job done eventually.)

Awkwardly, this implementation doesn’t work with the latest version of atom-ide-ui in the archived source code, since it was changed just after the final release to use a slightly different protocol. I don’t think that’s a big deal, though, since it’s always possible to bump the service version if those changes ever make it into something released.

@Aerijo
Copy link
Contributor

Aerijo commented Aug 4, 2019

Works for me on the last atom-ide-ui release. Do you know if the service has a specification anywhere? Especially as you mention they were working on a revised version.

@Aerijo Aerijo merged commit 693b338 into atom:master Aug 4, 2019
@lexi-lambda
Copy link
Contributor Author

Do you know if the service has a specification anywhere?

I have no idea, but if it does, I don’t know about it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants