microsoft / microsoft/TypeScript

Provide a way to apply quick fixes/refactorings/code actions in a bulk automated fashion

Open
#19,255 3 comments 18 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Domain: LS: Quick Fixes Domain: LS: Refactorings Needs Proposal Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

Currently, we have several quick fixes and refactorings. Some of these are generally to help reorganize your codebase/fix issues, some are more to migrate from JS to TS more easily, and some are to more-easily opt in to a more strongly-typed version of TypeScript.

The problem here is that these quick fixes/refactorings can become painful when manually applied. Sometimes we want to apply them en masse - altoghether. But perhaps the way I see this as is something that could be applied granularly (individually), altogether at once, or in a one-at-a-time but nonetheless automated fashion (supervised).

Some prior art here we may want to look at for inspiration are jscodeshift.

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 reviewing the proposed bulk, granular, and supervised application modes in the issue, then compare jscodeshift as prior art. Define a concrete scope, entry point, and completion criteria before investigating the existing quick fixes and refactorings.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
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.