aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Move insert_use util to utilsAleksey Kladov2020-02-281-1/+0
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-3/+8
| | | | | | | | | | 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.
* Remove code duplication in testsAleksey Kladov2020-02-261-65/+49
|
* Add `remove_mut` assistAleksey Kladov2020-02-191-0/+2
|
* CleanupShotaro Yamada2020-02-191-1/+1
|
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-2/+2
|
* Added a utility function that can be used to determine the missing impl items.Kevin DeLorey2020-02-091-1/+1
|
* Simplify Assists interfaceAleksey Kladov2020-02-091-49/+15
| | | | | Instead of building a physical tree structure, just "tag" related assists with the same group
* Rename add import assistKirill Bulatov2020-02-071-3/+3
|
* Introduce assists utilsAleksey Kladov2020-02-071-0/+1
|
* Name assist handlersAleksey Kladov2020-02-071-32/+14
|
* CleanupAleksey Kladov2020-02-071-0/+8
|
* CleanupAleksey Kladov2020-02-071-3/+4
|
* SimplifyAleksey Kladov2020-02-071-28/+27
|
* Minor renameAleksey Kladov2020-02-061-5/+5
|
* Fix testsAleksey Kladov2020-02-061-12/+23
|
* Mostly remove ImoportLocator infraAleksey Kladov2020-02-061-152/+6
|
* Assists are not genericAleksey Kladov2020-02-061-16/+11
|
* Remove assists TestDBAleksey Kladov2020-02-061-2/+0
|
* Start switching assists to a root databaseAleksey Kladov2020-02-061-33/+28
|
* Make assists use ImportsLocator directlyAleksey Kladov2020-02-061-9/+9
|
* Code review fixesKirill Bulatov2020-01-271-2/+3
|
* Adjust the testsKirill Bulatov2020-01-261-6/+60
|
* Have a better trait interfaceKirill Bulatov2020-01-261-7/+3
|
* Remove unnecessary lifetime parameterKirill Bulatov2020-01-261-6/+6
|
* Initial auto import action implementationKirill Bulatov2020-01-261-13/+113
|
* fix typo in 'inline_local_variable'TomasKralCZ2020-01-191-1/+1
|
* itertools::Either -> either::EitherKirill Bulatov2020-01-151-1/+1
|
* Apply the api design suggestionsKirill Bulatov2020-01-151-13/+27
|
* Another attempt to add multiple editsKirill Bulatov2020-01-151-2/+5
|
* Fix casingJeremy Kolb2020-01-141-4/+7
|
* Fix ordering problem between qualifying paths and substituting paramsFlorian Diebold2020-01-111-0/+1
|
* assists: add assist for custom implementation for derived traitPaulo Lieuthier2019-11-281-0/+2
|
* initial invert_ifbravomikekilo2019-11-211-0/+2
|
* Add add_new assistWesley Norris2019-11-091-0/+2
| | | | | | | Adds a new assist to autogenerate a new fn based on the selected struct, excluding tuple structs and unions. The fn will inherit the same visibility as the struct and the assist will attempt to reuse any existing impl blocks that exist at the same level of struct.
* Restore assists testsAleksey Kladov2019-11-041-3/+5
|
* Rename MockDatabase -> TestDBAleksey Kladov2019-11-041-16/+16
| | | | Actually working rename is sooo useful!
* Remove more duplication in test fixturesAleksey Kladov2019-11-041-10/+10
|
* further simplify assistsAleksey Kladov2019-10-271-62/+21
|
* Merge #2090bors[bot]2019-10-271-3/+3
|\ | | | | | | | | | | | | | | 2090: move public stuff to top r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
| * rename auto_import -> add_importAleksey Kladov2019-10-271-3/+3
| | | | | | | | We are long way from auto imports at the moment
* | Fixes #2054.Wesley Norris2019-10-271-0/+2
|/ | | | This adds the `flip_trait_bound` assist which allows for the swapping of two trait bounds in a trait list that are next to each other.
* auto-generate assists docs and testsAleksey Kladov2019-10-251-1/+3
|
* Adds "replace with guarded return" assistMikhail Modin2019-10-201-0/+2
|
* WIP: Add demorgan application with naive negationLúcás Meier2019-10-031-0/+2
|
* remove ast_editor.rsAleksey Kladov2019-09-301-1/+0
|
* Start simplifying editing APIAleksey Kladov2019-09-261-1/+0
|
* keep ast creation API simpleAleksey Kladov2019-09-261-3/+1
|
* move ast builder to a separate fileAleksey Kladov2019-09-251-0/+1
|
* move assists to subdirAleksey Kladov2019-09-251-47/+53
|