You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/features.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -185,13 +185,15 @@ These contain extended information on the hovered language item.
185
185
Two types of inlay hints are displayed currently:
186
186
187
187
* 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
188
189
* parameter name hints, displaying the names of the parameters in the corresponding methods
189
190
190
191
#### VS Code
191
192
192
193
In VS Code, the following settings can be used to configure the inlay hints:
193
194
194
195
*`rust-analyzer.inlayHints.typeHints` - enable hints for inferred types.
196
+
*`rust-analyzer.inlayHints.chainingHints` - enable hints for inferred types on method chains.
195
197
*`rust-analyzer.inlayHints.parameterHints` - enable hints for function parameters.
196
198
*`rust-analyzer.inlayHints.maxLength` — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shortening is applied.
0 commit comments