Skip to content

Commit c1f9a1a

Browse files
committed
Updated docs
1 parent 6f239a5 commit c1f9a1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/user/features.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,15 @@ These contain extended information on the hovered language item.
185185
Two types of inlay hints are displayed currently:
186186

187187
* type hints, displaying the minimal information on the type of the expression (if the information is available)
188+
* method chaining hints, type information for multi-line method chains
188189
* parameter name hints, displaying the names of the parameters in the corresponding methods
189190

190191
#### VS Code
191192

192193
In VS Code, the following settings can be used to configure the inlay hints:
193194

194195
* `rust-analyzer.inlayHints.typeHints` - enable hints for inferred types.
196+
* `rust-analyzer.inlayHints.chainingHints` - enable hints for inferred types on method chains.
195197
* `rust-analyzer.inlayHints.parameterHints` - enable hints for function parameters.
196198
* `rust-analyzer.inlayHints.maxLength` — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shortening is applied.
197199

0 commit comments

Comments
 (0)