Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dead code analysis editor mode via reanalyze #334

Merged

Conversation

zth
Copy link
Collaborator

@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