| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-16 | assists: turn while into loop | Andrzej Głuszak | -0/+5 | |
| 2021-09-04 | fix: use placeholder as default type in `Generate function`. | Dawer | -0/+3 | |
| 2021-09-01 | Fix extract_function with macro arg | Daiki Ihara | -0/+5 | |
| 2021-08-24 | internal: more declarative re-indentation API | Aleksey Kladov | -7/+8 | |
| 2021-08-18 | minor: address review comments | Dawer | -8/+6 | |
| 2021-08-18 | internal: introduce in-place indenting API | Dawer | -18/+61 | |
| 2021-08-14 | minor: move functionality to a better place | Aleksey Kladov | -26/+30 | |
| 2021-08-14 | internal: remove one more usage of old editing API. | Aleksey Kladov | -13/+17 | |
| 2021-08-14 | internal: remove a remnant of old editing infra | Aleksey Kladov | -28/+2 | |
| 2021-08-14 | internal: merge hir::BinaryOp and ast::BinOp | Aleksey Kladov | -193/+102 | |
| 2021-08-14 | internal: prepare to merge hir::BinaryOp and ast::BinOp | Aleksey Kladov | -5/+90 | |
| 2021-08-14 | internal: make naming consistent | Aleksey Kladov | -6/+6 | |
| 2021-08-14 | internal: prepare a dedicated module for all operators | Aleksey Kladov | -25/+29 | |
| 2021-08-13 | Support `if let` match guards | Jonas Schievink | -0/+3 | |
| 2021-08-12 | add `make::ext::path_from_idents` | Yoshua Wuyts | -0/+12 | |
| 2021-08-10 | wip enum record/tuple generation | Yoshua Wuyts | -0/+12 | |
| 2021-08-10 | add make::expr_op | Yoshua Wuyts | -0/+39 | |
| 2021-08-09 | generate method assist | mahdi-frms | -0/+4 | |
| 2021-08-08 | Merge #9814 | bors[bot] | -0/+6 | |
| 9814: Generate default impl when converting `#[derive(Debug)]` to manual impl r=yoshuawuyts a=yoshuawuyts This patch makes it so when you convert `#[derive(Debug)]` to a manual impl, a default body is provided that's equivalent to the original output of `#[derive(Debug)]`. This should make it drastically easier to write custom `Debug` impls, especially when all you want to do is quickly omit a single field which is `!Debug`. This is implemented for enums, record structs, tuple structs, empty structs - and it sets us up to implement variations on this in the future for other traits (like `PartialEq` and `Hash`). Thanks! ## Codegen diff This is the difference in codegen for record structs with this patch: ```diff struct Foo { bar: String, } impl fmt::Debug for Foo { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - todo!(); + f.debug_struct("Foo").field("bar", &self.bar).finish() } } ``` Co-authored-by: Irina Shestak <shestak.irina@gmail.com> Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com> Co-authored-by: Yoshua Wuyts <yoshuawuyts+github@gmail.com> | ||||
| 2021-08-08 | Implement if_to_bool_then assist | Lukas Wirth | -0/+4 | |
| 2021-08-08 | generate Debug for enums | Yoshua Wuyts | -0/+3 | |
| 2021-08-08 | debug for record field structs | Yoshua Wuyts | -0/+3 | |
| 2021-08-07 | Simplify | Lukas Wirth | -2/+16 | |
| 2021-08-05 | Merge #9790 | bors[bot] | -1/+19 | |
| 9790: fix: extract_type_alias extracts generics correctly r=Veykril a=Veykril Fixes #8335 bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-08-05 | extract_type_alias extracts generics correctly | Lukas Wirth | -1/+19 | |
| 2021-08-03 | tree-wide: fix rustdoc warnings, add some links | Jade | -2/+2 | |
| 2021-07-31 | Wrap inner tail expressions in MissingOkOrSomeInTailExpr | Lukas Wirth | -0/+1 | |
| 2021-07-31 | add_explicit_type is applicable for closure parameters | Lukas Wirth | -3/+35 | |
| 2021-07-30 | Merge #9727 | bors[bot] | -101/+118 | |
| 9727: internal: Simplify extract_function assist r=Veykril a=Veykril also fixes #7839(blocked on #9728) Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-07-30 | Merge #9728 | bors[bot] | -9/+5 | |
| 9728: fix: Attach comma token to MATCH_ARM instead of MATCH_ARM_LIST r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-07-30 | Fix assists assuming comma belonging to MATCH_ARM_LIST | Lukas Wirth | -9/+5 | |
| 2021-07-29 | Simplify extract_function assist | Lukas Wirth | -101/+118 | |
| 2021-07-29 | Use more strictly typed syntax nodes for analysis in extract_function assist | Lukas Wirth | -0/+75 | |
| 2021-07-21 | Fix some more basic clippy lints | Lukas Wirth | -1/+1 | |
| 2021-07-18 | Support GATs for associated type arg parsing | Lukas Wirth | -25/+26 | |
| 2021-07-10 | Respect coercions in `inline_call` | Lukas Wirth | -4/+13 | |
| 2021-07-09 | fix: Adding async keyword when await is present in generate_function assist | vi_mi | -2/+5 | |
| 2021-07-05 | Merge #9474 | bors[bot] | -0/+15 | |
| 9474: fix: Inline parameters in `inline_call` if possible r=Veykril a=Veykril Fixes #9491 Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-07-03 | Merge #9476 | bors[bot] | -2/+2 | |
| 9476: internal: overhaul codegen r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com> | ||||
| 2021-07-03 | internal: overhaul code generation | Aleksey Kladov | -2/+2 | |
| * Keep codegen adjacent to the relevant crates. * Remove codgen deps from xtask, speeding-up from-source installation. This regresses the release process a bit, as it now needs to run the tests (and, by extension, compile the code). | ||||
| 2021-07-03 | Inline parameters in `inline_call` if possible | Lukas Wirth | -0/+15 | |
| 2021-07-03 | Merge the inline function/method assists into `inline_call` | Lukas Wirth | -2/+1 | |
| 2021-07-03 | feat: Implement `inline_method` assist | Lukas Wirth | -11/+17 | |
| 2021-07-02 | `replace_match_with_if_let` works on more binary matches | Lukas Wirth | -0/+4 | |
| 2021-07-01 | Merge #9458 | bors[bot] | -3/+10 | |
| 9458: minor: Remove make::match_arm_with_guard r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-07-02 | Remove make::match_arm_with_guard | Lukas Wirth | -3/+10 | |
| 2021-07-01 | Merge #9455 | bors[bot] | -0/+13 | |
| 9455: feat: Handle not let if expressions in replace_if_let_with_match r=Veykril a=Veykril Transforms bare `if cond {}` into `_ if cond` guard patterns in the match as long as at least one `if let` is in the if chain, otherwise the assist wont be applicable. bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-07-02 | Handle not let if expressions in replace_if_let_with_match | Lukas Wirth | -0/+13 | |
| 2021-06-30 | Don't classify NameRef paths inside attribute TokenTrees | Lukas Wirth | -0/+8 | |
| 2021-06-27 | Deduplicate ast expression walking logic | Lukas Wirth | -1/+51 | |
