Microsoft/vscode

Git - 'Revert selected ranges' should work on individual lines, not hunks

Open

#88.369 geöffnet am 9. Jan. 2020

Auf GitHub ansehen
 (8 Kommentare) (7 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
buggithelp wanted

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

  • VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T15:04:31.999Z)
  • OS version: Linux x64 4.15.0-72-generic (Ubuntu 16)
  • Does this issue occur when all extensions are disabled?: Yes

Revert selected ranges reverts any hunks in which there is a cursor. This is annoying when one wants more fine-grained control. Especially seeing as it is already easy to revert by hunk through other features.

Note that this is contrary to Stage selected ranges, which correctly stages only the selected lines

Contributor Guide