aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/merge_imports.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename UseItem -> UseAleksey Kladov2020-07-301-1/+1
|
* Move AssistKind into AssistIdkjeremy2020-07-021-2/+1
|
* Categorize assistsJeremy Kolb2020-07-021-4/+10
|
* Fix panic in split and merge import assistsLaurențiu Nicola2020-06-231-1/+11
|
* More snippetsAleksey Kladov2020-05-201-12/+10
|
* SimplifyAleksey Kladov2020-05-071-1/+1
|
* Refactor assists API to be more convenient for adding new assistsAleksey Kladov2020-05-071-5/+8
| | | | It now duplicates completion API in its shape.
* Move target to AssistLabelAleksey Kladov2020-05-061-1/+2
| | | | | Target is used for assists sorting, so we need it before we compute the action.
* Merge assits::test_helpers and testsAleksey Kladov2020-05-061-1/+1
|
* Some clippy fixesJeremy Kolb2020-04-191-1/+1
|
* Fix PRIceSentry2020-04-131-14/+8
|
* Generalize test and clean up importsIceSentry2020-04-131-8/+7
|
* Fix double comma when merge imports on second lineIceSentry2020-04-131-3/+37
| | | | | | | | | | | This fixes the a bug when merging imports from the second line when it already has a comma it would previously insert a comma. There's probably a better way to check for a COMMA. This also ends up with a weird indentation, but rust-fmt can easily deal with it so I'm not sure how to resolve that. Closes #3832
* Curley tokensAleksey Kladov2020-04-101-2/+2
|
* Add _token suffix to token accessorsAleksey Kladov2020-04-091-1/+1
| | | | | I think this makes is more clear which things are : AstNode and which are : AstToken
* Provide more complete AST accessors to support usage in rustcLuca Barbieri2020-04-091-2/+2
|
* Fix merge-imports assist for wildcard importsPiotr Szpetkowski2020-03-271-0/+28
|
* Generalise syntax rewriting infrastructure to allow removal of nodesAleksey Kladov2020-03-241-33/+52
|
* Add a testAleksey Kladov2020-03-231-0/+18
|
* Merge nested use treesAleksey Kladov2020-03-191-20/+52
|
* GeneralizeAleksey Kladov2020-03-191-7/+6
|
* Merge imports assistAleksey Kladov2020-03-181-0/+154
Work towards #2220