Microsoft/vscode
Vedi su GitHubGit: deletion marker in the gutter disappears when folding adjacent regions
Open
#246.388 aperta il 12 apr 2025
bugeditor-foldinghelp wanted
Metriche repository
- Star
- (74.848 star)
- Metriche merge PR
- (Merge medio 11h 43m) (1000 PR mergiate in 30 g)
Descrizione
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.99.2 (user setup) 4949701c880d4bdb949e3c0e6b400288da7f474b
- OS Version: Windows_NT x64 10.0.26100
Steps to Reproduce:
- create a file
test.htmlwith the contents below in a Git repository - stage the file
- delete the
betweenline - fold region 1
<!-- #region 1 -->
1
<!-- #endregion -->
between
<!-- #region 2 -->
2
<!-- #endregion -->
Expected: regardless of whether region 1 and/or 2 are folded, the red marker in the gutter is always visible, as the deleted line is part of neither region Actual: when region 1 is folded, the red marker is invisible