One more tiny doc fix
This commit is contained in:
parent
68c34d1f63
commit
6f8d70363d
@ -177,7 +177,7 @@ Two types of inlay hints are displayed currently:
|
|||||||
In VS Code, the following settings can be used to configure the inlay hints:
|
In VS Code, the following settings can be used to configure the inlay hints:
|
||||||
|
|
||||||
* `rust-analyzer.displayInlayHints` — toggles inlay hints display on or off
|
* `rust-analyzer.displayInlayHints` — toggles inlay hints display on or off
|
||||||
* rust-analyzer.maxInlayHintLength — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shorteninng is applied.
|
* `rust-analyzer.maxInlayHintLength` — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shorteninng is applied.
|
||||||
|
|
||||||
**Note:** VS Code does not have native support for inlay hints [yet](https://github.com/microsoft/vscode/issues/16221) and the hints are implemented using decorations.
|
**Note:** VS Code does not have native support for inlay hints [yet](https://github.com/microsoft/vscode/issues/16221) and the hints are implemented using decorations.
|
||||||
This approach has limitations: the caret movement near the end of the hint may look [weird](https://github.com/rust-analyzer/rust-analyzer/issues/1623).
|
This approach has limitations: the caret movement near the end of the hint may look [weird](https://github.com/rust-analyzer/rust-analyzer/issues/1623).
|
||||||
|
Loading…
Reference in New Issue
Block a user