rust-analyzer/crates/assists/src
bors[bot] dd6a352e64
Merge #6111
6111: Add assist for converting the base of integer literals. r=SomeoneToIgnore a=vlakreeh

This PR adds an assist similar to Intellij's [convert number to](https://i.imgur.com/JH6wstP.png). It also does a small refactor to [assists/src/tests.rs](fc34403018/crates/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](https://i.imgur.com/MBhdPFH.gif)

Co-authored-by: vlakreeh <zeb@zebulon.dev>
2020-10-05 22:00:40 +00:00
..
handlers Merge #6111 2020-10-05 22:00:40 +00:00
tests Add convert integer literal assist 2020-09-29 14:48:43 -04:00
utils Fix path comparison not comparing paths correctly with unequal lengths 2020-10-01 17:18:34 +02:00
assist_config.rs Make MergeBehaviour configurable 2020-09-12 12:11:16 +02:00
assist_context.rs Use Definition::find_usages for finding used items in expand glob import 2020-08-20 21:34:53 +03:00
ast_transform.rs Simplify ast_transform 2020-10-02 20:52:48 +02:00
lib.rs Add convert integer literal assist 2020-09-29 14:48:43 -04:00
tests.rs Add ability to specify ResolvedAssist by label 2020-09-29 18:22:09 -04:00
utils.rs Make MergeBehaviour configurable 2020-09-12 12:11:16 +02:00