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: CONTRIBUTING.md
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,15 @@ This repo happens to also contain a language-server usable by other editors. If
11
11
```
12
12
.
13
13
├── client // Language Client
14
-
│ ├── src
15
-
│ │ └── extension.ts // Language Client entry point
14
+
│ └── src
15
+
│ └── extension.ts // Language Client entry point
16
16
├── package.json // The extension manifest.
17
17
└── server // Language Server
18
-
└── src
19
-
└── server.ts // Language Server entry point
18
+
├── src
19
+
│ └── server.ts // Language Server entry point
20
+
├── win32
21
+
├── linux
22
+
└── darwin // these 3 folders contain rescript-editor-support.exe
20
23
```
21
24
22
25
## Run the Project
@@ -52,12 +55,16 @@ For more grammar inspirations, check:
52
55
53
56
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).
54
57
55
-
##Editor Diagnostics
58
+
### Autocomplete, Jump To Definition, Type Hint, Etc.
56
59
57
-
They should be synced in from `lib/bs/.compiler.log` build. Don't take them from other places.
60
+
These are taken care of by the binary at [rescript-editor-support](https://github.com/rescript-lang/rescript-editor-support). We just invoke it in `RescriptEditorSupport.ts`.
58
61
59
62
## Rough Description Of How The Plugin Works
60
63
64
+
### Editor Diagnostics
65
+
66
+
They should be synced in from `lib/bs/.compiler.log` build. Don't take them from other places.
67
+
61
68
### `.compiler.log`
62
69
63
70
The build output is streamed into `lib/bs/.compiler.log`. Here are its various states, numbered here:
0 commit comments