| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-21 | Simplify | Lukas Wirth | -170/+111 | |
| 2021-09-21 | Generate ast nodes for each ast trait | Lukas Wirth | -32/+461 | |
| 2021-09-19 | Merge #10289 | bors[bot] | -2/+3 | |
| 10289: fix: Only strip derive attributes when preparing macro input r=Veykril a=Veykril Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10246 cc https://github.com/rust-analyzer/rowan/pull/114, follow up to https://github.com/rust-analyzer/rust-analyzer/pull/10025 Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-09-19 | Only strip derive attributes when preparing macro input | Lukas Wirth | -2/+3 | |
| 2021-09-19 | Simplify | Lukas Wirth | -7/+4 | |
| 2021-09-19 | Simplify | Lukas Wirth | -2/+2 | |
| 2021-09-17 | Merge #10260 | bors[bot] | -3/+3 | |
| 10260: fix: fix names generation in `Generate function` r=Veykril a=iDawer - Improve fn name computation (close #10176). - Handle tuple indexing expressions in argument position (should close #10241) Co-authored-by: Dawer <7803845+iDawer@users.noreply.github.com> | ||||
| 2021-09-16 | assists: turn while into loop | Andrzej Głuszak | -0/+5 | |
| 2021-09-16 | Imrove fn name computation in `Generate function` | Dawer | -3/+3 | |
| 2021-09-06 | minor: modernize | Aleksey Kladov | -0/+1 | |
| 2021-09-06 | internal: make name consistent with usage | Aleksey Kladov | -11/+17 | |
| 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-24 | Merge #9944 | bors[bot] | -18/+59 | |
| 9944: internal: introduce in-place indenting API r=matklad a=iDawer Introduce `edit_in_place::Indent` that uses mutable tree API and intended to replace `edit::AstNodeEdit`. Closes #9903 Co-authored-by: Dawer <7803845+iDawer@users.noreply.github.com> | ||||
| 2021-08-23 | internal: use single env var to controll all benchmarks | Aleksey Kladov | -2/+3 | |
| 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 dead code | Aleksey Kladov | -92/+2 | |
| 2021-08-14 | internal: remove one more usage of old editing API. | Aleksey Kladov | -49/+18 | |
| 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 | -195/+104 | |
| 2021-08-14 | internal: prepare to merge hir::BinaryOp and ast::BinOp | Aleksey Kladov | -8/+93 | |
| 2021-08-14 | internal: make naming consistent | Aleksey Kladov | -7/+7 | |
| 2021-08-14 | internal: prepare a dedicated module for all operators | Aleksey Kladov | -28/+40 | |
| 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-27 | fix: Typos | Alexander Gonzalez | -1/+1 | |
| 2021-07-21 | Fix some more basic clippy lints | Lukas Wirth | -1/+1 | |
| 2021-07-20 | Restrict completions inside visibility modifiers | Lukas Wirth | -0/+8 | |
| 2021-07-18 | Support GATs for associated type arg parsing | Lukas Wirth | -25/+26 | |
