summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide
AgeCommit message (Collapse)AuthorLines
2025-07-11Backport new sized-hierarchy trait bounds in old waysShoyu Vanilla-1/+1
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
2025-06-11fix: Hide dyn inlay hints for incomplete `impl`sLukas Wirth-3/+9
2025-06-06fix: Record macro calls for fields in `ChildBySource` implsLukas Wirth-0/+17
2025-06-05fix: Record macro calls in signatures in `ChildBySource` implsLukas Wirth-0/+44
2025-06-04feat: Add `dyn` keyword inlay hintsLukas Wirth-2/+142
2025-06-04Remove unnecessary parameters in inlay-hint computationLukas Wirth-58/+41
2025-06-02fix: Fix edition handling for names in rename logicLukas Wirth-33/+61
2025-06-02Enhance renaming to include identifiers that are generated from the original ↵Lukas Wirth-31/+145
symbol Co-authored-by: Jake Goulding <jake.goulding@integer32.com>
2025-05-31Merge pull request #19898 from Veykril/push-ykumpuwmuvmuLukas Wirth-19/+8
refactor: Remove unncessary duplication in highlight_related
2025-05-31refactor: Remove unncessary duplication in highlight_relatedLukas Wirth-19/+8
2025-05-30internal: Restructure some semantics APIs for virtual macro filesLukas Wirth-7/+9
2025-05-30Merge pull request #19861 from ↵Lukas Wirth-3/+88
vremyavnikuda/docs/find-all-refs-constructor-search docs: add documentation for find_all_refs constructor search
2025-05-28docs:deleting duplicate documentationvremyavnikuda-70/+0
2025-05-28Merge pull request #19880 from Veykril/push-xmpxumsrkymkLukas Wirth-13/+54
fix: Handle included files better in IDE layer
2025-05-28fix: Handle included files better in IDE layerLukas Wirth-13/+54
This does not fully fix things, but it introduces a function that can be used to fix occurences. When using `to_def` functionality, the input node needs to come from the macro expanded include, not the real file that was included. This does unfortunately add more caller burden, but there is not really a way around it.
2025-05-28Merge pull request #19876 from ShoyuVanilla/layout-paddingLukas Wirth-23/+182
feat: Render padding information when hovering on structs
2025-05-28feat: Render padding information when hovering on structsShoyu Vanilla-23/+182
2025-05-28fix: Fix IDE layer not resolving some macro callsLukas Wirth-0/+40
2025-05-26fix: formated to clippyvremyavnikuda-1/+1
2025-05-26fix: the lines are formatted according to clippyvremyavnikuda-1/+1
2025-05-26fix: the lines are formatted according to clippyvremyavnikuda-2/+2
2025-05-26docs: add documentation for find_all_refs constructor search (#10725)vremyavnikuda-3/+158
2025-05-25Properly implement `might_be_inside_macro_call()` using semantic information ↵Chayim Refael Friedman-5/+6
instead of syntactical hacks And rename it to `is_inside_macro_call()` accordingly.
2025-05-18Merge pull request #19687 from gohome001/highlight_unsafeLukas Wirth-0/+67
feat: highlight unsafe operations
2025-05-10minor: code review tweakgohome001-24/+8
2025-05-07extract function: `doc_attributes` to find def from inner docHayashi Mikihiro-8/+26
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-05-07add doc link test for hoverHayashi Mikihiro-0/+122
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-05-07add doc link test for goto defHayashi Mikihiro-0/+68
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-05-07check module path inner or outerHayashi Mikihiro-89/+142
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-05-06fix: resolve doc path if outer comments exist on module and replace from ↵Hayashi Mikihiro-6/+63
cfg_attr bit to doc_place bit Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-05-05refactor: De-arc defmap queriesLukas Wirth-4/+4
2025-05-02Render more lifetimesLukas Wirth-32/+32
2025-04-29refactor: Clean up cache priming cancellation handlingLukas Wirth-2/+2
2025-04-28refactor: De-arc lang item queriesLukas Wirth-3/+1
2025-04-28Merge pull request #19704 from Veykril/push-wrvznvvpvtvpLukas Wirth-7/+8
Add expression fill mode variant for filling with underscore expressions
2025-04-28Add expression fill mode variant for filling with underscore expressionsLukas Wirth-7/+8
2025-04-28Merge from rust-lang/rustLaurențiu Nicola-103/+8
2025-04-25minor: formatgohome001-6/+4
2025-04-25test: add test case for highlight unsafe operationsgohome001-0/+28
2025-04-25feat: highlight unsafe operationsgohome001-0/+57
2025-04-22Merge pull request #19647 from roife/fix-issue-19646Lukas Wirth-41/+31
fix: panics in inlay hints that produce empty text edits for closure return types
2025-04-23fix: panics in inlay hints that produce empty text edits for closure return ↵roifewu-41/+31
types
2025-04-22Merge pull request #19657 from ChayimFriedman2/better-offset-ofLukas Wirth-0/+70
feat: Better support `offset_of!()`
2025-04-22Resolve `offset_of!()` in IDEChayim Refael Friedman-0/+70