aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assists/auto_import.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use proper import name in the labelKirill Bulatov2020-02-031-10/+6
|
* Simplify paths searchesKirill Bulatov2020-02-031-4/+3
|
* Use name only when searching for an import candidateKirill Bulatov2020-02-021-6/+16
|
* Merge #2982bors[bot]2020-02-021-10/+31
|\ | | | | | | | | | | | | | | 2982: Merge imports when auto importing r=flodiebold a=SomeoneToIgnore Co-authored-by: Kirill Bulatov <[email protected]>
| * Require ModPath for importingKirill Bulatov2020-02-021-6/+3
| |
| * Merge imports when auto importingKirill Bulatov2020-02-021-6/+30
| |
* | Auto import functionsKirill Bulatov2020-02-011-0/+24
|/
* Improve auto import messageLaurențiu Nicola2020-01-311-6/+10
|
* Properly select a target for auto importingKirill Bulatov2020-01-291-29/+17
|
* Code review fixesKirill Bulatov2020-01-271-5/+5
|
* Enforce alphabetical import sortingKirill Bulatov2020-01-261-2/+3
|
* Adjust the testsKirill Bulatov2020-01-261-55/+89
|
* Have a better trait interfaceKirill Bulatov2020-01-261-10/+16
|
* Remove unnecessary lifetime parameterKirill Bulatov2020-01-261-2/+2
|
* Initial auto import action implementationKirill Bulatov2020-01-261-0/+181
|
* rename auto_import -> add_importAleksey Kladov2019-10-271-940/+0
| | | | We are long way from auto imports at the moment
* use more consistent namingAleksey Kladov2019-10-271-1/+1
| | | | | I think this is the first time I use global rename for rust-analyzer itself :-)
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* Merge #1815bors[bot]2019-09-271-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1815: Support correct `$crate` expansion in macros r=uHOOCCOOHu a=uHOOCCOOHu This PR makes normal use cases of `$crate` from macros work as expected. It makes more macros from `std` work. Type inference works well with `panic`, `unimplemented`, `format`, and maybe more. Sadly that `vec![1, 2, 3]` still not works, but it is not longer an issue about macro. Screenshot: ![Screenshot_20190927_022136](https://user-images.githubusercontent.com/14816024/65714465-b4568f80-e0cd-11e9-8043-dd44c2ae8040.png) Co-authored-by: uHOOCCOOHu <[email protected]>
| * Support `$crate` in item and expr place.uHOOCCOOHu2019-09-261-1/+1
| |
* | Start simplifying editing APIAleksey Kladov2019-09-261-1/+0
|/
* move assists to subdirAleksey Kladov2019-09-251-0/+939