Skip to content

Conversation

@zebp
Copy link
Contributor

@zebp zebp commented Oct 1, 2020

This PR adds an assist similar to Intellij's convert number to. It also does a small refactor to assists/src/tests.rs to add the ability to specify the resolved assist for a specific action within an assist group.

Demo

Demo of the assist in action

@SomeoneToIgnore
Copy link
Contributor

Nicely written, thank you.
IMO, you could test things a bit less thorough and unite/omit a few cases, but up to you.

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 5, 2020

@bors bors bot merged commit dd6a352 into rust-lang:master Oct 5, 2020
@lnicola
Copy link
Member

lnicola commented Oct 6, 2020

@vlakreeh you might also want to take over #3683.

@ruabmbua
Copy link
Contributor

I implemented exactly the same thing, but did not open a MR yet :-P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants