aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/split_import.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move AssistKind into AssistIdkjeremy2020-07-021-1/+1
|
* Recategorize a fewkjeremy2020-07-021-1/+1
|
* Categorize assistsJeremy Kolb2020-07-021-2/+2
|
* Fix panic in split and merge import assistsLaurențiu Nicola2020-06-231-0/+10
|
* More snippetsAleksey Kladov2020-05-201-4/+2
|
* SimplifyAleksey Kladov2020-05-071-1/+1
|
* Refactor assists API to be more convenient for adding new assistsAleksey Kladov2020-05-071-3/+3
| | | | It now duplicates completion API in its shape.
* Move target to AssistLabelAleksey Kladov2020-05-061-2/+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
|
* Fix panic in split_imports assistAleksey Kladov2020-04-201-1/+6
| | | | | | | | | | | | | | | The fix is admittedly quit literally just papering over. Long-term, I see two more principled approaches: * we switch to a fully tree-based impl, without parse . to_string step; with this approach, there shouldn't be any panics. The results might be nonsensical, but so was the original input. * we preserve the invariant that re-parsing constructed node is an identity, and make all the `make_xxx` method return an `Option`. closes #4044
* Merge imports assistAleksey Kladov2020-03-181-23/+6
| | | | Work towards #2220
* Rerail split_import API onto ASTAleksey Kladov2020-03-061-19/+33
| | | | | The code is more verbose and less efficient now, but should be reusable in add_import context as well
* Name assist handlersAleksey Kladov2020-02-071-0/+69