Laurențiu Nicola
a43a5f9aef
Merge pull request #19266 from the-mikedavis/lsp-pull-diagnostics-identifier
...
Add `identifier` to pull diagnostic LSP capabilities
2025-03-02 14:51:59 +00:00
Michael Davis
1c00d8ffd6
Add identifier to pull diagnostic LSP capabilities
...
This field in the server capabilities instructs the client to maintain
the diagnostics received from a `textDocument/diagnostic` pull request
as a separate set from other diagnostics: namely those sent with classic
"push" diagnostics, `textDocument/publishDiagnostic`. rust-analyzer
emits "native" diagnostics (computed by rust-analyzer itself) in pull
diagnostics and separately emits cargo-based diagnostics with push, so
push and pull diagnostics should be different sets. Setting this field
instructs the client to avoid clearing push diagnostics when new pull
diagnostics arrive and vice versa.
2025-03-02 09:27:45 -05:00
Laurențiu Nicola
6c1e5b4edb
Fix transparent diagnostics
2025-03-02 16:05:59 +02:00
Lukas Wirth
768749f41d
Merge pull request #19259 from Veykril/push-skmvrmtorqso
...
Add flip or-pattern assist
2025-03-02 07:41:42 +00:00
Lukas Wirth
7d8e95806c
Merge pull request #19253 from ShoyuVanilla/migrate-convert-bool-then
...
internal: Migrate `convert_bool_then` to `SyntaxEditor`
2025-03-02 07:21:04 +00:00
Lukas Wirth
1b85befbd9
Add flip or-pattern assist
2025-03-02 08:04:27 +01:00
Lukas Wirth
e6a0fc58ec
Merge pull request #19251 from Veykril/push-tkmpqtzxynxk
...
Remove syntax editing from parenthesis computation
2025-03-01 17:46:07 +00:00
Lukas Wirth
629baf217c
Remove syntax editing from parenthesis computation
2025-03-01 18:32:04 +01:00
Lukas Wirth
28a5eeb157
Fix test_keyword_highlighting test
2025-03-01 18:29:47 +01:00
Lukas Wirth
497f14013c
Cleanup string handling in syntax highlighting
2025-03-01 17:44:29 +01:00
Lukas Wirth
b0e3526f32
More precise macro modifiers for syntax highlighting
2025-03-01 17:23:51 +01:00
Lukas Wirth
08eeb8f3b2
Cleanup highlighting macro-def handling
2025-03-01 16:54:40 +01:00
Shoyu Vanilla
dfb2e3566d
Migrate convert_bool_then to SyntaxEditor
...
Update assist docs
2025-03-01 13:12:15 +09:00
Lukas Wirth
ff7de58156
Have inline_local_variable use precedence calculation for parentheses
2025-02-28 11:03:33 +01:00
Lukas Wirth
fd1f2e3528
Merge pull request #19249 from Veykril/push-noosrywrsuvn
...
Fix prefix adjustment hints unnecessarily introducing parens
2025-02-28 09:33:36 +00:00
Lukas Wirth
637dbe56fa
Fix prefix adjustment hints unnecessarily introducing parens
2025-02-28 10:18:10 +01:00
Lukas Wirth
bd8b58d7ec
Merge pull request #19246 from ncrothers/add-anchor-for-associated-items
...
Add anchor for intra-doc links to associated items
2025-02-28 06:32:53 +00:00
Nicholas Crothers
af0c8b7f25
Add anchor for intra-doc links to associated items
2025-02-27 16:39:07 -06:00
BenjaminBrienen
d6f5377826
Update Node.js, vscode, and ts deps
2025-02-27 20:53:48 +01:00
BenjaminBrienen
1b6c4b7770
ignore another test that fails on windows
2025-02-27 16:09:00 +01:00
BenjaminBrienen
0404156654
ignore doc test that only fails on windows
2025-02-27 15:57:08 +01:00
BenjaminBrienen
df903a55dd
fix doc tests
2025-02-27 14:58:46 +01:00
BenjaminBrienen
8c16ded966
enable doctest
2025-02-27 14:58:46 +01:00
Lukas Wirth
cabb08ded5
Fix sysroot crate-graph construction not mapping crate-ids for proc-macros
2025-02-27 13:20:19 +01:00
Laurențiu Nicola
d4b92f4b68
Merge pull request #19230 from lnicola/zig
...
internal: set up Zig on CI and start using it in rust-analyzer
2025-02-27 11:34:41 +00:00
Lukas Wirth
e162475e7c
Merge pull request #19096 from darichey/rust-project-sysroot
...
Allow rust-project.json to specify sysroot workspace
2025-02-27 11:22:41 +00:00
LuuuXXX
dae664d09a
Cofigurate out ohos target to avoid compilation crashes
2025-02-27 11:43:03 +08:00
David Richey
5109c0b9e4
Drop support for stitched sysroot
2025-02-26 14:18:52 -06:00
David Richey
faaba55be1
Allow rust-project.json to specify sysroot workspace
2025-02-26 14:18:48 -06:00
Laurențiu Nicola
444ce09d53
Merge pull request #19220 from Shourya742/2025-02-24-nit-setup-doc
...
doc: remove nit from setup.md
2025-02-26 15:31:24 +00:00
Laurențiu Nicola
fae88f2ab5
Use cargo zigbuild for releases
2025-02-26 14:16:09 +02:00
Lukas Wirth
aa32933982
Merge pull request #19225 from Giga-Bowser/remove-assists
...
internal: Migrate some low-hanging `remove_*` assists to `SyntaxEditor`
2025-02-26 11:54:31 +00:00
Chayim Refael Friedman
3b4e268d81
Merge pull request #19204 from kazatsuyu/allow-package-specific-feature
...
Allow "package/feature" format feature flag
2025-02-26 06:01:12 +00:00
Giga Bowser
6e6e7e9669
internal: Migrate remove_unused_param assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
1d5f831ffc
fix: Properly handle removals in SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
8036e841b0
internal: Migrate remove_parentheses assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
cac5153961
internal: Migrate remove_mut assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
f7adafc7a3
internal: Improve reporting of intersecting changes
2025-02-25 11:46:45 -05:00
Chayim Refael Friedman
5c654dcb46
Disable typos checker for the target feature names
2025-02-25 05:02:17 +02:00
Chayim Refael Friedman
d5a85af7c0
Support target features implications in target_feature 1.1
...
We vendor the list of implications, which isn't nice, but t-compiler doesn't want to make rustc_target available to us.
2025-02-25 04:50:26 +02:00
bit-aloo
91ff4208d1
doc: remove nit from setup.md
2025-02-25 07:37:16 +05:30
Giga Bowser
1ff2593da9
minor: Add tabstop to impl body in generate_trait_impl assist
2025-02-24 13:58:34 -05:00
Lukas Wirth
a9dbd4988b
Merge pull request #19171 from ShoyuVanilla/migrate-de-morgan-assist
...
internal: Migrate `apply_demorgan` to `SyntaxEditor`
2025-02-24 13:57:56 +00:00
Lukas Wirth
32e404937f
Merge pull request #18987 from ChayimFriedman2/drop-glue
...
feat: Calculate drop glue and show it on hover
2025-02-24 13:52:17 +00:00
Shoyu Vanilla
1c2225be63
Add take() method to SyntaxEditor
2025-02-24 22:42:57 +09:00
Shoyu Vanilla
756f2131e0
Migrate apply_demorgan to SyntaxEditor
2025-02-24 22:41:53 +09:00
Shoyu Vanilla
67a99a36a6
Migrate some leftovers in add_missing_match_arms
2025-02-24 22:41:52 +09:00
Lukas Wirth
18c6f22dc5
Merge pull request #19219 from Veykril/push-rvosplwpwqqt
...
Vendor `always-assert` into `stdx`
2025-02-24 13:15:39 +00:00
Lukas Wirth
6e2abbfcc3
Merge pull request #19211 from Timmmm/user/timh/import_private
...
Include private items in completions for local crates
2025-02-24 13:13:31 +00:00
Lukas Wirth
49116c6fdc
Merge pull request #19197 from andylokandy/insta
...
feat: update insta inline snapshot when clicking 'Update Test' runnable
2025-02-24 13:11:45 +00:00