Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Less lifetines: derive SemanticsScope in place | Kirill Bulatov | 2021-03-08 | 2 | -20/+15 |
| | |||||
* | Enforce the located imports' order | Kirill Bulatov | 2021-03-08 | 2 | -2/+2 |
| | |||||
* | Work towards better import labels | Kirill Bulatov | 2021-03-08 | 3 | -19/+26 |
| | |||||
* | Do not propose already imported imports | Kirill Bulatov | 2021-03-08 | 1 | -1/+3 |
| | |||||
* | Properly handle turbofishes in qualifiers | Kirill Bulatov | 2021-03-08 | 2 | -2/+2 |
| | |||||
* | Return more data about located imports | Kirill Bulatov | 2021-03-08 | 2 | -9/+18 |
| | |||||
* | Draft the qualifier import resolution | Kirill Bulatov | 2021-03-08 | 1 | -3/+6 |
| | |||||
* | Test and initial refactoring | Kirill Bulatov | 2021-03-08 | 2 | -37/+2 |
| | |||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 23 | -150/+109 |
| | |||||
* | Hygiene is an internal implementation detail of the compiler | Aleksey Kladov | 2021-03-08 | 2 | -4/+6 |
| | |||||
* | Merge #7889 | bors[bot] | 2021-03-07 | 3 | -4/+3 |
|\ | | | | | | | | | | | | | | | 7889: Make group imports configurable r=lnicola a=asv1 Co-authored-by: asv <[email protected]> | ||||
| * | Make group imports configurable | asv | 2021-03-07 | 3 | -4/+3 |
| | | |||||
* | | Merge #7896 | bors[bot] | 2021-03-06 | 1 | -59/+77 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 7896: Only replace quotes in replace_string_with_char assist r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Only replace quotes in replace_string_with_char assist | Lukas Wirth | 2021-03-06 | 1 | -59/+77 |
| | | | |||||
* | | | Merge #7800 | bors[bot] | 2021-03-06 | 1 | -0/+374 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 7800: [WIP] 7708: Initial implementation of generate Default assist. r=Veykril a=chetankhilosiya The Generate Default impl from new function. Co-authored-by: Chetan Khilosiya <[email protected]> | ||||
| * | | 7708: rust ideomatic code fixes. | Chetan Khilosiya | 2021-03-06 | 1 | -9/+11 |
| | | | |||||
| * | | 7708: handle both FamousDefs fixture and plain code. | Chetan Khilosiya | 2021-03-06 | 1 | -8/+18 |
| | | | | | | | | | | | | Also fix typo in example. | ||||
| * | | 7708: Added the updated implementation of is_default_implemented. | Chetan Khilosiya | 2021-03-06 | 1 | -33/+31 |
| | | | | | | | | | | | | The implementation uses hir create to find the implemented trait. | ||||
| * | | 7708: Added the logic to check is default impl is already present. | Chetan Khilosiya | 2021-03-06 | 1 | -18/+97 |
| | | | | | | | | | | | | Also added test cases for code present within module. | ||||
| * | | 7708: Updated generate default fn logic. | Chetan Khilosiya | 2021-03-06 | 1 | -22/+48 |
| | | | |||||
| * | | 7708: Added the work for review comments. | Chetan Khilosiya | 2021-03-06 | 1 | -31/+60 |
| | | | | | | | | | | | | Also added 1 test case to test multiple struct blocks are present. | ||||
| * | | 7708: Fixed many documentaion example issues. | Chetan Khilosiya | 2021-03-06 | 1 | -6/+6 |
| | | | |||||
| * | | 7708: Format code through rust-analyzer formatter. | Chetan Khilosiya | 2021-03-06 | 1 | -35/+44 |
| | | | |||||
| * | | 7708: Initial implementation of generate Default assist. | Chetan Khilosiya | 2021-03-06 | 1 | -0/+221 |
| | | | | | | | | | | | | The Generate Default impl from new function. | ||||
* | | | Merge #7865 | bors[bot] | 2021-03-06 | 1 | -1/+37 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 7865: preserve escape sequences when replacing string with char r=Veykril a=jDomantas Currently it replaces escape sequence with the actual value, which is very wrong for `"\n"`. Co-authored-by: Domantas Jadenkus <[email protected]> | ||||
| * | | preserve escape sequences when replacing string with char | Domantas Jadenkus | 2021-03-03 | 1 | -1/+37 |
| | | | |||||
* | | | generate function assist convert arg names to lower snake case | Josh Mcguigan | 2021-03-06 | 1 | -4/+52 |
| |/ |/| | |||||
* | | Merge #7869 | bors[bot] | 2021-03-05 | 1 | -0/+43 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 7869: Add support for deref assignments to "pull assignment up" assist. r=Veykril a=Jesse-Bakker Fixes #7867 Co-authored-by: Jesse Bakker <[email protected]> | ||||
| * | | Add support for deref assignments to "pull assignment up" assist. | Jesse Bakker | 2021-03-05 | 1 | -0/+43 |
| |/ | | | | | | | Fixes #7867 | ||||
* | | Merge #7880 | bors[bot] | 2021-03-05 | 1 | -2/+8 |
|\ \ | |/ |/| | | | | | | | | | | | 7880: Honor snippet capability when using the extract function assist r=lnicola a=Arthamys This fixes issue #7793 Co-authored-by: san <[email protected]> | ||||
| * | Honor snippet capability in extract function assist | san | 2021-03-05 | 1 | -2/+8 |
| | | |||||
* | | Special-case parenthesized and negated expressions in demorgan assist | Jesse Bakker | 2021-03-03 | 1 | -2/+43 |
| | | |||||
* | | chore: remove redundant tests | Conrad Ludgate | 2021-03-02 | 1 | -30/+0 |
| | | |||||
* | | refactor: re-use add_turbo_fish function | Conrad Ludgate | 2021-03-02 | 2 | -199/+137 |
| | | |||||
* | | chore: fmt + docs | Conrad Ludgate | 2021-03-02 | 1 | -2/+2 |
| | | |||||
* | | chore: rename var | Conrad Ludgate | 2021-03-02 | 1 | -3/+3 |
| | | |||||
* | | feat: add type ascription assist | Conrad Ludgate | 2021-03-02 | 1 | -0/+198 |
| | | |||||
* | | pull out suggest_name::* to utils; enchance heuristics | Vladyslav Katasonov | 2021-03-02 | 1 | -88/+4 |
| | | |||||
* | | suggest parameter name before function name | Vladyslav Katasonov | 2021-03-02 | 1 | -5/+5 |
| | | |||||
* | | try to suggest name when extracting variable | Vladyslav Katasonov | 2021-03-02 | 1 | -7/+287 |
| | | |||||
* | | Merge #7777 | bors[bot] | 2021-03-02 | 1 | -0/+419 |
|\ \ | |/ |/| | | | | | | | | | | | 7777: Implement line<->block comment assist r=Veykril a=djrenren Fixes: https://github.com/rust-analyzer/rust-analyzer/issues/6515 Co-authored-by: John Renner <[email protected]> | ||||
| * | Apply edits | John Renner | 2021-03-01 | 1 | -51/+54 |
| | | |||||
| * | Implement line<->block comment assist | John Renner | 2021-02-25 | 1 | -0/+416 |
| | | |||||
* | | Use consistent naming for assist | Aleksey Kladov | 2021-02-28 | 1 | -9/+9 |
| | | |||||
* | | Don't spam loop-rewriting assist | Aleksey Kladov | 2021-02-28 | 2 | -2/+22 |
| | | | | | | | | The more focused the assist, the better! | ||||
* | | generate try_into instead of into | Domantas Jadenkus | 2021-02-27 | 1 | -42/+66 |
| | | |||||
* | | rename generate_enum_match_method file to match assist name | Domantas Jadenkus | 2021-02-27 | 1 | -0/+0 |
| | | |||||
* | | move into_ and as_ generation to a separate file | Domantas Jadenkus | 2021-02-27 | 2 | -399/+314 |
| | | |||||
* | | cargo fmt | Domantas Jadenkus | 2021-02-27 | 1 | -35/+20 |
| | | |||||
* | | add generate_enum_as_method assist | Domantas Jadenkus | 2021-02-27 | 1 | -0/+124 |
| | |