rust-analyzer/crates/ide_assists/src/handlers
hi-rustin 696a8bf870 Address comments and add more tests
Fix tests

Fmt code
2021-05-15 20:44:45 +08:00
..
add_explicit_type.rs Unify test style 2021-03-23 17:38:51 +03: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 Fix add_life_to_type label typo 2021-03-20 13:44:12 +01:00
apply_demorgan.rs Allow applying De Morgan's law to multiple terms at once 2021-03-12 10:19:54 -05:00
auto_import.rs Return absolute paths in find_path if crate start is ambiguous 2021-05-13 02:53:32 +02:00
change_visibility.rs Upgrade rowan 2021-03-16 16:10:49 +03:00
convert_comment_block.rs Simplify code 2021-03-23 19:41:15 +03:00
convert_integer_literal.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
convert_into_to_from.rs Convert Into to From assist 2021-04-03 15:48:35 +01:00
convert_iter_for_each_to_for.rs Fix convert_iter_for_each_to_for doctest 2021-03-12 15:42:53 +01:00
convert_tuple_struct_to_named_struct.rs Correctly support SelfType when searching for usages 2021-05-08 22:34:55 +02:00
early_return.rs internal: introduce ast::make::ext module with common shortcuts 2021-05-09 19:55:43 +03:00
expand_glob_import.rs internal: introduce ast::make::ext module with common shortcuts 2021-05-09 19:55:43 +03:00
extract_function.rs internal: introduce ast::make::ext module with common shortcuts 2021-05-09 19:55:43 +03:00
extract_struct_from_enum_variant.rs Keep comments and attrs when extracting struct from enum variant 2021-05-11 11:07:47 -04:00
extract_type_alias.rs Don't use snippets 2021-03-29 13:23:07 +02:00
extract_variable.rs cleanups 2021-05-09 18:01:54 +03:00
fill_match_arms.rs Add support for fill match arms of boolean values 2021-04-21 19:33:45 +08:00
fix_visibility.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
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 Use upstream cov-mark 2021-03-08 22:19:44 +02:00
generate_default_from_new.rs Address comments and add more tests 2021-05-15 20:44:45 +08:00
generate_deref.rs implement field stuff too 2021-04-18 21:51:17 -07:00
generate_derive.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
generate_enum_is_method.rs syntax: return owned string instead of leaking string 2021-03-26 18:30:59 +01:00
generate_enum_projection_method.rs syntax: return owned string instead of leaking string 2021-03-26 18:30:59 +01:00
generate_from_impl_for_enum.rs internal: normalize name 2021-04-30 11:52:31 +03:00
generate_function.rs internal: introduce ast::make::ext module with common shortcuts 2021-05-09 19:55:43 +03:00
generate_getter.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
generate_getter_mut.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59: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 internal: use standard style for tests 2021-05-14 18:53:53 +03:00
generate_setter.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
infer_function_return_type.rs Use upstream cov-mark 2021-03-08 22:19:44 +02:00
inline_function.rs Use upstream cov-mark 2021-03-08 22:19:44 +02:00
inline_local_variable.rs "Inline variable" when on a use of the variable 2021-04-20 16:16:23 +02:00
introduce_named_lifetime.rs internal: fix make API 2021-05-09 19:22:33 +03:00
invert_if.rs Upgrade rowan 2021-03-16 16:10:49 +03:00
merge_imports.rs Give MergeBehaviour variants better names 2021-05-10 21:14:59 +02:00
merge_match_arms.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
move_bounds.rs internal: introduce ast::make::ext module with common shortcuts 2021-05-09 19:55:43 +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 fix: Keep doc comments and outer attrs on "Move module to file" assist 2021-05-13 07:51:00 +02:00
pull_assignment_up.rs Make "pull assignments up" assist work in more cases 2021-05-11 15:14:23 +02:00
qualify_path.rs Disable unqualified assoc items completion for now 2021-03-20 23:08:44 +02:00
raw_string.rs Use upstream cov-mark 2021-03-08 22:19:44 +02:00
remove_dbg.rs Insert unnamed consts to ChildBySource DynMap 2021-04-09 17:14:48 +02:00
remove_mut.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
remove_unused_param.rs Use upstream cov-mark 2021-03-08 22:19:44 +02:00
reorder_fields.rs Don't filter equal nodes in reorder assists 2021-04-22 00:54:31 +02:00
reorder_impl.rs Don't mutate the tree while traversing in reorder_impl 2021-05-03 18:36:31 +02:00
replace_derive_with_manual_impl.rs internal: introduce ast::make::ext module with common shortcuts 2021-05-09 19:55:43 +03:00
replace_for_loop_with_for_each.rs Use upstream cov-mark 2021-03-08 22:19:44 +02:00
replace_if_let_with_match.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
replace_impl_trait_with_generic.rs internal: fix make API 2021-05-09 19:22:33 +03:00
replace_let_with_if_let.rs simplify 2021-05-10 15:25:56 +03:00
replace_qualified_name_with_use.rs Add cov_marks to insert_use tests 2021-04-20 19:34:43 +02:00
replace_string_with_char.rs Only replace quotes in replace_string_with_char assist 2021-03-06 21:21:18 +01:00
replace_unwrap_with_match.rs Corrected minor typo on line 20 2021-05-13 18:29:48 +02:00
split_import.rs Upgrade rowan 2021-03-16 16:10:49 +03:00
toggle_ignore.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
unmerge_use.rs rewrite merge use trees assist to use muatable syntax trees 2021-03-22 20:47:46 +03:00
unwrap_block.rs refine comment style of tests 2021-03-24 19:28:50 +08:00
wrap_return_type_in_result.rs internal: introduce ast::make::ext module with common shortcuts 2021-05-09 19:55:43 +03:00