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
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
Wilfred Hughes
9c29688076
Organise chapters in mdbook sidebar
2025-02-07 12:25:39 -08:00
jnyfah
4522bf42ca
closure parameter inlay hints
2025-02-06 15:55:56 +01:00
Chayim Refael Friedman
ac6b054ca5
Make rust-analyzer.files.excludeDirs
work, actually
...
I have no idea what the original writer of the code thought but the logic just seems backwards. We should not exclude a file/directory if it is equal to an include! This also meant that we had to add a `root == path` check so this stuff will actually work, which in turn meant excludes (of root files) no longer worked...
Also rename if to `rust-analyzer.files.exclude`, because it can exclude files as well.
2025-02-04 17:54:13 +02:00
Lukas Wirth
07a09c154e
Merge pull request #19015 from Wilfred/mdbook
...
manual: Convert to mdbook
2025-01-28 16:19:37 +00:00
Lukas Wirth
6e9f27dbc9
Update outdated permissions section in the README.md
2025-01-26 07:57:08 +01:00
Lukas Wirth
ae74cc3b88
Skip redundant path search in resolve_completion_edits
2025-01-25 13:03:01 +01: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
1329e6be49
Merge pull request #18993 from ChayimFriedman2/iter-config
...
feat: Provide a config to control auto-insertion of `await` and `iter()`
2025-01-24 13:31:30 +00:00
Wilfred Hughes
86a4b2fdd7
manual: Document all rust-project.json fields
...
Ensure that all the fields that rust-analyzer understands are in the
manual, they all have doc comments, and they use consistent
punctuation (`;` rather than mixing `,` and `;`).
Whilst we're here, fix the `sysroot_src` example and add 2024 as a
legal value for Rust edition.
2025-01-21 12:00:13 -08:00
Chayim Refael Friedman
47f4f3f0b2
Provide a config to control auto-insertion of await
and iter()
2025-01-21 18:51:09 +02:00
Mark Murphy
1e40500679
Update syntax tree viewer docs
2025-01-17 15:55:38 -05:00
VinTarZ
d71015d90d
Fix debug_assertions
broken in 1c5a125beb35725ccc2ade005db9870db734bf23
2025-01-16 14:19:16 +03:00
Lukas Wirth
557c467aa9
Flip on typing config to be opt-in, better defaults
2025-01-15 10:25:37 +01:00
Lukas Wirth
d4fa92e80a
Implement implicit sized bound inlay hints
2025-01-10 12:38:21 +01:00
Lukas Wirth
d133136bc4
Merge pull request #18813 from Giga-Bowser/syntax-tree-view
...
feat: Add a new and improved syntax tree view
2025-01-10 06:56:34 +00:00
Giga Bowser
cb5ce9eaa6
Remove the old syntax tree viewer
2025-01-09 13:20:06 -06:00
Giga Bowser
5ffe45d8cd
Add a new and improved syntax tree viewer
2025-01-09 13:20:06 -06:00
Lukas Wirth
2e234e3d1b
Merge pull request #18880 from PrototypeNM1/extra-includes
...
Add config setting which allows adding additional include paths to the VFS.
2025-01-09 10:24:51 +00:00
Nicholas Rishel
1f9686993a
Add config setting which allows adding additional include paths to the VFS.
2025-01-08 10:57:46 -08:00
qjerome
e9a13ab6d7
fix: autogenerate files
2025-01-08 14:47:21 +01:00
Lukas Wirth
2ac803ec71
target-triple -> target-tuple
2025-01-07 14:25:43 +01:00
Lukas Wirth
f1c0d176f3
Remove rust-analyzer.cargo.sysrootQueryMetadata
config again
2025-01-07 14:00:22 +01:00