Lukas Wirth
b7b09d2acb
Merge pull request #19062 from darichey/scip-fix-module-names
...
Fix scip indexing of module names
2025-02-03 10:05:19 +00:00
Lukas Wirth
7fd6f72007
Merge pull request #19070 from Veykril/push-wpqzmznymtrn
...
Remove mutable syntax tree shenanigans from adjustment hints
2025-01-29 13:58:18 +00:00
Lukas Wirth
f61d31b144
Remove mutable syntax tree shenanigans from adjustment hints
2025-01-29 14:42:37 +01:00
Lukas Wirth
07a09c154e
Merge pull request #19015 from Wilfred/mdbook
...
manual: Convert to mdbook
2025-01-28 16:19:37 +00:00
David Richey
9462322f20
Fix scip symbols for implicit modules
2025-01-28 10:14:04 -06:00
David Richey
a329b6ac2c
Fix scip crate symbol name
2025-01-28 09:34:23 -06:00
Giga Bowser
027363fef1
fix: Properly handle CRLF line endings in the syntax tree view
2025-01-27 15:09:58 -05:00
Laurențiu Nicola
606cfeffa2
Merge pull request #19047 from lnicola/rename-highlight
...
fix: Fix syntactic highlighting for renames
2025-01-27 14:33:04 +00:00
Laurențiu Nicola
7d8f53d55c
Fix syntactic highlighting for renames
2025-01-27 15:51:51 +02:00
Chayim Refael Friedman
55c63abc59
Fix #[rustc_deprecated_safe_2024]
...
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-27 14:35:20 +02:00
Lukas Wirth
35b55fd67f
Merge pull request #19036 from Veykril/push-nprltlwvryxw
...
Split out `ExpressionStore` from `Body`
2025-01-27 07:54:44 +00:00
Chayim Refael Friedman
791b1ebfd4
Support RFC 2396
...
AKA. target_feature 1.1, or non unsafe target_feature.
2025-01-26 23:31:58 +02:00
Lukas Wirth
3bb0ff3480
Add GenericDefId::StaticId
2025-01-26 11:07:54 +01:00
Lukas Wirth
90bf50c011
Merge pull request #19020 from ShoyuVanilla/issues-19007
...
fix: Prevent infinite recursion of bounds formatting
2025-01-25 19:03:54 +00:00
Shoyu Vanilla
3fe7415c83
fix: Prevent infinite recursion of bounds formatting
2025-01-26 03:37:00 +09:00
Lukas Wirth
79699e0a6c
fix: Fix markdown horizontal ruler sometimes being treated as a heading
2025-01-25 14:07:54 +01:00
Lukas Wirth
ae74cc3b88
Skip redundant path search in resolve_completion_edits
2025-01-25 13:03:01 +01:00
Lukas Wirth
e22bcfbf57
Merge pull request #18973 from ThouCheese/feat/nice-niches
...
Make niches into nices
2025-01-25 09:17:05 +00:00
Wilfred Hughes
deda58e8f1
manual: Convert to mdbook
...
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-24 13:23:22 -08:00
Lukas Wirth
a62e2f513a
Merge pull request #18991 from Veykril/push-rmqmnrymwmoz
...
Keep already computed inlay hint properties instead of late resolving them
2025-01-24 14:27:43 +00:00
Lukas Wirth
41e6a8747d
Lazily compute location links in type hints again
2025-01-24 15:13:10 +01:00
Shoyu Vanilla
649e65ce1e
Add a new failing test that overflows stack
2025-01-24 23:06:02 +09:00
Lukas Wirth
f5b86e056b
Keep already computed inlay hint properties instead of late resolving them
2025-01-21 16:16:51 +01:00
Lukas Wirth
1977aa99b0
Make InlayHint::linked_location computation lazy
2025-01-21 16:16:50 +01:00
Luuk Wester
5ad3de8b29
remove is_pwr2
2025-01-21 14:47:07 +01:00
Luuk Wester
705eb84941
switch from using leading zeros to trailing zeros
2025-01-21 14:45:30 +01:00
Lukas Wirth
831e3535e6
Fix Param::as_local treating closures wrong
2025-01-21 11:15:36 +01:00
Luuk Wester
6b6e019593
make large niche description more terse, switch to using u128::is_power_of_two
2025-01-21 10:33:28 +01:00
Lukas Wirth
2c040c03cf
Merge pull request #18986 from Veykril/push-zlwvwlowpzqm
...
Goto `Display::fmt` when invoked on `to_string`
2025-01-21 09:25:05 +00:00
Lukas Wirth
76585539f5
Cleanup Name string rendering
2025-01-21 10:05:32 +01:00
Lukas Wirth
a3eee10638
Goto Display::fmt when invoked on to_string
2025-01-20 17:00:28 +01:00
Lukas Wirth
0fdab1be36
Bring back goto def redirect for parse -> FromStr
2025-01-20 16:32:17 +01:00
Lukas Wirth
03ea40369f
Move dual blanket impl logic from source analyzer to goto_def
2025-01-20 16:24:42 +01:00
Lukas Wirth
93a5846784
Merge pull request #18967 from Veykril/push-pwonkmwqmmol
...
Properly record meaningful imports as re-exports in symbol index
2025-01-20 13:46:52 +00:00
Lukas Wirth
b2f822b074
Merge pull request #18934 from 1hakusai1/goto_definition_from_into
...
feat: Add the ability to jump from `into` to `from` definitions
2025-01-20 13:46:47 +00:00
Lukas Wirth
0480ebef75
Preserve impl assoc names in ImplData
2025-01-20 14:29:11 +01:00
1hakusai1
913ec54f84
Add a test case
2025-01-20 21:22:58 +09:00
1hakusai1
5384dd8947
Use Semantics::resolve_method_call_as_callable to find implementation
2025-01-20 21:17:48 +09:00
Luuk Wester
57bd824b5a
Make niches into nices
2025-01-18 19:35:27 +01:00
Lukas Wirth
132a2a03c4
Merge pull request #18951 from Veykril/push-zpvunsvlpuxt
...
Add missing `#[rust_analyzer::rust_fixture]` annotations
2025-01-16 10:21:22 +00:00
Lukas Wirth
3361b5701a
Generalize some type walking in hover type actions
2025-01-16 11:06:11 +01:00
Lukas Wirth
3e2848dc59
Add missing #[rust_analyzer::rust_fixture] annotations
2025-01-16 10:51:57 +01:00
lh123
3125d5fbe5
add goto-to-def actions for trait bound
2025-01-16 14:47:42 +08:00
lh123
1cfafb2bc5
add go-to-type-def actions for func params
2025-01-16 14:47:26 +08:00
1hakusai1
e8a63e43b1
Use resolve_method_call_as_callable to handle function types
2025-01-16 10:00:30 +09:00
1hakusai1
afde04b443
refactor: Change order of arguments
2025-01-16 09:35:07 +09:00
1hakusai1
c6317a3e67
refactor: rename to descriptive name
2025-01-16 09:33:52 +09:00
Lukas Wirth
759a9e6805
Merge pull request #18922 from Veykril/push-tmtzukrsnott
...
fix: Don't return inlay hints outside requested range
2025-01-15 13:58:07 +00:00
Lukas Wirth
5ff89d86aa
fix: Don't return inlay hints outside requested range
2025-01-15 14:42:53 +01:00
Lukas Wirth
96f8bc8c0f
Merge pull request #18939 from Veykril/push-wztmylkyqttu
...
Flip on typing config to be opt-in, better defaults
2025-01-15 12:40:45 +00:00