rust/crates/assists/src/handlers
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
..
add_custom_impl.rs
add_explicit_type.rs
add_missing_impl_members.rs Minor clippy performance suggestions 2020-09-30 15:22:49 -04:00
add_turbo_fish.rs
apply_demorgan.rs
auto_import.rs Merge #6019 2020-09-29 10:29:33 +00:00
change_return_type_to_result.rs
change_visibility.rs
convert_integer_literal.rs Add tests for convert integer literal assist 2020-09-29 19:05:17 -04:00
early_return.rs
expand_glob_import.rs Remove make::path_from_text 2020-09-16 21:36:10 +02:00
extract_struct_from_enum_variant.rs Minor clippy performance suggestions 2020-09-30 15:22:49 -04:00
extract_variable.rs
fill_match_arms.rs
fix_visibility.rs
flip_binexpr.rs
flip_comma.rs
flip_trait_bound.rs
generate_derive.rs
generate_from_impl_for_enum.rs
generate_function.rs
generate_impl.rs
generate_new.rs
inline_local_variable.rs **Inline Variable** works with field shorthand 2020-08-26 13:03:14 +02:00
introduce_named_lifetime.rs
invert_if.rs Microoptimize 2020-09-28 19:06:51 +02:00
merge_imports.rs Reimplement import merging by making it recursive properly nesting all levels 2020-09-12 19:19:19 +02:00
merge_match_arms.rs
move_bounds.rs
move_guard.rs
raw_string.rs
remove_dbg.rs Properly preserve macro braces 2020-09-11 22:16:22 +03:00
remove_mut.rs
remove_unused_param.rs **Remove Unused Parameter** refactoring 2020-08-19 19:40:55 +02:00
reorder_fields.rs
replace_if_let_with_match.rs
replace_impl_trait_with_generic.rs Remove unnecessary comma 2020-09-04 22:58:50 +03:00
replace_let_with_if_let.rs
replace_qualified_name_with_use.rs Merge #6019 2020-09-29 10:29:33 +00:00
replace_unwrap_with_match.rs ⬆️ ungrammar 2020-08-21 19:14:05 +02:00
split_import.rs
unwrap_block.rs