about summary refs log tree commit diff
path: root/crates/ide
AgeCommit message (Collapse)AuthorLines
2022-07-20fix: Fix search for associated trait items being inconsistentLukas Wirth-1/+66
2022-07-19Upgrade to expect-test@1.4.0Amos 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-18Auto merge of #12549 - bitgaoshu:goto_where_trait_m_impl, r=Veykrilbors-30/+194
feat: Go to implementation of trait methods try goto where the trait method implies, #4558
2022-07-17Auto merge of #12778 - Logarithmus:feature/fix-negative-const-generics, ↵bors-20/+110
r=flodiebold Support negative, `char` & `bool` const generics Before: ![Before](https://user-images.githubusercontent.com/29541480/179379832-0c3b2a74-fef6-427e-b89f-7e31d9c37b3d.png) After: ![After](https://user-images.githubusercontent.com/29541480/179379863-b62475dd-e7bf-41f2-b437-08dfe55951af.png) I tried to implement stuff like `Const<{NUM1 + 3 + NUM2}>` by using already existing constant evaluation mechanism for ordinary constants, but turned out to be harder than I thought, maybe because I've never ever tinkered with compilers before
2022-07-17feat: support negative const generic parametersArtur Sinila-20/+10
* feat: support `bool` & `char` const generics
2022-07-17tests: add hover tests for const genericsArtur Sinila-0/+100
2022-07-16Auto merge of #12689 - Veykril:macro-rec, r=Veykrilbors-0/+14
internal: Record all macro definitions in ItemScope Fixes https://github.com/rust-lang/rust-analyzer/issues/12100 Doesn't resolve the shadowing issues though, fixing those is gonna be really tricky I believe unless we can come up with a nice scheme to "order" item tree items (using syntax ranges and file ids would be a pain and also a bad idea since that'll require us to potentially reparse files in collection).
2022-07-16Auto merge of #12712 - harpsword:fix-rename-crate-root, r=Veykrilbors-0/+29
fix: ignore renames for crate root close #12684 . I just ignore renames for crate root in `rename_mod` func.
2022-07-15fix: Don't show qualified path completions for private itemsLukas Wirth-12/+12
2022-07-11Fix typoshi-rustin-2/+2
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2022-07-10fix: ignore renames for crate rootharpsword-0/+29
2022-07-08Update remaining GitHub URLsJonas Schievink-1/+1
2022-07-05internal: Record all macro definitions in ItemScopeLukas Wirth-0/+14
2022-07-03Bump eitherLaurențiu Nicola-1/+1
2022-07-03Bump crossbeam-channelLaurențiu Nicola-1/+1
2022-07-01fix: Simplify macro statement expansion handlingLukas Wirth-1/+32
2022-06-28fix: improve whitespace insertion in pretty printerRyo Yoshida-0/+32
2022-06-26WellFormed -> Holdsbitgaoshu-0/+26
2022-06-26add test for item same namebitgaoshu-1/+20
2022-06-24highlight: trait pathbitgaoshu-2/+6
2022-06-24fix some test due to resolve to where trait m implbitgaoshu-1/+1
2022-06-24functions resolve to implbitgaoshu-5/+2
2022-06-23clarify comment and add autolink test caseRaymond Luo-1/+3
2022-06-23Add two more testsFlorian Diebold-0/+37
2022-06-23goto where trait method implbitgaoshu-29/+110
2022-06-22condense matches on autolinkRaymond Luo-2/+2
2022-06-20handle autolink as edge caseRaymond Luo-2/+10
2022-06-20determine doc link type from start instead of text or codeRaymond Luo-8/+5
2022-06-18feat: add fold range for multi line match arm listharpsword-0/+47
2022-06-15Show proc-macro loading errors in unresolved-proc-macro diagnosticsLukas Wirth-1/+1
2022-06-14fix: Check for the correct proc-macro settings in missing proc-macro diagnosticsLukas Wirth-4/+5
2022-06-13feat: On assoc item name hover, render trait decl docsLukas Wirth-1/+44
2022-06-10Auto merge of #12502 - Veykril:deps, r=Veykrilbors-17/+17
internal: Bump Dependencies
2022-06-10internal: Bump DependenciesLukas Wirth-17/+17
2022-06-08Hide param inlay hint when argument is fn-like macro with similar nameLuke Chu-0/+8
2022-05-31fix: float display implfeniljain-2/+2
2022-05-30Auto merge of #12418 - Veykril:completions, r=Veykrilbors-1/+1
internal: More precise completion filtering with existing item qualifiers Now we are approaching the more complex cases for filtering completions
2022-05-30Use char for trigger characterLukas Wirth-1/+1
2022-05-30Add implicit static lifetime hintsLukas Wirth-20/+85
2022-05-30Auto merge of #12406 - harpsword:fix-add-inlayHints-closures-without-block, ↵bors-8/+37
r=Veykril fix: add an option to show inlay hint for return type of closures wit… fix #12321
2022-05-30Auto merge of #12387 - 00nktk:fix-mod-rename, r=Veykrilbors-2/+13
fix(ide-db): correct single-file module rename Fixes a bug where rust-analyzer would emit `WorkspaceEdit`s with paths to dirs instead of files for the following project layout. lib.rs ```rust mod foo; ``` foo.rs ```rust mod bar { struct Bar; } ``` Also fixes emitted paths for modules with mod.rs. The bug resulted in panic in helix editor when attempting to rename a module.
2022-05-30fix: visibility completionyue4u-1/+4
2022-05-28fix: add an option to show inlay hint for return type of closures without blockharpsword-8/+37
2022-05-28fix(ide-db): correct single-file module renameNikita Podoliako-2/+13
2022-05-27Auto merge of #12402 - Veykril:feat-docs, r=Veykrilbors-1/+6
minor: Freshen up goto feature docs Fixes https://github.com/rust-lang/rust-analyzer/issues/2541
2022-05-27minor: Freshen up goto feature docsLukas Wirth-1/+6
2022-05-27Auto merge of #12395 - feniljain:fix_bugs, r=Veykrilbors-0/+66
fix: f32 and f64 representation during lowering should fix #12380
2022-05-26fix: f32 and f64 representation during loweringfeniljain-0/+66
2022-05-25internal: Make autoclosing angle brackets configurable, disabled by defaultLukas Wirth-1/+6
2022-05-24fix: Insert whitespace into trait-impl completions when coming from macrosLukas Wirth-13/+4