aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assist_ctx.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make FromSource privateAleksey Kladov2020-01-161-2/+6
|
* Reduce visibilityKirill Bulatov2020-01-151-1/+1
|
* itertools::Either -> either::EitherKirill Bulatov2020-01-151-1/+1
|
* Apply the api design suggestionsKirill Bulatov2020-01-151-11/+14
|
* Another attempt to add multiple editsKirill Bulatov2020-01-151-6/+39
|
* Cleanup assertkjeremy2020-01-141-5/+1
|
* unwrapJeremy Kolb2020-01-141-2/+2
|
* Assert that first letter is capitalizedJeremy Kolb2020-01-141-0/+6
|
* Fill in type params in 'add missing impl members' assistFlorian Diebold2019-12-241-1/+1
|
* Rename Source -> InFileAleksey Kladov2019-11-281-2/+2
|
* Force passing Source when creating a SourceAnalyzerAleksey Kladov2019-11-151-1/+1
|
* Reduce some duplicationAleksey Kladov2019-11-151-2/+8
|
* further simplify assistsAleksey Kladov2019-10-271-20/+16
|
* simplify AssistCtx APIAleksey Kladov2019-10-271-7/+3
| | | | | We never actually use ability to create multiple actions out of a single context
* lightly document assist_ctx moduleAleksey Kladov2019-10-271-1/+1
|
* use more consistent namingAleksey Kladov2019-10-271-1/+1
| | | | | I think this is the first time I use global rename for rust-analyzer itself :-)
* extract assist helper for getting a specific tokenAleksey Kladov2019-10-271-1/+5
|
* add syntax-tree based indentsAleksey Kladov2019-10-121-0/+1
|
* Merge branch 'master' into feature/issue/1856Alexander Andreev2019-09-301-1/+5
|\ | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs
| * move field list to ast/edit.rsAleksey Kladov2019-09-301-3/+1
| |
| * migrate add impl items to the new editing APIAleksey Kladov2019-09-281-1/+7
| |
* | Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
|/ | | | #1856
* Document AssistBuilderAleksey Kladov2019-07-291-4/+11
| | | | closes #1603
* streamline APIAleksey Kladov2019-07-211-2/+3
|
* rename range -> text_rangeAleksey Kladov2019-07-201-1/+1
|
* migrate ra_assists to the new ASTAleksey Kladov2019-07-191-7/+7
|
* make Parse fields privateAleksey Kladov2019-07-121-2/+2
| | | | this is in preparation for the new rowan API
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-5/+5
| | | | | | 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
* fix typos in mbe testsAleksey Kladov2019-05-281-1/+1
|
* Merge #1194bors[bot]2019-04-221-0/+4
|\ | | | | | | | | | | | | | | | | 1194: Pr 1190 r=matklad a=matklad Co-authored-by: Andrea Pretto <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * auto_import: use TextEditBuilder instead of AssistBuilder to make it more ↵Andrea Pretto2019-04-211-0/+4
| | | | | | | | reusable
* | use structured editing API for fill struct assistAleksey Kladov2019-04-211-0/+4
|/
* intelligently add parens when inlining local varaiblesgfreezy2019-04-011-0/+4
|
* switch to new rowanAleksey Kladov2019-04-011-6/+6
|
* Assign IDs to assistsAleksey Kladov2019-02-241-2/+3
|
* ra_assists: assist "providers" can produce multiple assistsAndrea Pretto2019-02-111-14/+27
|
* Merge #766bors[bot]2019-02-091-1/+1
|\ | | | | | | | | | | | | | | | | | | 766: Formatting code into ra_fmt r=matklad a=eulerdisk As discussed https://github.com/rust-analyzer/rust-analyzer/pull/762#discussion_r254905885 I did only move the code without other improvements. Co-authored-by: Andrea Pretto <[email protected]>
| * Refactor formatting code out of ra_ida_api_light into ra_fmt.Andrea Pretto2019-02-081-1/+1
| |
* | Add some assist rangesrobojumper2019-02-081-2/+11
|/
* reformat the worldAleksey Kladov2019-02-081-13/+3
|
* move assists to a separate crateAleksey Kladov2019-02-061-0/+154