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: markdown-pages/blog/reactive-analysis.mdx
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ description: |
9
9
10
10
## Introduction
11
11
12
-
Imagine editing a ReScript file and seeing dead code warnings appear and disappear _instantly_as you type. No waiting for a build. No running a separate analysis command. Just immediate, continuous feedback about which parts of your code are actually used.
12
+
Imagine editing a ReScript file and seeing dead code warnings update almost immediately as you work. No waiting for a full re-analysis command. Just continuous feedback about which parts of your code are actually used.
13
13
14
14
This is what we're bringing to ReScript.
15
15
@@ -62,7 +62,7 @@ The reactive analysis infrastructure is landing now. Here's what it enables:
62
62
63
63
### For Developers
64
64
65
-
-**Editor integration** (coming soon): Dead code warnings that update as you type
65
+
-**Editor integration**: Available now in the latest extension, with reactive dead code updates during active development
66
66
-**Monorepo support**: The analyzer now works correctly in monorepo setups, running from the workspace root with proper binary lookup
67
67
-**Faster CI analysis**: Incremental runs are dramatically faster than full runs
68
68
-**Immediate feedback loop**: See the impact of your changes instantly
@@ -90,13 +90,15 @@ The goal is an editor experience where the tooling _keeps up with you_—no wait
90
90
91
91
**Requirements:**
92
92
93
+
Reactive analysis is a newer capability of Editor Code Analysis and requires a newer extension version.
94
+
93
95
- ReScript compiler >= 12.1.0
94
96
- VSCode or Cursor with rescript-vscode extension >= 1.73.9 (pre-release)
95
97
96
98
1. Start the build watcher (accept the prompt when opening a ReScript file, or run **"ReScript: Start Build"**)
97
99
2. Run **"ReScript: Start Code Analyzer"**
98
100
99
-
Dead code warnings will appear in your editor and update automatically as you save files. For configuration options and usage details, see the [Dead Code Analysis guide](../docs/manual/editor-code-analysis.mdx).
101
+
Dead code warnings appear in your editor and update reactively while you develop (currently driven by save/build updates). For configuration options and usage details, see the [Dead Code Analysis guide](../docs/manual/editor-code-analysis.mdx).
100
102
101
103
## Acknowledgments
102
104
@@ -106,4 +108,4 @@ The reactive primitives are based on work by [SkipLabs](https://skiplabs.io). Th
106
108
107
109
We're excited to bring this to the ReScript community. Static analysis that runs continuously, in the background, without you having to think about it—that's the experience we're building toward.
108
110
109
-
Stay tuned for editor integration updates. And as always, we welcome feedback on [GitHub](https://github.com/rescript-lang/rescript) and on the [forum](https://forum.rescript-lang.org).
111
+
Stay tuned for broader reactive tooling updates. And as always, we welcome feedback on [GitHub](https://github.com/rescript-lang/rescript) and on the [forum](https://forum.rescript-lang.org).
0 commit comments