about summary refs log tree commit diff
path: root/docs/user
AgeCommit message (Collapse)AuthorLines
2022-01-10Fix documentation of snippetWang Ruochen-4/+9
2022-01-07Merge #11145bors[bot]-0/+5
11145: feat: add config to use reasonable default expression instead of todo! when filling missing fields r=Veykril a=bnjjj Use `Default::default()` in struct fields when we ask to fill it instead of putting `todo!()` for every fields before: ```rust pub enum Other { One, Two, } pub struct Test { text: String, num: usize, other: Other, } fn t_test() { let test = Test {<|>}; } ``` after: ```rust pub enum Other { One, Two, } pub struct Test { text: String, num: usize, other: Other, } fn t_test() { let test = Test { text: String::new(), num: 0, other: todo!(), }; } ``` Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Co-authored-by: Coenen Benjamin <benjamin.coenen@hotmail.com>
2022-01-07feat(diagnostics): use default expression instead of todo! when missing fieldsBenjamin Coenen-1/+1
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2022-01-06Adjust config nameLukas Wirth-3/+4
2022-01-06Regenrate docs and package.jsonLukas Wirth-0/+6
2021-12-31feat(diagnostics): add new config to fill default expressionBenjamin Coenen-0/+5
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-12-29Update manual.adocAmjad Ben Hedhili-12/+9
2021-12-23Update privacy noteLaurențiu Nicola-1/+3
2021-12-18Merge #11042bors[bot]-1/+1
11042: minor: clarify RA_LOG env var troubleshooting r=lnicola a=Veykril cc https://github.com/rust-analyzer/rust-analyzer/pull/10261 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-18Fix typoLukas Wirth-1/+1
2021-12-18Prepare Code extension for bundlingLaurențiu Nicola-0/+2
2021-12-17minor: clarify RA_LOG env var troubleshootingLukas Wirth-1/+1
2021-12-17Merge #11041bors[bot]-2/+2
11041: minor: Fix some clippy lints r=lnicola a=lnicola bors r+ Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-12-17Spelling nitsLaurențiu Nicola-2/+2
2021-12-17Add a few default snippets for VSCodeLukas Wirth-1/+41
2021-11-19Add toggle to disable cache primingLaurențiu Nicola-0/+5
2021-11-18Allow clients to configure the global workspace search limitPaul Horn-0/+7
2021-11-13flip the defaultJake Heinz-1/+1
2021-11-13inlay hints: add the option to always show constructor inlay hintsJake Heinz-0/+5
2021-11-12Update docs: include Gentoo source buildmjkalyan-1/+2
Mention the dev-util/rust-analyzer package for building from source.
2021-11-05Show how to create `~/.local/bin`Laurențiu Nicola-0/+3
2021-10-21Amend the instruction for rustup.Jan Scheer-2/+4
The current instruction for installation via rustup are misleading.
2021-10-14Document rustc source auto-discoveryLaurențiu Nicola-2/+3
2021-10-05Merge #10447bors[bot]-2/+8
10447: Add enum variant references CodeLens. r=Veykril a=ericsampson Co-authored-by: Eric Sampson <esampson@eaze.com>
2021-10-05Render the expansion of snippets as their docsLukas Wirth-5/+0
2021-10-04Regen generated_config.adocLukas Wirth-0/+10
2021-10-04need to update some generated files.Eric Sampson-2/+8
2021-09-27Enable attribute proc macros by defaultLaurențiu Nicola-1/+1
2021-09-24Add missing filesCarlos Menezes-1/+1
2021-09-22Fix title of User Manual pageTerry Sun-2/+4
Asciidoc uses the first line of a doc as the title, so you can't put comments before the heading.
2021-09-15Fix typescript syntax errorsWilfred Hughes-2/+2
Remove unwanted `:` and fix the naming of the boolean type.
2021-09-13Don't spam the manual with warningsLaurențiu Nicola-1/+3
2021-09-05Update manual.adocDorian Peake-15/+3
2021-09-05Add rust-project.json + cargo check info to docsDorian Peake-0/+21
Add information about how to configure compilation errors/checks when using rust-project.json.
2021-09-04no need to reed the docs, feel free to charge ahead!Aleksey Kladov-1/+1
But knowing where the docs are is useful ;)
2021-09-04docs: make dev docs more discoverableAleksey Kladov-0/+3
I *think* people might try to debug ra by using only the troubleshooting section. Might make sense to point them to dev docs then!
2021-08-22feat: join lines merges assignmentsunexge-0/+5
2021-08-14Update manual.adoc: added juCi++ sectionOle Christian Eidheim-0/+4
2021-08-01Rust project supports proc-macro dependent cratesToby Fleming-1/+3
2021-07-30feat: gate custom clint-side commands behind capabilitiesAleksey Kladov-0/+6
Some features of rust-analyzer requires support for custom commands on the client side. Specifically, hover & code lens need this. Stock LSP doesn't have a way for the server to know which client-side commands are available. For that reason, we historically were just sending the commands, not worrying whether the client supports then or not. That's not really great though, so in this PR we add infrastructure for the client to explicitly opt-into custom commands, via `extensions` field of the ClientCapabilities. To preserve backwards compatability, if the client doesn't set the field, we assume that it does support all custom commands. In the future, we'll start treating that case as if the client doesn't support commands. So, if you maintain a rust-analyzer client and implement `rust-analyzer/runSingle` and such, please also advertise this via a capability.
2021-07-22Updated docs.Kevin DeLorey-0/+20
2021-07-22Merge #9634bors[bot]-1/+3
9634: minor update to excludeDirs doc r=lnicola a=dae I saw reference to globs in #7755, but it doesn't look like they're actually supported, and I had to dig through the source to discover that the folders are relative to the workspace root. Further digging was required to get VS Code from hanging for long periods trying to watch giant Bazel folders that had already been excluded from Rust Analyzer. Hopefully this tweak will save others the confusion :-) Co-authored-by: Damien Elmes <gpg@ankiweb.net> Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2021-07-22mention files.watcherExcludeDamien Elmes-1/+1
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2021-07-21docs: fix typoJesse Jackson-1/+1
tree -> three
2021-07-19minor update to excludeDirs docDamien Elmes-1/+3
I saw reference to globs in #7755, but it doesn't look like they're actually supported, and I had to dig through the source to discover that the folders are relative to the workspace root. Further digging was required to get VS Code from hanging for long periods trying to watch giant Bazel folders that had already been excluded from Rust Analyzer. Hopefully this tweak will save others the confusion :-)
2021-07-17Remove outdated "(not yet released)" hintDaniel Hofstetter-1/+1
Neovim 0.5 has been released recently (see http://neovim.io/news/2021/07), hence the "(not yet released)" hint is no longer needed.
2021-07-05feat: make join lines behavior configurableAleksey Kladov-0/+15
closes #9492
2021-06-21Merge #9264bors[bot]-5/+10
9264: feat: Make documentation on hover configurable r=Veykril a=Veykril This also implements deprecation support for config options as this renames `hoverActions_linksInHover` to `hover_linksInHover`. Fixes #9232 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-06-21Remove deprecation support in configLukas Wirth-5/+0
2021-06-19Implement a config override for the default #[cfg(test)] in cargo cratesJade-0/+5
Fixes crates which vanish when the 'test' cfg atom is set. Fix #7243. Fix #9203. Fix #7225.