54 Commits

Author SHA1 Message Date
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
Chayim Refael Friedman
100e166bb1 Calculate drop glue and show it on hover
Also fix the `needs_drop()` intrinsic.

Unions also need this information (to err if they have a drop-needing field), but this will come in a follow-up PR.
2025-02-17 06:29:37 +02:00
Wilfred Hughes
3394744928 manual: Separate out installation and configuration pages
Organise the installation content into:

* VS Code instructions
* Binary installation
* Editor configuration
2025-02-12 10:21:09 -08:00
Lukas Wirth
12d87252ac
Merge pull request #18928 from roife/fix-18918
fix: handle character boundary in search mode
2025-02-12 14:07:51 +00:00
roife
608d7e14d7 fix: handle character boundary in search mode 2025-02-12 14:47:28 +01:00
Lukas Wirth
3b6f77c722
Merge pull request #19132 from joshrotenberg/book-readme-run-codegen
doc: add xtask codegen command in development README as well
2025-02-12 11:49:11 +00:00
Josh Rotenberg
97c94ad1a4 remove unused plugin config 2025-02-11 13:52:01 -08:00
Chayim Refael Friedman
f63e4761a9
Merge pull request #19133 from joshrotenberg/fix-manual-github-paths
doc: fix mdbook repository paths
2025-02-11 20:28:48 +00:00
Lukas Wirth
78e7515a30
Merge pull request #18998 from ChayimFriedman2/exclude
fix: Make `rust-analyzer.files.excludeDirs` work, actually
2025-02-11 11:41:54 +00:00
Josh Rotenberg
a91f1f3d0c fix mdbook paths 2025-02-10 15:20:51 -08:00
Josh Rotenberg
1f8f323872 add xtask codegen command as well 2025-02-10 15:14:00 -08:00
阿豪
8d017f3ce1
doc: error url 2025-02-09 17:49:26 +08:00