mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
⬆️ rust-analyzer
This commit is contained in:
parent
134701885d
commit
31519bb394
83 changed files with 2092 additions and 626 deletions
|
@ -485,7 +485,7 @@ Mind the code--architecture gap: at the moment, we are using fewer feature flags
|
|||
### Serialization
|
||||
|
||||
In Rust, it is easy (often too easy) to add serialization to any type by adding `#[derive(Serialize)]`.
|
||||
This easiness is misleading -- serializable types impose significant backwards compatability constraints.
|
||||
This easiness is misleading -- serializable types impose significant backwards compatibility constraints.
|
||||
If a type is serializable, then it is a part of some IPC boundary.
|
||||
You often don't control the other side of this boundary, so changing serializable types is hard.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!---
|
||||
lsp_ext.rs hash: 2a188defec26cc7c
|
||||
lsp_ext.rs hash: 7b710095d773b978
|
||||
|
||||
If you need to change the above hash to make the test pass, please check if you
|
||||
need to adjust this doc as well and ping this issue:
|
||||
|
|
|
@ -118,6 +118,10 @@ If you're changing this because you're using some tool wrapping
|
|||
Cargo, you might also want to change
|
||||
`#rust-analyzer.cargo.buildScripts.overrideCommand#`.
|
||||
|
||||
If there are multiple linked projects, this command is invoked for
|
||||
each of them, with the working directory being the project root
|
||||
(i.e., the folder containing the `Cargo.toml`).
|
||||
|
||||
An example command would be:
|
||||
|
||||
```bash
|
||||
|
@ -318,6 +322,12 @@ Whether to show `Run` action. Only applies when
|
|||
--
|
||||
Whether to show documentation on hover.
|
||||
--
|
||||
[[rust-analyzer.hover.documentation.keywords.enable]]rust-analyzer.hover.documentation.keywords.enable (default: `true`)::
|
||||
+
|
||||
--
|
||||
Whether to show keyword hover popups. Only applies when
|
||||
`#rust-analyzer.hover.documentation.enable#` is set.
|
||||
--
|
||||
[[rust-analyzer.hover.links.enable]]rust-analyzer.hover.links.enable (default: `true`)::
|
||||
+
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue