about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/docs
AgeCommit message (Collapse)AuthorLines
2025-03-10Remove generated md book filesLukas Wirth-5346/+1
2025-03-09fix: Prevent wrong invocations of `needs_parens_in` with non-ancestral "parent"sShoyu Vanilla-3/+3
2025-03-05Merge pull request #19274 from Veykril/push-pouwrwwrlrltLukas Wirth-3/+3
Highlight unsafe operations as unsafe, not definitions
2025-03-05Use HIR unsafety information for unsafe syntax highlightngLukas Wirth-3/+3
2025-03-03Merge pull request #19261 from Veykril/push-rnqlyrvqpolsLukas Wirth-87/+111
Support tuple struct patterns for expand_rest_pattern assist
2025-03-03Merge pull request #19243 from Veykril/push-qrrqsywkwyzpLukas Wirth-0/+4
Allow unsetting default cfgs
2025-03-03Support tuple struct patterns for expand_rest_pattern assistLukas Wirth-2/+26
2025-03-02Normalize some assist namesLukas Wirth-89/+89
2025-03-02Merge pull request #19259 from Veykril/push-skmvrmtorqsoLukas Wirth-2/+22
Add flip or-pattern assist
2025-03-02Add flip or-pattern assistLukas Wirth-2/+22
2025-03-01Migrate `convert_bool_then` to `SyntaxEditor`Shoyu Vanilla-4/+4
Update assist docs
2025-02-27Allow unsetting default cfgsLukas Wirth-0/+4
2025-02-26Merge pull request #19220 from Shourya742/2025-02-24-nit-setup-docLaurențiu Nicola-4/+10
doc: remove nit from setup.md
2025-02-25internal: Migrate `remove_unused_param` assist to `SyntaxEditor`Giga Bowser-1/+1
2025-02-25internal: Migrate `remove_parentheses` assist to `SyntaxEditor`Giga Bowser-1/+1
2025-02-25doc: remove nit from setup.mdbit-aloo-4/+10
2025-02-24minor: Add tabstop to impl body in `generate_trait_impl` assistGiga Bowser-2/+2
2025-02-24Merge pull request #18987 from ChayimFriedman2/drop-glueLukas Wirth-0/+5
feat: Calculate drop glue and show it on hover
2025-02-24Update assist docsLaurențiu Nicola-149/+175
2025-02-21toc for other editorsJosh Rotenberg-0/+2
2025-02-20Update style.mdBenjamin Brienen-1/+1
fix dead link
2025-02-20Update editor_features.mdBenjamin Brienen-3/+2
fix typos in snippets
2025-02-20Merge pull request #19185 from BenjaminBrienen/patch-3Laurențiu Nicola-1/+1
Update architecture.md
2025-02-20Update configuration.mdBenjamin Brienen-3/+3
fix dead links
2025-02-20Update architecture.mdBenjamin Brienen-1/+1
it is stable since 1.52
2025-02-17move dev docs to manualJosh Rotenberg-168/+195
fix formatting
2025-02-17Calculate drop glue and show it on hoverChayim Refael Friedman-0/+5
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-12manual: Separate out installation and configuration pagesWilfred Hughes-618/+635
Organise the installation content into: * VS Code instructions * Binary installation * Editor configuration
2025-02-12Merge pull request #18928 from roife/fix-18918Lukas Wirth-0/+5276
fix: handle character boundary in search mode
2025-02-12fix: handle character boundary in search moderoife-0/+5276
2025-02-12Merge pull request #19132 from joshrotenberg/book-readme-run-codegenLukas Wirth-1/+1
doc: add xtask codegen command in development README as well
2025-02-11remove unused plugin configJosh Rotenberg-5/+0
2025-02-11Merge pull request #19133 from joshrotenberg/fix-manual-github-pathsChayim Refael Friedman-3/+3
doc: fix mdbook repository paths
2025-02-11Merge pull request #18998 from ChayimFriedman2/excludeLukas Wirth-2/+2
fix: Make `rust-analyzer.files.excludeDirs` work, actually
2025-02-10fix mdbook pathsJosh Rotenberg-3/+3
2025-02-10add xtask codegen command as wellJosh Rotenberg-1/+1
2025-02-09doc: error url阿豪-1/+1
2025-02-07Organise chapters in mdbook sidebarWilfred Hughes-3/+3
2025-02-06closure parameter inlay hintsjnyfah-0/+5
2025-02-04Make `rust-analyzer.files.excludeDirs` work, actuallyChayim Refael Friedman-2/+2
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-01-28Merge pull request #19015 from Wilfred/mdbookLukas Wirth-2321/+2563
manual: Convert to mdbook
2025-01-26Update outdated permissions section in the README.mdLukas Wirth-12/+6
2025-01-25Skip redundant path search in `resolve_completion_edits`Lukas Wirth-1/+1
2025-01-24manual: Convert to mdbookWilfred Hughes-2321/+2563
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-24Merge pull request #18993 from ChayimFriedman2/iter-configLukas Wirth-0/+10
feat: Provide a config to control auto-insertion of `await` and `iter()`
2025-01-21manual: Document all rust-project.json fieldsWilfred Hughes-7/+83
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-21Provide a config to control auto-insertion of `await` and `iter()`Chayim Refael Friedman-0/+10
2025-01-17Update syntax tree viewer docsMark Murphy-7/+9
2025-01-16Fix `debug_assertions` broken in 1c5a125beb35725ccc2ade005db9870db734bf23VinTarZ-1/+1
2025-01-15Flip on typing config to be opt-in, better defaultsLukas Wirth-4/+12