IdeaSift

VS Code users struggle to stage selected deleted lines

In the cited reports, developers using VS Code’s integrated Git tools could not reliably stage only some deleted lines: a deletion might be treated as a replacement, or the UI might operate on the whole block. Some switched to a separate Git GUI to prepare commits. The reports all come from one VS Code issue and date from 2016–2022, so they show a specific recurring pain but do not establish whether it remains unresolved or how large the market is.

For VS Code developers who make partial Git commits. Mentioned from Jul 2016 to Sep 2022 on GitHub.

7 different people described this problem in 2 separate discussions.

Week of 2026-07-13: 0Week of 2026-07-20: 0Week of 2026-07-27: 0Week of 2026-08-03: 0Week of 2026-08-10: 0Week of 2026-08-17: 0Week of 2026-08-24: 0Week of 2026-08-31: 0Week of 2026-09-07: 0Week of 2026-09-14: 0Week of 2026-09-21: 0Week of 2026-09-28: 0
0 mentions in the last 12 weeks
Indie fit
2.0/10
Pain
6.0/10
Frequency
7.5/10
Willingness to pay
0.0/10
Momentum
5.0/10
Who pays
Professionals
Competition
Medium
Build difficulty
Medium

What people said

Quoted word for word. Follow a link to read the whole discussion.

  1. This is the last thing stopping me from being able to use VS Code's fully-integrated source control functionality - doing something simple like only staging the deletion of a line for a specific commit even if the diff thinks another line is its replacement is currently impossible, and has me using git gui for most of…
    MPLew-is on GitHub (microsoft/vscode)Jul 2022Has a workaroundAsked for a tool
  2. I can't find out how to select just two deleted lines out of 5 going sequentially and stage only the ones I want. Any time I select something and click that menu item, the whole block gets staged
Build brief

See what to build and who will buy it

  • 2 product ideas with the smallest useful version and pricing
  • 3 places to find your first customers
  • 6 more quotes from people who have this problem
  • Current workarounds, existing solutions and risks