microsoft / microsoft/ts-fix

More support for fixes applied to the same span

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
232
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Currently ts-fix only identifies fixes being applied to the same span if they are consecutive.
It should be able to identify them even when they aren't consecutive.
It gets a little more complicated when multiple diagnostics are showing AND there are fixes being applied to the same span, how to handle that?

Contributor guide

No contributing guide indexed for this repository

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 tracing how ts-fix identifies consecutive fixes applied to the same span, then inspect how multiple diagnostics and overlapping fixes are represented. Define and implement the expected behavior for nonconsecutive same-span fixes, including the multiple-diagnostic case, and verify that both scenarios are handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.