Skip to content

Commit 37f68e4

Browse files
committed
Clarify reactive analysis availability and version gating
1 parent e2f394f commit 37f68e4

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

markdown-pages/blog/reactive-analysis.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: |
99

1010
## Introduction
1111

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.
1313

1414
This is what we're bringing to ReScript.
1515

@@ -62,7 +62,7 @@ The reactive analysis infrastructure is landing now. Here's what it enables:
6262

6363
### For Developers
6464

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
6666
- **Monorepo support**: The analyzer now works correctly in monorepo setups, running from the workspace root with proper binary lookup
6767
- **Faster CI analysis**: Incremental runs are dramatically faster than full runs
6868
- **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
9090

9191
**Requirements:**
9292

93+
Reactive analysis is a newer capability of Editor Code Analysis and requires a newer extension version.
94+
9395
- ReScript compiler >= 12.1.0
9496
- VSCode or Cursor with rescript-vscode extension >= 1.73.9 (pre-release)
9597

9698
1. Start the build watcher (accept the prompt when opening a ReScript file, or run **"ReScript: Start Build"**)
9799
2. Run **"ReScript: Start Code Analyzer"**
98100

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).
100102

101103
## Acknowledgments
102104

@@ -106,4 +108,4 @@ The reactive primitives are based on work by [SkipLabs](https://skiplabs.io). Th
106108

107109
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.
108110

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).

markdown-pages/docs/manual/editor-code-analysis.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ ReScript’s language design allows for accurate and efficient dead code analysi
3737

3838
- The “Problems” pane populates with dead code warnings and suggestions.
3939

40+
### Reactive Updates (New)
41+
42+
Reactive dead code updates are a newer enhancement of Editor Code Analysis and require ReScript VSCode extension v1.73.9 or higher (pre-release).
43+
4044
## Real-World Use Cases
4145

4246
### 1. **Unused Record Fields**

markdown-pages/docs/manual/editor-plugins.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Look - [Editor Code Analysis](./editor-code-analysis.mdx) for a more detailed gu
120120

121121
### Caveats
122122

123-
- Doesn't support cross-package dead code analysis in monorepos. Run it per package instead.
123+
- For older extension versions, cross-package dead code analysis in monorepos may be limited.
124124

125125
## Editor features
126126

0 commit comments

Comments
 (0)