| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-07-20 | fix: Fix search for associated trait items being inconsistent | Lukas Wirth | -42/+59 | |
| 2022-07-19 | Upgrade to expect-test@1.4.0 | Amos Wenger | -1/+1 | |
| cf. https://github.com/rust-analyzer/expect-test/issues/33 cf. https://github.com/rust-lang/rust/pull/99444#issuecomment-1188844202 | ||||
| 2022-07-18 | Auto merge of #12549 - bitgaoshu:goto_where_trait_m_impl, r=Veykril | bors | -40/+32 | |
| feat: Go to implementation of trait methods try goto where the trait method implies, #4558 | ||||
| 2022-07-18 | Move `convert_to_def_in_trait` into `ide-db` | Lukas Wirth | -47/+30 | |
| 2022-07-16 | Auto merge of #12539 - soruh:instanciate_empty_structs, r=Veykril | bors | -0/+35 | |
| Automatically instaciate trivially instaciable structs in "Generate new" and "Fill struct fields" As proposed in #12535 this PR changes the "Generate new" and "Fill struct fields" assist/diagnostic to instanciate structs with no fields and enums with a single empty variant. For example: ```rust pub enum Bar { Bar {}, } struct Foo<T> { a: usize, bar: Bar, _phantom: std::marker::PhantomData<T>, } impl<T> Foo<T> { /* generate new */ fn random() -> Self { Self { /* Fill struct fields */ } } } ``` was previously: ```rust impl<T> Foo<T> { fn new(a: usize, bar: Bar, _phantom: std::marker::PhantomData<T>) -> Self { Self { a, bar, _phantom } } fn random() -> Self { Self { a: todo!(), bar: todo!(), _phantom: todo!(), } } } ``` and is now: ```rust impl<T> Foo<T> { fn new(a: usize) -> Self { Self { a, bar: Bar::Bar {}, _phantom: std::marker::PhantomData } } fn random() -> Self { Self { a: todo!(), bar: Bar::Bar {}, _phantom: std::marker::PhantomData, } } } ``` I'd be happy about any suggestions. ## TODO - [x] deduplicate `use_trivial_constructor` (unclear how to do as it's used in two separate crates) - [x] write tests Closes #12535 | ||||
| 2022-07-16 | Auto merge of #12712 - harpsword:fix-rename-crate-root, r=Veykril | bors | -0/+4 | |
| fix: ignore renames for crate root close #12684 . I just ignore renames for crate root in `rename_mod` func. | ||||
| 2022-07-14 | Auto merge of #12765 - Veykril:import-insert-fix, r=Veykril | bors | -24/+37 | |
| fix: Fix imports being inserted before doc comments in inline modules Fixes https://github.com/rust-lang/rust-analyzer/issues/12758 | ||||
| 2022-07-14 | fix: Fix imports being inserted before doc comments in inline modules | Lukas Wirth | -24/+37 | |
| 2022-07-14 | Auto merge of #12691 - Veykril:proc-macro-diag, r=Veykril | bors | -3/+3 | |
| fix: Fix unresolved proc macro diagnostics pointing to macro expansions Fixes https://github.com/rust-lang/rust-analyzer/issues/12657 | ||||
| 2022-07-10 | fix: ignore renames for crate root | harpsword | -0/+4 | |
| 2022-07-08 | Update remaining GitHub URLs | Jonas Schievink | -1/+1 | |
| 2022-07-05 | fix: Fix unresolved proc macro diagnostics pointing to macro expansions | Lukas Wirth | -3/+3 | |
| 2022-07-03 | Bump indexmap | Laurențiu Nicola | -1/+1 | |
| 2022-07-03 | Bump either | Laurențiu Nicola | -1/+1 | |
| 2022-06-28 | fix: improve whitespace insertion in pretty printer | Ryo Yoshida | -4/+14 | |
| 2022-06-24 | rename "trait_def" to "def_in_trait" | bitgaoshu | -3/+6 | |
| 2022-06-24 | fix test in qualify_method: stay in trait path | bitgaoshu | -1/+1 | |
| 2022-06-24 | fix some test due to resolve to where trait m impl | bitgaoshu | -29/+35 | |
| 2022-06-24 | functions resolve to impl | bitgaoshu | -39/+0 | |
| 2022-06-23 | reformat code | bitgaoshu | -23/+17 | |
| 2022-06-23 | goto where trait method impl | bitgaoshu | -0/+45 | |
| 2022-06-22 | add doc strings to use_trivial_contructor.rs | soruh | -0/+3 | |
| 2022-06-22 | add use_trivial_contructor.rs | soruh | -0/+31 | |
| 2022-06-22 | apply suggestions | soruh | -0/+1 | |
| 2022-06-15 | fix: inserted imports must come after a shebang if present | Jeremy Banks | -1/+2 | |
| 2022-06-15 | add failing test: inserts_after_shebang | Jeremy Banks | -0/+11 | |
| 2022-06-10 | internal: Bump Dependencies | Lukas Wirth | -7/+7 | |
| 2022-06-02 | Allow merging of multiple selected imports. | iDawer | -0/+4 | |
| The selected imports have to have a common prefix in paths. Before ```rust $0use std::fmt::Display; use std::fmt::Debug;$0 ``` After ```rust use std::fmt::{Display, Debug}; ``` | ||||
| 2022-05-28 | fix(ide-db): correct single-file module rename | Nikita Podoliako | -6/+24 | |
| 2022-05-24 | fix: Insert whitespace into trait-impl completions when coming from macros | Lukas Wirth | -0/+4 | |
| 2022-05-24 | ide: insert whitespaces surrounding `_` in macro expansion | andylizi | -2/+2 | |
| 2022-05-22 | feat: escape format specifier(close: #12258) | bvanjoi | -2/+19 | |
| 2022-05-21 | dead code | Aleksey Kladov | -7/+0 | |
| 2022-05-20 | minor: Simplify | Lukas Wirth | -3/+10 | |
| 2022-05-16 | Improve "Generate `Deref` impl" assist | Jonas Schievink | -0/+4 | |
| 2022-05-15 | ide: insert whitespace between 'mut' and 'self' in macro expansion | Jake Heinz | -0/+3 | |
| 2022-05-09 | Resolve assoc. types of supertraits in the IDE layer | Jonas Schievink | -2/+1 | |
| 2022-05-09 | fix: Fix import insertion inserting after last comment in a file | Lukas Wirth | -7/+25 | |
| 2022-05-07 | fix: Allow auto importing starting segments of use items | Lukas Wirth | -2/+7 | |
| 2022-05-01 | style: rename crates to kebab case | Peh | -0/+16279 | |
