aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists
Commit message (Collapse)AuthorAgeFilesLines
...
* Document AssistBuilderAleksey Kladov2019-07-292-10/+23
| | | | closes #1603
* streamline APIAleksey Kladov2019-07-211-2/+3
|
* switch to upstream rowan's APIAleksey Kladov2019-07-205-13/+15
|
* align SyntaxText API with upstreamAleksey Kladov2019-07-203-4/+7
|
* rename range -> text_rangeAleksey Kladov2019-07-2017-64/+73
|
* sane indexing in textAleksey Kladov2019-07-191-4/+3
|
* convenience apiAleksey Kladov2019-07-191-4/+4
|
* migrate ra_assists to the new ASTAleksey Kladov2019-07-1916-203/+212
|
* make Parse fields privateAleksey Kladov2019-07-122-5/+6
| | | | this is in preparation for the new rowan API
* move whitespace manipulation inside AstEditorEkaterina Babshukova2019-07-102-19/+17
|
* readabilityJeremy Kolb2019-07-051-1/+4
|
* Clippy changesJeremy Kolb2019-07-052-21/+15
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-6/+6
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-0418-82/+79
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* extend add_impl_members to constants and typesEkaterina Babshukova2019-07-032-50/+87
|
* Review 1Changyu Li2019-06-251-16/+19
|
* 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
|