Skip to content

Conversation

zth
Copy link
Member

@zth zth commented Dec 30, 2021

This implements a "Dead code analysis mode". When activated, the extension will run reanalyze continuously as the ReScript compiler runs, and report back any errors found directly into the editor. It'll also set up code actions leveraging the suggestions reanalyze gives for how to suppress the issues reported.

See the video below for more details.

rescript-vscode-dead-code-analysis-mode.mp4

Thank you @cristianoc for guidance both around reanalyze and details around how the extension does things.

Happy to hear any feedback or comments, and whether this is something you're interested in merging.

@cristianoc cristianoc merged commit 0121b7c into rescript-lang:master Jan 17, 2022
@zth zth deleted the feat/dead-code-analysis-via-reanalyze branch January 17, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants