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
-[Writing a TextMate Grammar: Some Lessons Learned](https://www.apeth.com/nonblog/stories/textmatebundle.html)
48
48
49
+
### Snippets
50
+
51
+
Snippets are also synced from https://github.com/rescript-lang/rescript-sublime. VSCode snippets docs [here](https://code.visualstudio.com/api/references/contribution-points#contributes.snippets).
52
+
49
53
## Editor Diagnostics
50
54
51
55
They should be synced in from `lib/bs/.compiler.log` build. Don't take them from other places.
You **must** have `bs-platform 8.3.3` installed locally in your project, through the usual [npm installation](https://rescript-lang.org/docs/manual/latest/installation#integrate-into-existing-js-project). Older versions are not guaranteed to work.
@@ -20,9 +22,12 @@ The plugin activates on `.res` and `.resi` files. If you've already got Reason-L
20
22
- Cannot be a temporary file.
21
23
- Syntax errors diagnosis (only after formatting).
22
24
- Built-in bsb watcher (optional, and exposed explicitly as a pop-up; no worries of dangling build).
23
-
- Type diagnosis.
25
+
- Type hint.
24
26
- Jump to location.
25
27
- Autocomplete.
28
+
- Snippets to ease a few syntaxes:
29
+
-`external` features such as `@bs.module` and `@bs.val`
0 commit comments