Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add if let and while let postfix for Option and Result | Benjamin Coenen | 2020-05-10 | 1 | -2/+2 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Merge #4392 | bors[bot] | 2020-05-09 | 1 | -14/+11 |
|\ | | | | | | | | | | | | | | | | | | | | | 4392: Add From should not move the cursor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Add From should not move the cursor | Aleksey Kladov | 2020-05-09 | 1 | -14/+11 |
| | | |||||
* | | Ascribe more correct types | Aleksey Kladov | 2020-05-09 | 1 | -9/+10 |
|/ | |||||
* | unindent -> dedent | Aleksey Kladov | 2020-05-09 | 1 | -1/+1 |
| | |||||
* | More fluent indent API | Aleksey Kladov | 2020-05-09 | 6 | -21/+32 |
| | |||||
* | Fix visibility | Aleksey Kladov | 2020-05-09 | 1 | -1/+1 |
| | |||||
* | Use new HirDisplay variant in add_function assist | Timo Freiberg | 2020-05-08 | 1 | -58/+116 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-05-07 | 5 | -6/+5 |
| | |||||
* | Nicer API | Aleksey Kladov | 2020-05-07 | 2 | -41/+41 |
| | |||||
* | Rename AssitLabel -> Assist | Aleksey Kladov | 2020-05-07 | 3 | -21/+21 |
| | |||||
* | Refactor assists API to be more convenient for adding new assists | Aleksey Kladov | 2020-05-07 | 38 | -593/+521 |
| | | | | It now duplicates completion API in its shape. | ||||
* | add Ok wrapping | Benjamin Coenen | 2020-05-06 | 3 | -0/+986 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Simplify | Aleksey Kladov | 2020-05-06 | 3 | -33/+17 |
| | |||||
* | Rename | Aleksey Kladov | 2020-05-06 | 3 | -12/+12 |
| | |||||
* | Use SourceChange for assists | Aleksey Kladov | 2020-05-06 | 3 | -35/+33 |
| | |||||
* | Fix TODO | Aleksey Kladov | 2020-05-06 | 2 | -19/+13 |
| | |||||
* | 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 |
| |