| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-05-25 | Fix `data_constructor` ignoring generics for struct | Tavo Annus | -5/+7 | |
| 2024-05-22 | fix: ensure implied bounds from associated types are considered in autocomplete | David Barsky | -1/+2 | |
| 2024-05-22 | internal: refactor `prefer_no_std`/`prefer_prelude` bools into a struct | David Barsky | -94/+30 | |
| 2024-05-22 | Auto merge of #17277 - Veykril:find-path-fixes, r=Veykril | bors | -25/+7 | |
| fix: Various find path fixes Fixes https://github.com/rust-lang/rust-analyzer/issues/17271 | ||||
| 2024-05-22 | Update assists test fixtures | Lukas Wirth | -17/+1 | |
| 2024-05-22 | fix: Fix general find-path inconsistencies | Lukas Wirth | -13/+11 | |
| 2024-05-18 | Show fn traits in signature info for trait implementors | Lukas Wirth | -20/+27 | |
| 2024-05-18 | Render closure fn trait kind in siganture help | Lukas Wirth | -22/+32 | |
| 2024-05-18 | Allow hir::Param to refer to other entity params aside from functions | Lukas Wirth | -65/+62 | |
| 2024-05-18 | Update builtin tool list | Lukas Wirth | -18/+5 | |
| 2024-05-16 | internal: Add StaticLifetime to hir API | Lukas Wirth | -0/+9 | |
| 2024-05-13 | Auto merge of #17221 - Veykril:lazier-validation, r=Veykril | bors | -21/+80 | |
| internal: Lazier macro parse tree validation | ||||
| 2024-05-13 | `parse_macro_expansion_error` almost never contains values so `Option` it | Lukas Wirth | -3/+5 | |
| 2024-05-13 | Push macro-parsing error calculation out of fundamental queries | Lukas Wirth | -21/+78 | |
| 2024-05-13 | Auto merge of #17220 - Veykril:hov-lit, r=Veykril | bors | -0/+14 | |
| fix: Improve confusing literal hovers | ||||
| 2024-05-13 | Fix literal hovers being confusing and wrong for floats | Lukas Wirth | -0/+14 | |
| 2024-05-08 | Make term search fuel configurable | Tavo Annus | -4/+9 | |
| 2024-05-07 | Use unit of work as fuel instead of time | Tavo Annus | -41/+47 | |
| 2024-05-06 | Add time based fuel to term search | Tavo Annus | -7/+34 | |
| 2024-05-06 | Collapse term search exprs before Cartesian product to avoid OOM | Tavo Annus | -14/+38 | |
| 2024-04-30 | fix: Tracing span names should match function names | Wilfred Hughes | -4/+5 | |
| When viewing traces, it's slightly confusing when the span name doesn't match the function name. Ensure the names are consistent. (It might be worth moving most of these to use #[tracing::instrument] so the name can never go stale. @davidbarsky suggested that is marginally slower, so I've just done the simple change here.) | ||||
| 2024-04-30 | Auto merge of #17138 - Kohei316:generate-function-assist-for-new, r=Veykril | bors | -0/+8 | |
| feature: Make generate function assist generate a function as a constructor if the generated function has the name "new" and is an asscociated function. close #17050 This PR makes `generate function assist` generate a function as a constructor if the generated function has the name "new" and is an asscociated function. If the asscociate type is a record struct, it generates the constructor like this. ```rust impl Foo { fn new() -> Self { Self { field_1: todo!(), field_2: todo!() } } } ``` If the asscociate type is a tuple struct, it generates the constructor like this. ```rust impl Foo { fn new() -> Self { Self(todo!(), todo!()) } } ``` If the asscociate type is a unit struct, it generates the constructor like this. ```rust impl Foo { fn new() -> Self { Self } } ``` If the asscociate type is another adt, it generates the constructor like this. ```rust impl Foo { fn new() -> Self { todo!() } } ``` | ||||
| 2024-04-30 | Make generate function assist generate a function as a constructor if the ↵ | morine0122 | -0/+13281 | |
| name of function is new | ||||
| 2024-04-26 | Show workspace info in the status bar | Lukas Wirth | -5/+7 | |
| 2024-04-25 | Auto merge of #17021 - roife:add-hover-limits-for-adts, r=Veykril | bors | -55/+95 | |
| Support hovering limits for adts Fix #17009 1. Currently, r-a supports limiting the number of struct fields displayed when hovering. This PR extends it to support enum variants and union fields. Since the display of these three (ADTs) is similar, this PR extends 'hover_show_structFields' to 'hover_show_adtFieldsOrVariants'. 2. This PR also resolved the problem that the layout of ADT was not restricted by display limitations when hovering on the Self type. 3. Additionally, this PR changes the default value of display limitations to `10` (instead of the original `null`), which helps users discover this feature. | ||||
| 2024-04-23 | different error code based on variant | Bao Zhiyuan | -2/+4 | |
| 2024-04-21 | Allow rust files to be used linkedProjects | Lukas Wirth | -0/+13301 | |
| 2024-04-20 | fix: remove space within `{}` when no fields in struct | roife | -10/+14 | |
| 2024-04-20 | Add hovering limitations support for variants | roife | -21/+16 | |
| 2024-04-19 | fix: add a separate setting for enum variants | roife | -9/+57 | |
| 2024-04-16 | Update tests and docs for hover_show_adtFieldsOrVariants | roife | -19/+4 | |
| 2024-04-16 | Add config hover_show_adtFieldsOrVariants to handle hovering limitation for ADTs | roife | -0/+13283 | |
