aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assists/auto_import.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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