Lukas Wirth
3ee81c7115
fix: Temporarily disable +
typing handler as it moves the cursor position
2025-06-19 08:29:50 +02:00
Lukas Wirth
8661c59a7f
Merge pull request #19939 from ChayimFriedman2/fill-arms-self
...
feat: In "Fill match arms", allow users to prefer `Self` to the enum name when possible
2025-06-17 08:20:02 +00:00
Lukas Wirth
b1824c3962
feat: Insert required parentheses when typing +
in trait type
2025-06-16 19:02:18 +02:00
Laurențiu Nicola
e2c3647c6a
Merge pull request #19994 from sourcefrog/book-links
...
Fix some links in the book
2025-06-16 07:02:59 +00:00
Lucas Holten
dc85e3ee35
Add config option to exclude imports from symbol search
2025-06-15 02:41:35 +02:00
Martin Pool
e3c75abe67
Make the URL a hyperlink
2025-06-13 07:36:51 -07:00
Martin Pool
5702eadd27
Fix link to the contribution guide
2025-06-13 07:35:34 -07:00
Jakub Beránek
4ed107fbc9
Fix link to good first issues
2025-06-13 07:55:07 +02:00
Wilfred Hughes
e7ae13368b
[minor] Fix typos
2025-06-10 13:22:03 +01:00
Chayim Refael Friedman
25a7b2480e
In "Fill match arms", allow users to prefer Self
to the enum name when possible
...
But default to not to.
I chose to have a more generic config name because maybe other assists could also use the same approach.
2025-06-06 16:34:53 +03:00
Wilfred Hughes
005d8c59ab
internal: Use 'ProjectJson' consistently
...
The Rust source code previously mised ProjectJson and JsonProject,
and the TypeScript definition didn't match either.
Use 'ProjectJson' everywhere. This is purely an internal change.
2025-06-02 11:21:46 +01:00
Shoyu Vanilla
e806957098
feat: Render padding information when hovering on structs
2025-05-28 14:18:50 +09:00
Lukas Wirth
acab393c4a
Merge pull request #19819 from Veykril/push-utvzwvwuuvlm
...
Change import prefix default to be by crate
2025-05-26 08:28:16 +00:00
Oli Scherer
41cf50ff91
Remove rust-analyzer.vs from other editors
2025-05-22 07:37:25 +00:00
Lukas Wirth
262fcfbc58
Change import prefix default to be by crate
...
The current default plain, tends to create non-uniform import blocks over time, some being relative, some being absolute.
I believe we should encourage a different default here.
2025-05-19 08:44:05 +02:00
bbb651
c7cf6bf7c3
doc: Fix dead manual links
2025-04-20 20:28:52 +03:00
bbb651
2ffcb99683
doc: Rework generated configuration to have anchors
...
Also first line of default code blocks being used as the language instead of json
and fixes a missing `json` language in a doc comment code block.
2025-04-20 19:29:54 +03:00
David Barsky
99a2b676bc
internal: rename children_modules
to child_modules
2025-04-09 12:43:49 -04:00
geetanshjuneja
8f6d32cf62
cargo xtask tidy
2025-04-07 21:41:26 +05:30
Prajwal S N
865681d779
feat(project-model): provide flag for no deps
...
A Cargo project can now be built without any dependency metadata being fetched.
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-04 18:57:10 +05:30
Lukas Wirth
78f4146dc7
chore: Cleanup vscode extension output channels
2025-03-24 07:44:46 +01:00
BenjaminBrienen
98f2cfd3fa
Improve contributing/README.md
2025-03-22 17:54:46 +01:00
BenjaminBrienen
1293a5a186
cargo xtask tidy
2025-03-15 21:32:01 +01:00
BenjaminBrienen
70fc7b98c6
edition = "2024"
2025-03-15 21:32:01 +01:00
Lukas Wirth
b949820aff
Remove generated md book files
2025-03-10 13:57:26 +01:00
Shoyu Vanilla
5b202cb663
fix: Prevent wrong invocations of needs_parens_in
with non-ancestral "parent"s
2025-03-09 18:54:22 +09:00
Lukas Wirth
27dc614627
Merge pull request #19274 from Veykril/push-pouwrwwrlrlt
...
Highlight unsafe operations as unsafe, not definitions
2025-03-05 12:57:25 +00:00
Lukas Wirth
9fc0ffe008
Use HIR unsafety information for unsafe syntax highlightng
2025-03-05 13:18:46 +01:00
Lukas Wirth
03f90b0afa
Merge pull request #19261 from Veykril/push-rnqlyrvqpols
...
Support tuple struct patterns for expand_rest_pattern assist
2025-03-03 11:51:07 +00:00
Lukas Wirth
b685ada098
Merge pull request #19243 from Veykril/push-qrrqsywkwyzp
...
Allow unsetting default cfgs
2025-03-03 11:42:40 +00:00
Lukas Wirth
4ad546f6a6
Support tuple struct patterns for expand_rest_pattern assist
2025-03-03 12:35:53 +01:00
Lukas Wirth
0f4e6104e0
Normalize some assist names
2025-03-02 09:09:12 +01:00
Lukas Wirth
7273d714af
Merge pull request #19259 from Veykril/push-skmvrmtorqso
...
Add flip or-pattern assist
2025-03-02 07:41:42 +00:00
Lukas Wirth
f7569a4426
Add flip or-pattern assist
2025-03-02 08:04:27 +01:00
Shoyu Vanilla
37822d5917
Migrate convert_bool_then
to SyntaxEditor
...
Update assist docs
2025-03-01 13:12:15 +09:00
Lukas Wirth
5e18ad0770
Allow unsetting default cfgs
2025-02-27 17:34:29 +01:00
Laurențiu Nicola
1795a85be3
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
Giga Bowser
f155aef64d
internal: Migrate remove_unused_param
assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
6dda2e81c6
internal: Migrate remove_parentheses
assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
bit-aloo
9526d8bfe9
doc: remove nit from setup.md
2025-02-25 07:37:16 +05:30
Giga Bowser
6739652af7
minor: Add tabstop to impl body in generate_trait_impl
assist
2025-02-24 13:58:34 -05:00
Lukas Wirth
93bd36dfb9
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
Laurențiu Nicola
c96554a622
Update assist docs
2025-02-24 10:28:52 +02:00
Josh Rotenberg
255ac6797c
toc for other editors
2025-02-21 20:40:19 -08:00
Benjamin Brienen
3a333962ee
Update style.md
...
fix dead link
2025-02-20 19:38:24 +01:00
Benjamin Brienen
701c2de137
Update editor_features.md
...
fix typos in snippets
2025-02-20 17:05:18 +01:00
Laurențiu Nicola
457d1d263c
Merge pull request #19185 from BenjaminBrienen/patch-3
...
Update architecture.md
2025-02-20 07:23:34 +00:00
Benjamin Brienen
92e9c76f15
Update configuration.md
...
fix dead links
2025-02-20 03:21:45 +01:00
Benjamin Brienen
11daea37b6
Update architecture.md
...
it is stable since 1.52
2025-02-20 01:28:20 +01:00
Josh Rotenberg
f40ff2d8dc
move dev docs to manual
...
fix formatting
2025-02-17 10:47:27 -08:00