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: README.md
+12
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,18 @@ The extension will look for the existence of a `/node_modules/.bin/rescript` fil
105
105
106
106
To override this lookup process, the path can be configured explicitly using the setting `rescript.settings.binaryPath`.
107
107
108
+
### Inlay Hints (experimental)
109
+
110
+
This allows an editor to place annotations inline with text to display type hints.
111
+
112
+
```jsonc
113
+
// Enable (experimental) inlay hints.
114
+
rescript.settings.inlayHints.enable:true
115
+
116
+
// Maximum length of character for inlay hints. Set to null to have an unlimited length. Inlay hints that exceed the maximum length will not be shown
117
+
rescript.settings.inlayHints.maxLength:25
118
+
```
119
+
108
120
### Hide generated files
109
121
110
122
You can configure VSCode to collapse the JavaScript files ReScript generates under its source ReScript file. This will "hide" the generated files in the VSCode file explorer, but still leaving them accessible by expanding the source ReScript file they belong to.
"markdownDescription": "Maximum length of character for inlay hints. Set to null to have an unlimited length. Inlay hints that exceed the maximum length will not be shown.",
0 commit comments