aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/auto_import.rs
Commit message (Collapse)AuthorAgeFilesLines
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-8/+9
| | | | | | 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 clippy::or_fun_callAlan Du2019-06-041-2/+2
|
* apply T! macro where it is possibleSergey Parilin2019-05-151-3/+4
|
* move auto-imoprter into IDEAleksey Kladov2019-04-221-3/+1
| | | | | auto-import is purely an IDE concern, so it should be done outside of HIR
* auto_import: better no anchor managementAndrea Pretto2019-04-211-7/+48
|
* auto_import: make auto import working with target as a list of SmolStr ↵Andrea Pretto2019-04-211-63/+65
| | | | instead of ast::Path
* auto_import: use TextEditBuilder instead of AssistBuilder to make it more ↵Andrea Pretto2019-04-211-8/+32
| | | | reusable
* switch to new rowanAleksey Kladov2019-04-011-7/+6
|
* Assign IDs to assistsAleksey Kladov2019-02-241-4/+12
|
* auto_import: fix bug when the common path was shorter than both the current ↵Andrea Pretto2019-02-141-18/+67
| | | | | | use and target path. Shorter test names.
* auto_import: import in enclosing module instead of fileAndrea Pretto2019-02-121-4/+38
|
* auto_import: more tests and some refactoringsAndrea Pretto2019-02-121-12/+46
|
* ra_assists: assist "providers" can produce multiple assistsAndrea Pretto2019-02-111-3/+5
|
* auto_import: use ra_fmtAndrea Pretto2019-02-091-109/+29
|
* auto_import: struct variants for ImportActionAndrea Pretto2019-02-091-44/+107
|
* auto_import: remove PathSegmentsMatchAndrea Pretto2019-02-091-65/+37
|
* auto_import: Removed Empty in favor of Partial(0)Andrea Pretto2019-02-091-16/+10
| | | | auto_import: Removed unecessary lifetimes
* auto_import assistAndrea Pretto2019-02-091-0/+780