aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assist_ctx.rs
Commit message (Collapse)AuthorAgeFilesLines
* Support auto-import in macroEdwin Cheng2020-05-021-5/+25
|
* Convert code to text-sizeAleksey Kladov2020-04-251-4/+4
|
* Add target file information to AssistActionTimo Freiberg2020-04-211-1/+7
|
* Generalise syntax rewriting infrastructure to allow removal of nodesAleksey Kladov2020-03-241-0/+6
|
* Unfold groups with single assists into plain assistsKirill Bulatov2020-03-051-2/+5
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-29/+11
| | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax.
* Simplify Assists interfaceAleksey Kladov2020-02-091-45/+38
| | | | | Instead of building a physical tree structure, just "tag" related assists with the same group
* Slightly simpler API for groupsAleksey Kladov2020-02-091-29/+63
|
* Name assist handlersAleksey Kladov2020-02-071-0/+2
|
* CleanupAleksey Kladov2020-02-071-4/+3
|
* SimplifyAleksey Kladov2020-02-071-14/+2
|
* Assists are not genericAleksey Kladov2020-02-061-8/+8
|
* Start switching assists to a root databaseAleksey Kladov2020-02-061-4/+12
|
* Initial auto import action implementationKirill Bulatov2020-01-261-2/+0
|
* 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
|