about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide
AgeCommit message (Collapse)AuthorLines
2025-01-27Fix syntactic highlighting for renamesLaurențiu Nicola-0/+14
2025-01-27Fix #[rustc_deprecated_safe_2024]Chayim Refael Friedman-15/+35
It should be considered by the edition of the caller, not the callee. Technically we still don't do it correctly - we need the span of the method name (if it comes from a macro), but we don't keep it and this is good enough for now.
2025-01-27Merge pull request #19036 from Veykril/push-nprltlwvryxwLukas Wirth-1/+4
Split out `ExpressionStore` from `Body`
2025-01-26Support RFC 2396Chayim Refael Friedman-2/+6
AKA. target_feature 1.1, or non unsafe target_feature.
2025-01-26Add GenericDefId::StaticIdLukas Wirth-1/+4
2025-01-25Merge pull request #19020 from ShoyuVanilla/issues-19007Lukas Wirth-0/+34
fix: Prevent infinite recursion of bounds formatting
2025-01-26fix: Prevent infinite recursion of bounds formattingShoyu Vanilla-37/+34
2025-01-25fix: Fix markdown horizontal ruler sometimes being treated as a headingLukas Wirth-1/+5
2025-01-25Skip redundant path search in `resolve_completion_edits`Lukas Wirth-1/+1
2025-01-25Merge pull request #18973 from ThouCheese/feat/nice-nichesLukas Wirth-2/+85
Make niches into nices
2025-01-24manual: Convert to mdbookWilfred Hughes-253/+207
Split manual.adoc into markdown files, one for each chapter. For the parts of the manual that are generated from source code doc comments, update the comments to use markdown syntax and update the code generators to write to `generated.md` files. For the weekly release, stop copying the .adoc files to the `rust-analyzer/rust-analyzer.github.io` at release time. Instead, we'll sync the manual hourly from this repository. See https://github.com/rust-analyzer/rust-analyzer.github.io/pull/226 for the sync. This PR should be merged first, and that PR needs to be merged before the next weekly release. This change is based on #15795, but rebased and updated. I've also manually checked each page for markdown syntax issues and fixed any I encountered. Co-authored-by: Lukas Wirth <lukastw97@gmail.com> Co-authored-by: Josh Rotenberg <joshrotenberg@gmail.com>
2025-01-24Merge pull request #18991 from Veykril/push-rmqmnrymwmozLukas Wirth-245/+339
Keep already computed inlay hint properties instead of late resolving them
2025-01-24Lazily compute location links in type hints againLukas Wirth-9/+18
2025-01-24Add a new failing test that overflows stackShoyu Vanilla-0/+37
2025-01-21Keep already computed inlay hint properties instead of late resolving themLukas Wirth-27/+31
2025-01-21Make `InlayHint::linked_location` computation lazyLukas Wirth-203/+281
2025-01-21remove is_pwr2Luuk Wester-17/+3
2025-01-21switch from using leading zeros to trailing zerosLuuk Wester-1/+4
2025-01-21Fix Param::as_local treating closures wrongLukas Wirth-38/+41
2025-01-21make large niche description more terse, switch to using u128::is_power_of_twoLuuk Wester-5/+5
2025-01-21Merge pull request #18986 from Veykril/push-zlwvwlowpzqmLukas Wirth-0/+39
Goto `Display::fmt` when invoked on `to_string`
2025-01-21Cleanup `Name` string renderingLukas Wirth-31/+24
2025-01-20Goto `Display::fmt` when invoked on `to_string`Lukas Wirth-0/+39
2025-01-20Bring back goto def redirect for parse -> FromStrLukas Wirth-3/+43
2025-01-20Move dual blanket impl logic from source analyzer to goto_defLukas Wirth-28/+39
2025-01-20Merge pull request #18967 from Veykril/push-pwonkmwqmmolLukas Wirth-2/+5
Properly record meaningful imports as re-exports in symbol index
2025-01-20Merge pull request #18934 from 1hakusai1/goto_definition_from_intoLukas Wirth-0/+162
feat: Add the ability to jump from `into` to `from` definitions
2025-01-20Preserve impl assoc names in ImplDataLukas Wirth-2/+5
2025-01-20Add a test case1hakusai1-0/+24
2025-01-20Use Semantics::resolve_method_call_as_callable to find implementation1hakusai1-51/+4
2025-01-18Make niches into nicesLuuk Wester-2/+96
2025-01-16Merge pull request #18951 from Veykril/push-zpvunsvlpuxtLukas Wirth-6/+23
Add missing `#[rust_analyzer::rust_fixture]` annotations
2025-01-16Generalize some type walking in hover type actionsLukas Wirth-31/+30
2025-01-16Add missing `#[rust_analyzer::rust_fixture]` annotationsLukas Wirth-6/+23
2025-01-16add goto-to-def actions for trait boundlh123-1/+104
2025-01-16add go-to-type-def actions for func paramslh123-1/+5
2025-01-16Use resolve_method_call_as_callable to handle function types1hakusai1-2/+3
2025-01-16refactor: Change order of arguments1hakusai1-2/+2
2025-01-16refactor: rename to descriptive name1hakusai1-2/+3
2025-01-15Merge pull request #18922 from Veykril/push-tmtzukrsnottLukas Wirth-24/+28
fix: Don't return inlay hints outside requested range
2025-01-15fix: Don't return inlay hints outside requested rangeLukas Wirth-24/+28
2025-01-15Merge pull request #18939 from Veykril/push-wztmylkyqttuLukas Wirth-6/+0
Flip on typing config to be opt-in, better defaults
2025-01-15Use adjusted type1hakusai1-1/+1
2025-01-15Add test cases1hakusai1-0/+99
2025-01-15Flip on typing config to be opt-in, better defaultsLukas Wirth-6/+0
2025-01-15Merge pull request #18925 from Veykril/push-mtxxvpowwtrtLukas Wirth-0/+41
feat: Render type parameter projection target bounds in inlays
2025-01-15feat: Render type parameter projection target bounds in inlaysLukas Wirth-0/+41
2025-01-15Merge pull request #18917 from boattime/masterLukas Wirth-1/+1
feat: Add dereferencing autocomplete
2025-01-14refactor: get(0) -> first()1hakusai1-1/+1
2025-01-14Remove trailing spaces1hakusai1-1/+1