diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-12 17:11:25 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-12 17:11:25 +0000 |
commit | fab40db8bdfdac5cde5789f74d1ec28e60a8bb7e (patch) | |
tree | 5ec90c43aa979d20a21aabd54c801d4bc39b69fd /docs | |
parent | d98a5fab46c5850a484349c50dda7cb823cc179a (diff) | |
parent | ddfac09363fa778e3830cdb7a9ce6de3d779072e (diff) |
Merge #3566
3566: Fix docs r=matklad a=matklad
bors r+
đŸ¤–
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/features.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/user/features.md b/docs/user/features.md index 06bc7ded5..45360c633 100644 --- a/docs/user/features.md +++ b/docs/user/features.md | |||
@@ -191,8 +191,9 @@ Two types of inlay hints are displayed currently: | |||
191 | 191 | ||
192 | In VS Code, the following settings can be used to configure the inlay hints: | 192 | In VS Code, the following settings can be used to configure the inlay hints: |
193 | 193 | ||
194 | * `rust-analyzer.inlayHintOpts.displayType` configure which types of inlay hints are shown. | 194 | * `rust-analyzer.inlayHints.typeHints` - enable hints for inferred types. |
195 | * `rust-analyzer.inlayHintOpts.maxLength` — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shortening is applied. | 195 | * `rust-analyzer.inlayHints.parameterHints` - enable hints for function parameters. |
196 | * `rust-analyzer.inlayHints.maxLength` — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shortening is applied. | ||
196 | 197 | ||
197 | **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. | 198 | **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. |
198 | This approach has limitations, the caret movement and bracket highlighting near the edges of the hint may be weird: | 199 | This approach has limitations, the caret movement and bracket highlighting near the edges of the hint may be weird: |