rust-analyzer/crates/ide_assists/src/handlers
bors[bot] a2f83c956e
Merge #9614
9614: Parse input expressions for dbg! invocations in remove_dbg r=Veykril a=Veykril

Instead of inspecting the input tokentree manually, parse the input as `,` delimited expressions instead and act on that. This simplifies the assist quite a bit.

Fixes #8455

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-07-16 13:48:23 +00:00
..
add_explicit_type.rs Simplify Semantics::type_of_expr_with_coercion 2021-07-11 14:44:10 +02:00
add_lifetime_to_type.rs Use styleguide conforming import for ast nodes 2021-03-23 17:44:17 +03:00
add_missing_impl_members.rs internal: rewrite assoc item manipulaion to use mutable trees 2021-05-14 18:47:08 +03:00
add_turbo_fish.rs internal: remove needless distinction between a carte and its root mod 2021-07-11 14:55:24 +03:00
apply_demorgan.rs internal: add derive and ord support to minicore 2021-06-18 00:30:22 +03:00
auto_import.rs Explicitly connect an ambiguous import path case logic with the test on it 2021-07-16 00:41:00 +03:00
change_visibility.rs change visibility for use and macro items 2021-06-11 19:10:56 +05:30
convert_comment_block.rs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
convert_integer_literal.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
convert_into_to_from.rs minor: use minicore 2021-06-18 23:59:47 +03:00
convert_iter_for_each_to_for.rs minor: use minicore 2021-06-18 23:59:47 +03:00
convert_tuple_struct_to_named_struct.rs fmt 2021-06-05 17:09:56 -07:00
early_return.rs Respect coercions in inline_call 2021-07-10 19:24:49 +02:00
expand_glob_import.rs clippy::redundant_clone fixes 2021-05-26 18:34:50 +03:00
extract_function.rs Inline name classification reference calls 2021-07-11 15:39:09 +02:00
extract_struct_from_enum_variant.rs Merge #9334 2021-06-18 21:23:22 +00:00
extract_type_alias.rs NFC: remove redundant clones (clippy::perf) 2021-06-03 15:32:46 +02:00
extract_variable.rs Don't show extract into variable assist for unit expressions 2021-06-02 00:59:09 -07:00
fill_match_arms.rs feat: Implement inline_method assist 2021-07-03 01:33:34 +02:00
fix_visibility.rs internal: don't #[ignore] tests 2021-06-15 16:37:58 +03:00
flip_binexpr.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
flip_comma.rs internal: don't use #[should_panic] for tests 2021-04-13 12:21:59 +03:00
flip_trait_bound.rs Upgrade rowan 2021-03-16 16:10:49 +03:00
generate_default_from_enum_variant.rs internal: add default to minicore 2021-06-17 20:49:49 +03:00
generate_default_from_new.rs internal: add default to minicore 2021-06-17 20:49:49 +03:00
generate_deref.rs internal: switch some tests to minicore 2021-06-16 22:26:46 +03:00
generate_derive.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
generate_enum_is_method.rs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
generate_enum_projection_method.rs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
generate_from_impl_for_enum.rs internal: add From to minicore 2021-06-17 21:04:12 +03:00
generate_function.rs fix: Adding async keyword when await is present in generate_function assist 2021-07-09 20:04:55 +05:30
generate_getter.rs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
generate_impl.rs Added support for const generics in impl generation 2021-03-27 11:37:39 +02:00
generate_is_empty_from_len.rs Rename target_ty to self_ty 2021-03-29 17:47:47 +02:00
generate_new.rs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
generate_setter.rs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
infer_function_return_type.rs Use upstream cov-mark 2021-03-08 22:19:44 +02:00
inline_call.rs Simplify Semantics::type_of_expr_with_coercion 2021-07-11 14:44:10 +02:00
inline_local_variable.rs Invert boolean literals in assist negation logic 2021-07-06 20:30:26 +02:00
introduce_named_lifetime.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
invert_if.rs Invert boolean literals in assist negation logic 2021-07-06 20:30:26 +02:00
merge_imports.rs Don't compare ast::Visibility by stringifying 2021-05-20 17:45:59 +02:00
merge_match_arms.rs Simplify 2021-07-01 21:10:45 +02:00
move_bounds.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
move_guard.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
move_module_to_file.rs Create modules in correct directory for nested modules in move_module assist 2021-06-17 12:09:28 +02:00
pull_assignment_up.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
qualify_path.rs internal: cleanup tests 2021-06-15 12:48:05 +03:00
raw_string.rs Support length for ByteStrings 2021-05-12 21:22:46 -07:00
remove_dbg.rs Cleanup tests 2021-07-16 15:47:59 +02:00
remove_mut.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
remove_unused_param.rs internal: add a test for broken refactor 2021-07-11 15:05:16 +03:00
reorder_fields.rs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
reorder_impl.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
replace_derive_with_manual_impl.rs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
replace_for_loop_with_for_each.rs internal: minimize minicore 2021-06-17 11:28:44 +03:00
replace_if_let_with_match.rs Disambiguate replace with if let assist labels 2021-07-10 18:00:22 +02:00
replace_impl_trait_with_generic.rs internal: cleanup tests 2021-06-15 12:48:05 +03:00
replace_let_with_if_let.rs Disambiguate replace with if let assist labels 2021-07-10 18:00:22 +02:00
replace_qualified_name_with_use.rs replace_qualified_name_with_use keeps qualifier for import 2021-07-10 17:03:24 +02:00
replace_string_with_char.rs Support length for ByteStrings 2021-05-12 21:22:46 -07:00
split_import.rs Don't classify NameRef paths inside attribute TokenTrees 2021-06-30 21:51:28 +02:00
toggle_ignore.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
unmerge_use.rs Don't hide meta lines 2021-07-03 12:16:07 +02:00
unwrap_block.rs fix: Single-line and nested blocks in unwrap_block 2021-07-14 12:02:38 -07:00
wrap_return_type_in_result.rs Don't hide meta lines 2021-07-03 12:16:07 +02:00