aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/add_missing_impl_members.rs
Commit message (Collapse)AuthorAgeFilesLines
* remove inherent source implsAleksey Kladov2019-06-111-1/+1
|
* use Source for TraitAleksey Kladov2019-06-111-1/+1
|
* Remove collectJeremy Kolb2019-05-051-2/+1
|
* move add_missing_members to structured editing APIAleksey Kladov2019-04-221-111/+38
| | | | | Currently, this is more code, and we also loose auto-indenting of bodies, but, long-term, this is the right approach
* 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
* use really correct resolver for expressionsAleksey Kladov2019-04-121-1/+1
|
* fix typoAleksey Kladov2019-04-111-2/+2
|
* renameAleksey Kladov2019-04-111-3/+3
|
* introduce SourceAnalyzerAleksey Kladov2019-04-111-8/+7
|
* add ast::tokensAleksey Kladov2019-04-021-1/+1
|
* switch to new rowanAleksey Kladov2019-04-011-5/+8
|
* Add assist for adding default methodsgfreezy2019-03-231-3/+58
|
* Add impl members assist shold not copy docstrings, attrs and default methods.gfreezy2019-03-231-22/+42
|
* Move the primary assist fn to the top of the fileIgor Matuszewski2019-03-161-30/+30
|
* Provide assist when cursor is immediately outside impl item blockIgor Matuszewski2019-03-161-14/+18
|
* Do a cleanup/legibility passIgor Matuszewski2019-03-161-21/+21
|
* Take into account parent indent when filling trait membersIgor Matuszewski2019-03-161-9/+41
|
* Simplify trait resolution fragmentIgor Matuszewski2019-03-161-6/+3
|
* Ignore unnamed trait fns and add more testsIgor Matuszewski2019-03-161-2/+70
|
* Simplify calculation of missing functionsIgor Matuszewski2019-03-161-9/+2
| | | | | | Asymptotically computing a set difference is faster but in the average case we won't have more than ~10 functions. Also prefer not using hash sets as these may yield nondeterministic results.
* Properly support the case when the cursor is inside an empty block or outsideIgor Matuszewski2019-03-161-15/+44
|
* Redo indent calculation when adding missing impl membersIgor Matuszewski2019-03-161-9/+21
|
* Implement a simple working assistIgor Matuszewski2019-03-161-13/+59
|
* Calculate missing functions from impl bodyIgor Matuszewski2019-03-161-1/+62
|
* Add 'add_missing_impl_members' assist stubIgor Matuszewski2019-03-161-0/+41