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
+16-3
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,31 @@
2
2
3
3
The official Sublime Text plugin for ReScript.
4
4
5
+
## Prerequisite
6
+
7
+
`bs-platform 8.2.0` installed locally in your project.
8
+
5
9
## Install
6
10
7
11
Get it from https://packagecontrol.io/packages/ReScript
8
12
9
13
## Features
10
14
11
-
- Highlighting
12
-
- Formatting: Command Palette (`cmd-shift-p`) -> ReScript: Format File
15
+
- Syntax highlighting (`.res`, `.resi`).
16
+
- Formatting: Command Palette (`cmd-shift-p`) -> ReScript: Format File. caveats:
17
+
- Currently requires the file to be part of a ReScript project, i.e. with a `bsconfig.json`.
18
+
- Cannot be a temporary file.
19
+
20
+
## Upcoming Features
21
+
22
+
- Syntax errors diagnosis (only after formatting).
23
+
- Formatting of temporary files
24
+
- Formatting of files outside of a ReScript project root
25
+
- Type diagnosis
13
26
14
27
## Config
15
28
16
-
- Command Palette -> UI: Select Color Scheme. Use Mariana for best effects. Or try another one and tell us. Mariana colors tokens distinctively (and still pleasantly) enough for module and variant to be visually distinct despite both being capitalized. Gotta have accurate highlighting!
29
+
- Command Palette -> UI: Select Color Scheme. Use **Mariana** for best effects (it'll be the new default Sublime Text theme!). Mariana colors tokens distinctively (and still pleasantly) enough for module and variant to be visually distinct despite both being capitalized. Gotta have accurate highlighting!
17
30
18
31
<!-- - Open this repo's `Default.sublime-settings`, put in the absolute path to the formatter exe in `optionalGlobalFormatter`. -->
0 commit comments