about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/docs
AgeCommit message (Collapse)AuthorLines
2024-07-08feat: add inlay hints for generic parametersLiao Junxuan-0/+15
fixes #11091 By default, only hints for const generic parameters are shown.
2024-07-07Auto merge of #17523 - wada314:master, r=Veykrilbors-0/+5
Add an option to use "::" for the external crate prefix. Fixes #11823 . Hi I'm very new to rust-analyzer and not sure how the review process are. Can somebody take a look at this PR? thanks!
2024-07-07Fix stale reference in architecture.mdLukas Wirth-1/+1
2024-07-07Move capability querying out of the config moduleLukas Wirth-1/+1
2024-07-06Flatten cargoExtraArgs away from the runnable lsp extensionLukas Wirth-8/+3
2024-07-06Add environment to runnable lsp extensionLukas Wirth-4/+33
2024-07-02squash.Shohei Wada-0/+5
2024-07-01Auto merge of #17522 - Veykril:comptimes, r=Veykrilbors-6/+6
internal: Cut compiletimes slightly
2024-06-30Remove serde flag from indexmap dependencyLukas Wirth-6/+6
2024-06-29Make borrow checking configurable for term searchTavo Annus-0/+5
2024-06-22Fix suggestions of unstable constantsTavo Annus-4/+4
2024-06-19Auto merge of #17438 - jjoeldaniel:toggle_lsp_logs, r=Veykrilbors-2/+2
feat: add `toggleLSPLogs` command Implement client-side command to toggle LSP logs in VSCode. The command replaces the need to add/remove the `"rust-analyzer.trace.server": "verbose"` setting each time one wants to display logs. I've also updated the docs/ instances that reference the now outdated manual method. The command labeled `rust-analyzer: Toggle LSP Logs` enables the setting project-wide and opens the relevant trace output channel. Closes #8233
2024-06-17feat: add `toggleLSPLogs` commandJoel Daniel Rico-2/+2
add `toggleLSPLogs` command update docs to reflect new command
2024-06-16docs: fix manual generation instructionsLunaphied-1/+1
To generate all the requisite files, you need to run `cargo xtask codegen` not `cargo test -p xtask`.
2024-06-11Auto merge of #16840 - Wilfred:shell_runnable, r=Veykrilbors-2/+13
Allow rust-project.json to include arbitrary shell commands for runnables This is a follow-up on #16135, resolving the feedback raised :) Allow rust-project.json to include shell runnables, of the form: ``` { "build_info": { "label": "//project/foo:my-crate", "target_kind": "bin", "shell_runnables": [ { "kind": "run", "program": "buck2", "args": ["run", "//project/foo:my-crate"] }, { "kind": "test_one", "program": "test_runner", "args": ["--name=$$TEST_NAME$$"] } ] } } ``` If these runnable configs are present for the current crate in rust-project.json, offer them as runnables in VS Code. This PR required some boring changes to APIs that previously only handled cargo situations. I've split out these changes as commits labelled 'refactor', so it's easy to see the interesting changes.
2024-06-11feature: add build system info; runnables to `rust-project.json`Wilfred Hughes-2/+13
2024-06-11Simplify some config serialization stuffLukas Wirth-1/+1
2024-06-07Fix processing of ratoml filesLukas Wirth-1/+1
2024-05-24Update docsroife-1/+2
2024-05-23Allow sysroots to only consist of the source root dirLukas Wirth-1/+1
2024-05-17Correct Neovim 0.10 inlay hints config exampleAdam Szkoda-1/+1
2024-05-08Make term search fuel configurableTavo Annus-0/+10
2024-04-30docs: Fix typo in VS Code setting descriptionWilfred Hughes-1/+1
2024-04-29Auto merge of #17144 - cbiffle:patch-1, r=Veykrilbors-2/+0
manual: remove suggestion of rust-project.json example The manual has been linking to the repo https://github.com/rust-analyzer/rust-project.json-example/tree/master This repo does not contain a rust-project.json, does not appear to have _ever_ contained a rust-project.json, and my bug report about this has gone untouched: https://github.com/rust-analyzer/rust-project.json-example/issues/4 Since I can't figure out an example, this commit removes the link pending better documentation.
2024-04-28Don't retry position relient requests and version resolve dataLukas Wirth-1/+1
2024-04-26manual: remove suggestion of rust-project.json exampleCliff L. Biffle-2/+0
The manual has been linking to the repo https://github.com/rust-analyzer/rust-project.json-example/tree/master This repo does not contain a rust-project.json, does not appear to have _ever_ contained a rust-project.json, and my bug report about this has gone untouched: https://github.com/rust-analyzer/rust-project.json-example/issues/4 Since I can't figure out an example, this commit removes the link pending better documentation.
2024-04-26Show workspace info in the status barLukas Wirth-1/+1
2024-04-25Auto merge of #17021 - roife:add-hover-limits-for-adts, r=Veykrilbors-2/+7
Support hovering limits for adts Fix #17009 1. Currently, r-a supports limiting the number of struct fields displayed when hovering. This PR extends it to support enum variants and union fields. Since the display of these three (ADTs) is similar, this PR extends 'hover_show_structFields' to 'hover_show_adtFieldsOrVariants'. 2. This PR also resolved the problem that the layout of ADT was not restricted by display limitations when hovering on the Self type. 3. Additionally, this PR changes the default value of display limitations to `10` (instead of the original `null`), which helps users discover this feature.
2024-04-21Auto merge of #17025 - lnicola:josh, r=lnicolabors-5/+15
internal: Use josh for subtree syncs
2024-04-21Allow rust files to be used linkedProjectsLukas Wirth-0/+6294
2024-04-21Use josh for subtree syncsLaurențiu Nicola-0/+6303
2024-04-20Add hovering limitations support for variantsroife-2/+2
2024-04-19fix: add a separate setting for enum variantsroife-2/+7
2024-04-16fix: adjust the limitation for ADTs' fields to 5roife-1/+1
2024-04-16Update tests and docs for hover_show_adtFieldsOrVariantsroife-2/+2
2024-04-16Add config hover_show_adtFieldsOrVariants to handle hovering limitation for ADTsroife-0/+6279