Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move target to AssistLabel | Aleksey Kladov | 2020-05-06 | 36 | -256/+292 | |
| | | | | | Target is used for assists sorting, so we need it before we compute the action. | |||||
* | Regenerate | Aleksey Kladov | 2020-05-06 | 2 | -38/+40 | |
| | ||||||
* | Merge doc_tests and tests | Aleksey Kladov | 2020-05-06 | 4 | -41/+28 | |
| | ||||||
* | Merge assits::test_helpers and tests | Aleksey Kladov | 2020-05-06 | 35 | -180/+172 | |
| | ||||||
* | Fixup tests | Aleksey Kladov | 2020-05-05 | 2 | -13/+13 | |
| | ||||||
* | Rename AtomTextEdit -> Indel | Aleksey Kladov | 2020-05-05 | 1 | -3/+1 | |
| | ||||||
* | Minor cleanups | Aleksey Kladov | 2020-05-05 | 2 | -6/+9 | |
| | ||||||
* | Fix compilation | Aleksey Kladov | 2020-05-05 | 1 | -1/+1 | |
| | ||||||
* | Move group_label where it belongs | Aleksey Kladov | 2020-05-05 | 2 | -7/+6 | |
| | ||||||
* | use GroupLabel for type safety | Aleksey Kladov | 2020-05-05 | 1 | -3/+4 | |
| | ||||||
* | Minor rename | Aleksey Kladov | 2020-05-05 | 1 | -3/+3 | |
| | ||||||
* | Flip Assist::new arguments | Aleksey Kladov | 2020-05-05 | 2 | -4/+4 | |
| | ||||||
* | Rename ImplItem to AssocItem | Edwin Cheng | 2020-05-05 | 3 | -20/+20 | |
| | ||||||
* | Merge #4265 | bors[bot] | 2020-05-05 | 1 | -3/+10 | |
|\ | | | | | | | | | | | | | | | 4265: Make `change_visibility` assist work for tuple struct fields r=matklad a=Jesse-Bakker Fixes #4206 Co-authored-by: Jesse Bakker <[email protected]> | |||||
| * | Make `change_visibility` assist work for tuple struct field visibility | Jesse Bakker | 2020-05-02 | 1 | -3/+10 | |
| | | ||||||
* | | Simplify | Aleksey Kladov | 2020-05-04 | 1 | -33/+34 | |
| | | ||||||
* | | Simplify | Aleksey Kladov | 2020-05-04 | 1 | -13/+13 | |
| | | ||||||
* | | Support auto-import in macro | Edwin Cheng | 2020-05-02 | 5 | -19/+66 | |
|/ | ||||||
* | Add unwrap block assist #4156 | Benjamin Coenen | 2020-05-02 | 1 | -3/+2 | |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer | Benjamin Coenen | 2020-05-02 | 8 | -91/+134 | |
|\ | ||||||
| * | Add missing members generates indented blocks | Aleksey Kladov | 2020-05-02 | 2 | -79/+119 | |
| | | ||||||
| * | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 4 | -11/+12 | |
| | | ||||||
| * | Remove lower_path from AssistCtx to Semantic | Edwin Cheng | 2020-05-01 | 2 | -7/+4 | |
| | | ||||||
| * | Introduce LowerCtx for path lowering | Edwin Cheng | 2020-05-01 | 3 | -4/+9 | |
| | | ||||||
* | | Add unwrap block assist #4156 | Benjamin Coenen | 2020-05-02 | 1 | -76/+13 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | Add unwrap block assist #4156 | Benjamin Coenen | 2020-05-01 | 1 | -46/+23 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer | Benjamin Coenen | 2020-05-01 | 6 | -90/+237 | |
|\| | ||||||
| * | More principled approach for finding From trait | Aleksey Kladov | 2020-04-29 | 3 | -37/+94 | |
| | | ||||||
| * | Use specific pattern when translating if-let-else to match | Aleksey Kladov | 2020-04-29 | 4 | -20/+123 | |
| | | | | | | | | | | | | We *probably* should actually use the same machinery here, as we do for fill match arms, but just special-casing options and results seems to be a good first step. | |||||
| * | Move shared assist code to utils | Aleksey Kladov | 2020-04-29 | 3 | -48/+35 | |
| | | ||||||
* | | Add unwrap block assist #4156 | Benjamin Coenen | 2020-04-29 | 2 | -3/+3 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | Add unwrap block assist #4156 | Benjamin Coenen | 2020-04-29 | 3 | -0/+456 | |
|/ | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | Switch to TryFrom | Aleksey Kladov | 2020-04-25 | 4 | -6/+6 | |
| | ||||||
* | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 1 | -2/+1 | |
| | ||||||
* | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 21 | -56/+56 | |
| | ||||||
* | Add `pub(crate)` to functions generated in other module | Timo Freiberg | 2020-04-21 | 1 | -46/+23 | |
| | ||||||
* | Jump to sourceChanges in other files | Timo Freiberg | 2020-04-21 | 2 | -13/+10 | |
| | ||||||
* | Add target file information to AssistAction | Timo Freiberg | 2020-04-21 | 3 | -16/+78 | |
| | ||||||
* | Make add_function generate functions in other modules via qualified path | Timo Freiberg | 2020-04-21 | 2 | -26/+197 | |
| | ||||||
* | Do not add default and closure types in 'add explicit type' assist | Kirill Bulatov | 2020-04-21 | 1 | -5/+43 | |
| | ||||||
* | Fix panic in split_imports assist | Aleksey Kladov | 2020-04-20 | 1 | -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 | |||||
* | Some clippy fixes | Jeremy Kolb | 2020-04-19 | 3 | -3/+3 | |
| | ||||||
* | Change add_function assist to use todo!() | Timo Freiberg | 2020-04-13 | 2 | -28/+28 | |
| | ||||||
* | Fix PR | IceSentry | 2020-04-13 | 1 | -14/+8 | |
| | ||||||
* | Generalize test and clean up imports | IceSentry | 2020-04-13 | 1 | -8/+7 | |
| | ||||||
* | Fix double comma when merge imports on second line | IceSentry | 2020-04-13 | 1 | -3/+37 | |
| | | | | | | | | | | | This fixes the a bug when merging imports from the second line when it already has a comma it would previously insert a comma. There's probably a better way to check for a COMMA. This also ends up with a weird indentation, but rust-fmt can easily deal with it so I'm not sure how to resolve that. Closes #3832 | |||||
* | Remove more unnecessary braces | Laurențiu Nicola | 2020-04-12 | 1 | -2/+2 | |
| | ||||||
* | Align grammar for record patterns and literals | Aleksey Kladov | 2020-04-11 | 1 | -19/+13 | |
| | | | | | | The grammar now looks like this [name_ref :] pat | |||||
* | Merge #3925 | bors[bot] | 2020-04-11 | 3 | -0/+247 | |
|\ | | | | | | | | | | | | | | | | | | | 3925: Implement assist "Reorder field names" r=matklad a=geoffreycopin This PR implements the "Reorder record fields" assist as discussed in issue #3821 . Adding a `RecordFieldPat` variant to the `Pat` enum seemed like the easiest way to handle the `RecordPat` children as a single sequence of elements, maybe there is a better way ? Co-authored-by: Geoffrey Copin <[email protected]> | |||||
| * | Generate doc | Geoffrey Copin | 2020-04-11 | 1 | -0/+15 | |
| | |