about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide
AgeCommit message (Collapse)AuthorLines
2025-07-20Fix search of raw labels and lifetimesChayim Refael Friedman-0/+38
It used to search for `'foo` which won't find `'r#foo`, now we search for `foo` instead.
2025-07-19minor: remove unused varYoung-Flash-3/+1
2025-07-15Merge from rust-lang/rustLaurențiu Nicola-25/+25
2025-07-11Merge pull request #20232 from ShoyuVanilla/issue-20225Shoyu Vanilla (Flint)-0/+38
fix: Normalize projection types before calculating memory maps
2025-07-11Merge pull request #20219 from ChayimFriedman2/expr-store-memChayim Refael Friedman-1/+1
perf: Put the expression stuff in the expression store behind an `Option<Box>`
2025-07-11fix: Normalize projection types before calculating memory mapsShoyu Vanilla-0/+38
2025-07-10Merge pull request #20054 from Young-Flash/folding_allShoyu Vanilla (Flint)-2/+50
feat: support folding multiline arg list & fn body in one folding range
2025-07-10Merge pull request #20212 from ChayimFriedman2/dyn-hintShoyu Vanilla (Flint)-5/+31
fix: Fixes for `dyn` inlay hint
2025-07-10Put the expression stuff in the expression store behind an `Option<Box>`Chayim Refael Friedman-1/+1
And leave only the type stuff without it. This is because most expression stores don't have anything but types (e.g. generics, fields, signatures) so this saves a lot of memory. This saves 58mb on `analysis-stats .`.
2025-07-09Put `dyn` inlay hints in their correct place in presence of parenthesesChayim Refael Friedman-3/+14
2025-07-09Don't show `dyn` hint in a HRTB boundChayim Refael Friedman-2/+17
2025-07-07Rollup merge of #143340 - nabijaczleweli:awhile, r=mati865Matthias Krüger-25/+25
awhile -> a while where appropriate
2025-07-07Fix a case where the link type was `None`Chayim Refael Friedman-3/+30
Which caused a panic.
2025-07-04Merge pull request #20031 from jnyfah/some-branchLukas Wirth-35/+75
Fix: Resolve HIR display length issues and improve adjustment tooltips
2025-07-03Merge pull request #20120 from Hmikihiro/match_bind_not_typeChayim Refael Friedman-0/+72
fix: resolve item in match bind
2025-07-03fix: resolve item in match bindHayashi Mikihiro-0/+72
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-03fix: Improve diagnostic ranges for `macro_calls!`Lukas Wirth-14/+14
We used to point to the entire macro call including its token tree if we couldn't upmap the diagnostic to the input This generally makes things very noisy as the entire macro call will turn red on errors. Instead, we now macro the path and `!` (bang) token as the error source range which is a lot nicer on the eyes.
2025-07-03Bump salsaLukas Wirth-1/+1
2025-07-03Remove keyword prefixes (`macro@` or `macro `) from links in the docs only ↵Chayim Refael Friedman-6/+52
if the link target is inferred That is, do it for `[macro foo]`, but not for `[macro foo](macro foo)`.
2025-07-02awhile -> a while where appropriateнаб-25/+25
2025-06-30test: add test case for func with multiline param listYoung-Flash-2/+19
2025-06-30internal: add `FoldKind::Function`Young-Flash-12/+16
2025-06-30feat: support folding multiline arg list & fn body in one folding rangeYoung-Flash-1/+28
2025-06-26Merge pull request #20100 from ShoyuVanilla/ignore-sized-hierarchyChayim Refael Friedman-1/+1
Backport new sized-hierarchy trait bounds in old ways
2025-06-26Backport new sized-hierarchy trait bounds in old waysShoyu Vanilla-1/+1
2025-06-26refactor: enhance highlighting for control flow kws in macrosroifewu-33/+45
2025-06-26refactor: simplify functions related to branch_exit_points in highlight_relatedroifewu-72/+74
2025-06-26refactor: rename `branches` to `branch_exit_points` in highlight_relatedroifewu-7/+7
2025-06-26refactor: improve macro handling in navigation for control-flow kwsroifewu-13/+47
2025-06-26feat: highlighting of related return values while the cursor is on any ↵roifewu-9/+755
`match`, `if`, or match arm arrow (`=>`)
2025-06-24Merge pull request #20012 from lnicola/bump-literal-escaperLukas Wirth-4/+2
Update to literal-escaper 0.0.4
2025-06-24Merge pull request #20080 from Veykril/push-vnrwqppplykmLukas Wirth-38/+56
Cleanup `folding_ranges` and support more things
2025-06-24Cleanup `folding_ranges` and support more thingsLukas Wirth-38/+56
2025-06-24Merge pull request #20036 from Veykril/push-yquvoyrxkksxLukas Wirth-4/+4
Do not default to 'static for trait object lifetimes
2025-06-24Do not default to 'static for trait object lifetimesLukas Wirth-4/+4
We lack trait object default lifetime elision, so `'static` can be wrong at times, confusing the user
2025-06-23Don't run doctestsChayim Refael Friedman-0/+1
2025-06-21formatjnyfah-1/+1
2025-06-21revert changesjnyfah-95/+10
2025-06-18undojnyfah-1/+1
2025-06-18fix formatjnyfah-11/+11
2025-06-18format functionjnyfah-44/+169
2025-06-17chore: Start infesting ide crates with 'db lifetimeLukas Wirth-34/+34
2025-06-16feat: Insert required parentheses when typing `+` in trait typeLukas Wirth-4/+88
2025-06-16Format goto_type_definitionLaurențiu Nicola-4/+2
2025-06-13Merge pull request #19990 from Veykril/push-zkvrlrotmuzrLukas Wirth-8/+76
Generate annotations for macro defined items if their name is in the input
2025-06-13Generate annotations for macro defined items if their name is in the inputLukas Wirth-8/+76
2025-06-13`cargo upgrade`Lukas Wirth-1/+1
2025-06-12Merge pull request #19981 from Veykril/push-tzzunsrqqunvLukas Wirth-3/+3
fix: Do not force descend into derives for goto IDE features
2025-06-12fix: Do not force descend into derives for goto IDE featuresLukas Wirth-3/+3
Doing so can cause us to duplicate navigation targets for the same ranges which breaks convenience features of some editors where go to def can trigger find all references
2025-06-12`ItemTree`'s `ItemVisibilities` has no identity, so deduplicateLukas Wirth-2/+2