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

Add support for rename refactors - #270

Merged
Aerijo merged 1 commit into
atom:masterfrom
lexi-lambda:rename
Aug 4, 2019
Merged

Add support for rename refactors#270
Aerijo merged 1 commit into
atom:masterfrom
lexi-lambda:rename

Conversation

@lexi-lambda

Copy link
Copy Markdown
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

Aerijo commented Aug 4, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

3 participants