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
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,18 @@ The extension will look for the existence of a `/node_modules/.bin/rescript` fil
106
106
107
107
To override this lookup process, the path can be configured explicitly using the setting `rescript.settings.binaryPath`.
108
108
109
+
### Inlay Hints (experimental)
110
+
111
+
This allows an editor to place annotations inline with text to display type hints.
112
+
113
+
```jsonc
114
+
// Enable (experimental) inlay hints.
115
+
rescript.settings.inlayHints.enable:true
116
+
117
+
// 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
118
+
rescript.settings.inlayHints.maxLength:25
119
+
```
120
+
109
121
### Hide generated files
110
122
111
123
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.
0 commit comments