aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src
Commit message (Expand)AuthorAgeFilesLines
* Remove text_edit_builder api from AssistBuilderLukas Wirth2020-11-083-35/+51
* Cleanup APIAleksey Kladov2020-11-061-1/+5
* Merge #6485bors[bot]2020-11-0613-31/+38
|\
| * SimplifyAleksey Kladov2020-11-062-9/+2
| * Kill RAW_ literalsAleksey Kladov2020-11-0613-23/+37
* | Merge #6477bors[bot]2020-11-063-0/+352
|\ \ | |/ |/|
| * Adjust test-texts in infer_function_return_typeLukas Wirth2020-11-061-78/+78
| * Enable infer_function_return_type in return-type positionLukas Wirth2020-11-061-29/+129
| * Wrap non-block expressions in closures with a blockLukas Wirth2020-11-061-12/+31
| * Ignore unit expressions in infer_function_return_type assistLukas Wirth2020-11-061-3/+13
| * Support closures in infer_function_return_type assistLukas Wirth2020-11-061-19/+114
| * Add infer_function_return_type assistLukas Wirth2020-11-063-0/+128
* | Merge #6480bors[bot]2020-11-061-14/+107
|\ \
| * | Support closure in change_return_type_to_result assistLukas Wirth2020-11-061-14/+107
| |/
* | More orthogonal APIAleksey Kladov2020-11-061-15/+8
* | Move int parsing to IntNumber tokenAleksey Kladov2020-11-061-1/+1
|/
* Merge #6456bors[bot]2020-11-041-38/+110
|\
| * Support struct variants in extract_struct_from_enum_variantLukas Wirth2020-11-031-46/+74
| * only check type namespace in extract_struct_from_enum_variant for collisionsLukas Wirth2020-11-031-9/+53
* | Merge #6458bors[bot]2020-11-041-38/+114
|\ \
| * | Qualify trait impl created by add_custom_impl assistLukas Wirth2020-11-031-38/+114
| |/
* | Merge #6454bors[bot]2020-11-031-135/+71
|\ \ | |/ |/|
| * Fix overflow panic in convert_interger_literal assistAleksey Kladov2020-11-031-135/+71
* | Make insert_use return a SyntaxRewriterLukas Wirth2020-11-024-107/+92
|/
*-. Merge #6393 #6399bors[bot]2020-11-021-13/+169
|\ \
| | * Keep generic annotations when qualifying thingsLukas Wirth2020-10-291-13/+169
* | | Remove more unreachable pubsAleksey Kladov2020-11-022-5/+5
|/ /
* | Merge #6257bors[bot]2020-10-261-11/+11
|\ \ | |/ |/|
| * Don't suggest extracting out 1-tuple enum variantsWesley Norris2020-10-261-11/+11
* | Better ordering of assistsAleksey Kladov2020-10-261-2/+3
* | Merge #6333bors[bot]2020-10-261-7/+80
|\ \
| * | Allow assist move_arm_cond_to_match_guard inside blocksArif Roktim2020-10-241-7/+80
* | | Keep parens around in remove-dbg for range expressionsLukas Wirth2020-10-251-8/+9
* | | Don't keep parens around in remove-dbgLukas Wirth2020-10-251-1/+61
* | | Don't keep parens around with remove-dbg when encountering method chainingLukas Wirth2020-10-251-0/+20
| | |
| \ \
*-. \ \ Merge #6331 #6342bors[bot]2020-10-2411-131/+17
|\ \ \ \ | | |/ / | |/| |
| | * | Re-export base_db from ide_dbIgor Aleksanov2020-10-246-6/+6
| | * | Remove dependency on 'assists' from 'completion' crateIgor Aleksanov2020-10-245-125/+11
| |/ /
* / / Fix indentation of inserted use statementsFlorian Diebold2020-10-241-34/+132
|/ /
* | generate_impl assist respect cfg attributes #6312Benjamin Coenen2020-10-221-2/+40
* | Merge #6256bors[bot]2020-10-203-0/+160
|\ \
| * | Update crates/assists/src/handlers/replace_string_with_char.rsCoenen Benjamin2020-10-201-1/+1
| * | Assist: replace string with charBenjamin Coenen2020-10-202-8/+39
| * | replace_string_with_char #6252Benjamin Coenen2020-10-162-0/+129
| |/
* | Merge #6172bors[bot]2020-10-205-24/+1087
|\ \
| * | De-duplicate `add_group` callsite in qualify_pathLukas Wirth2020-10-161-121/+108
| * | Properly qualify trait methods in qualify_path assistLukas Wirth2020-10-154-70/+115
| * | Add mark tests to qualify_path assistLukas Wirth2020-10-141-0/+9
| * | Add qualify path assistLukas Wirth2020-10-142-0/+1022
* | | Don't rely on display names in inlay_hintsAleksey Kladov2020-10-203-13/+16