Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal: add derive and ord support to minicore | Aleksey Kladov | 2021-06-17 | 1 | -0/+1 |
| | |||||
* | Nest all the or-patterns! | Lukas Wirth | 2021-06-17 | 1 | -3/+4 |
| | |||||
* | internal: prepare to move assist definitions | Aleksey Kladov | 2021-06-14 | 1 | -13/+13 |
| | |||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 1 | -1/+1 |
| | |||||
* | reduce duplication | Aleksey Kladov | 2021-05-23 | 1 | -1/+1 |
| | |||||
* | Merge #8901 | bors[bot] | 2021-05-22 | 1 | -2/+19 |
|\ | | | | | | | | | | | | | | | | | | | | | 8901: fix: `fill_match_arms` hangs on a tuple of large enums r=matklad a=iDawer + Lazy computation of missing arms. + Convenience function to test lazy computation: `ide_assists::tests::check_assist_unresolved`. Fixes #8835 Co-authored-by: Dawer <[email protected]> | ||||
| * | Test `fill_match_arms` for lazy computation. | Dawer | 2021-05-21 | 1 | -2/+19 |
| | | | | | | | | This also adds `ide_assists::tests::check_assist_unresolved` function. | ||||
* | | Replace ImportGranularity::Guess with guessing boolean flag | Lukas Tobias Wirth | 2021-05-19 | 1 | -0/+1 |
| | | |||||
* | | MergeBehavior -> ImportGranularity | Lukas Tobias Wirth | 2021-05-18 | 1 | -2/+5 |
|/ | |||||
* | Give MergeBehaviour variants better names | Lukas Wirth | 2021-05-10 | 1 | -1/+1 |
| | |||||
* | Tests added | Kirill Bulatov | 2021-05-03 | 1 | -1/+242 |
| | |||||
* | Add a way to resolve certain assists | Kirill Bulatov | 2021-05-03 | 1 | -9/+12 |
| | |||||
* | Split out merge_imports module from helpers::insert_use | Lukas Wirth | 2021-04-24 | 1 | -4/+1 |
| | |||||
* | Merge #8467 | bors[bot] | 2021-04-19 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8467: Adds impl Deref assist r=jhgg a=jhgg This PR adds a new `generate_deref` assist that automatically generates a deref impl for a given struct field. Check out this gif: ![2021-04-11_00-33-33](https://user-images.githubusercontent.com/5489149/114296006-b38e1000-9a5d-11eb-9112-807c01b8fd0a.gif) -- I have a few Q's: - [x] Should I write more tests, if so, what precisely should I test for? - [x] I have an inline question on line 65, can someone provide guidance? :) - [x] I can implement this for `ast::TupleField` too. But should it be a separate assist fn, or should I try and jam both into the `generate_deref`? - [x] I want to follow this up with an assist on `impl $0Deref for T {` which would automatically generate a `DerefMut` impl that mirrors the Deref as well, however, I could probably use some pointers on how to do that, since I'll have to reach into the ast of `fn deref` to grab the field that it's referencing for the `DerefMut` impl. Co-authored-by: jake <[email protected]> | ||||
| * | Adds impl Deref assist | jake | 2021-04-11 | 1 | -0/+1 |
| | | |||||
* | | Add some more error messages to fixture failure cases | Lukas Wirth | 2021-04-17 | 1 | -2/+4 |
|/ | |||||
* | Make group imports configurable | asv | 2021-03-07 | 1 | -0/+1 |
| | |||||
* | Compress tests | Aleksey Kladov | 2021-03-02 | 1 | -45/+1 |
| | |||||
* | pull out suggest_name::* to utils; enchance heuristics | Vladyslav Katasonov | 2021-03-02 | 1 | -1/+45 |
| | |||||
* | Use consistent naming for assist | Aleksey Kladov | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | 7526: Rename crate assists to ide_assists. | Chetan Khilosiya | 2021-02-22 | 1 | -0/+275 |