rescript-lang / rescript-lang/rescript-vscode

More advanced features from reanalyze+editor integration.

Open
#450 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
ReScript
Stars
354
Forks
63
Avg merge
11h 29m
Merged PRs (30d)
1

Description

A command could be added to add all @dead annotations to the project, just as -w does in the CLI.
A command could actually remove all the dead code.
These are very invasive so it should be clear it's not for unsaved code, but for when you have everything checked in and saved, and would like to have a single overview with all the changes you could make.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing reanalyze/editor integration and the CLI behavior behind -w. Determine how a command could preview all @dead annotations and dead-code removals only for saved, checked-in code; done means both invasive operations have clearly defined scope and safeguards.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.