Skip to content

Commit 9b4bac9

Browse files
committed
update readme
1 parent c185c0a commit 9b4bac9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,18 @@ The extension will look for the existence of a `/node_modules/.bin/rescript` fil
105105

106106
To override this lookup process, the path can be configured explicitly using the setting `rescript.settings.binaryPath`.
107107

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 for inlay hints. Set to null to have an unlimited length.
117+
rescript.settings.inlayHints.maxLength: 25
118+
```
119+
108120
### Hide generated files
109121

110122
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

Comments
 (0)