rust-analyzer/crates/ra_assists/src/handlers
bors[bot] 12d82687cd
Merge #4273
4273: Trigger add_vis assist on paths/record fields as well r=flodiebold a=TimoFreiberg

Resolves #4037.

- [x] Function defs
- [x] ADT defs
- [x] Enum variants
- [x] Consts
- [x] Statics
- [x] Traits
- [x] Type aliases
- [x] Modules
- [x] Record fields (using different implementation)
    - [x] struct fields
    - [x] enum variant fields
    -   union fields (`Semantics::resolve_record_field` seems to not work for union fields, so I think this can be handled in a future PR)
- [x] More tests? 
- [x] Improve test fixture code and documentation a bit (see [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/resolve_path.20between.20fixture.20files))

Co-authored-by: Timo Freiberg <timo.freiberg@gmail.com>
2020-05-14 14:29:22 +00:00
..
add_custom_impl.rs Use back ticks instead of single quotes around code 2020-05-14 01:06:07 +02:00
add_derive.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
add_explicit_type.rs Use back ticks instead of single quotes around code 2020-05-14 01:06:07 +02:00
add_from_impl_for_enum.rs Add From should not move the cursor 2020-05-09 16:21:10 +02:00
add_function.rs More fluent indent API 2020-05-09 14:40:11 +02:00
add_impl.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
add_missing_impl_members.rs Correctly fill default type parameters 2020-05-13 16:07:44 +03:00
add_new.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
apply_demorgan.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
auto_import.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
change_return_type_to_result.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
change_visibility.rs Trigger change_visibility assist when on an invisible struct field 2020-05-10 16:51:12 +02:00
early_return.rs unindent -> dedent 2020-05-09 14:48:43 +02:00
fill_match_arms.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
flip_binexpr.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
flip_comma.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
flip_trait_bound.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
inline_local_variable.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
introduce_variable.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
invert_if.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
merge_imports.rs Simplify 2020-05-07 17:32:01 +02:00
merge_match_arms.rs Simplify 2020-05-07 17:32:01 +02:00
move_bounds.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
move_guard.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
raw_string.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
remove_dbg.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
remove_mut.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
reorder_fields.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
replace_if_let_with_match.rs More fluent indent API 2020-05-09 14:40:11 +02:00
replace_let_with_if_let.rs More fluent indent API 2020-05-09 14:40:11 +02:00
replace_qualified_name_with_use.rs Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
replace_unwrap_with_match.rs More fluent indent API 2020-05-09 14:40:11 +02:00
split_import.rs Simplify 2020-05-07 17:32:01 +02:00
unwrap_block.rs do not remove then block when you unwrap else block #4361 2020-05-10 15:31:51 +02:00