aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists
Commit message (Collapse)AuthorAgeFilesLines
...
* fill_match_arm works with trivial armironyman2019-06-241-2/+54
|
* Implement autoderef using the Deref traitFlorian Diebold2019-06-151-1/+1
| | | | - add support for other lang item targets, since we need the Deref lang item
* remove inherent source implsAleksey Kladov2019-06-112-2/+2
|
* use Source for StructFieldAleksey Kladov2019-06-111-2/+2
|
* use Source for TraitAleksey Kladov2019-06-111-1/+1
|
* Fix clippy::while_let_loopAlan Du2019-06-041-15/+11
|
* Fix clippy::or_fun_callAlan Du2019-06-042-3/+3
|
* Fix clippy::single_char_patternAlan Du2019-06-041-2/+2
|
* fix typos in mbe testsAleksey Kladov2019-05-282-4/+4
|
* Merge #1281bors[bot]2019-05-223-117/+263
|\ | | | | | | | | | | | | | | 1281: Move arm cond to match guard r=matklad a=unrealhoang I did split the rename to another commit, yet Github UI still show entirely new file change. Please review using commits. Co-authored-by: Unreal Hoang <[email protected]>
| * add assist to move arm condition to match guardUnreal Hoang2019-05-213-117/+263
| |
| * renameUnreal Hoang2019-05-162-2/+2
| |
* | apply T! macro where it is possibleSergey Parilin2019-05-157-23/+24
|/
* switch to once_cell from lazy_staticAleksey Kladov2019-05-072-5/+3
|
* removed duplicating fill_struct_fields assistSergey Parilin2019-05-062-228/+0
|
* fill struct fields diagnosticSergey Parilin2019-05-061-0/+5
|
* Remove collectJeremy Kolb2019-05-051-2/+1
|
* add complex match case and documentationUnreal Hoang2019-05-011-13/+29
|
* move guard to arm body assist.Unreal Hoang2019-05-012-0/+101
|
* Merge #1194bors[bot]2019-04-223-70/+139
|\ | | | | | | | | | | | | | | | | 1194: Pr 1190 r=matklad a=matklad Co-authored-by: Andrea Pretto <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * move auto-imoprter into IDEAleksey Kladov2019-04-221-3/+1
| | | | | | | | | | auto-import is purely an IDE concern, so it should be done outside of HIR
| * complete_import: add new import resolver infrastructure with some hardcoded ↵Andrea Pretto2019-04-211-1/+1
| | | | | | | | | | | | importable name. Changes complete_scope to support that.
| * auto_import: better no anchor managementAndrea Pretto2019-04-211-7/+48
| |
| * auto_import: make auto import working with target as a list of SmolStr ↵Andrea Pretto2019-04-211-63/+65
| | | | | | | | instead of ast::Path
| * auto_import: use TextEditBuilder instead of AssistBuilder to make it more ↵Andrea Pretto2019-04-212-8/+36
| | | | | | | | reusable
* | drop useless testAleksey Kladov2019-04-221-28/+0
| |
* | move add_missing_members to structured editing APIAleksey Kladov2019-04-222-129/+178
| | | | | | | | | | Currently, this is more code, and we also loose auto-indenting of bodies, but, long-term, this is the right approach
* | more type safetyAleksey Kladov2019-04-223-4/+29
| |
* | test short structsAleksey Kladov2019-04-212-4/+38
| |
* | use structured editing API for fill struct assistAleksey Kladov2019-04-213-119/+138
| |
* | start structured editing APIAleksey Kladov2019-04-213-0/+156
|/
* better formatting when adding trait membersAleksey Kladov2019-04-171-8/+23
| | | | | | * it's conventional not to use one-liners * new placement is more predictable, b/c it does not depend on header's length
* replace usages of `algo::generate` with `iter::successors` from stdRobin Freyler2019-04-131-2/+3
|
* fold ScopeWithSyntax into SourceAnalyzerAleksey Kladov2019-04-131-1/+1
|
* hide some scopesAleksey Kladov2019-04-131-8/+3
|
* use really correct resolver for expressionsAleksey Kladov2019-04-124-3/+4
|
* fix typoAleksey Kladov2019-04-111-2/+2
|
* renameAleksey Kladov2019-04-114-6/+6
|
* introduce SourceAnalyzerAleksey Kladov2019-04-114-28/+16
|
* Stylistic changes. Updated features.md with the new assists.Marco Groppo2019-04-091-8/+6
|
* Add explicit type assist.Marco Groppo2019-04-082-0/+97
|
* remove flavorAleksey Kladov2019-04-021-2/+2
|
* add ast::tokensAleksey Kladov2019-04-022-8/+3
|
* intelligently add parens when inlining local varaiblesgfreezy2019-04-012-44/+391
|
* switch to new rowanAleksey Kladov2019-04-0112-56/+62
|
* Flip any binary expression except assignments.Marco Groppo2019-03-261-64/+56
|
* Assist to flip (some) binary expressions.Marco Groppo2019-03-253-88/+151
| | | | This assist can flip the following operators: ==, !=, >, >=, <, <=.
* Merge #1037bors[bot]2019-03-252-0/+300
|\ | | | | | | | | | | | | | | 1037: inline immutable local varialbe r=matklad a=gfreezy resolved #1033 Co-authored-by: gfreezy <[email protected]>
| * use | instead of multiple match armsgfreezy2019-03-251-27/+27
| |
| * inline immutable local varialbegfreezy2019-03-252-0/+300
| |