rescript-lang / rescript-lang/rescript-vscode
Explore advanced refactoring features.
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
E.g. turning a record field into an optional, could look like this:
There are some technical issues that prevent doing one of these transformation at the moment (pretty-printing from a typed AST does not recover exactly the original).
There are also some questions about what transformations, of all the possible ones, would be more compelling and improve developer experience.
So this is not going to happen anytime soon, but some exploration can already be done now.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the proposed record-field-to-optional transformation and investigate the typed-AST pretty-printing limitation described in the issue. Define which refactorings would improve developer experience and what output-preservation criteria would make the exploration complete; the issue names no files or tests.
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