fix(vcs): maximize diffs and keep file navigation (#907)

Diff tabs, including the preview tab, get Maximize Editor / Restore Size in their toolbar (reusing Hide All Tool Windows). Show Diff from the Commit view or the Git log now carries the whole change list: F7 / Shift+F7 at the last or first difference shows a hint, and pressing again moves to the first or last difference of the neighbouring file, skipping binary, oversized and unreadable files. The layout is restored after a preview is replaced and keyboard focus stays in the diff across files. Compare branches stays single-file.

Fixes #904

Co-authored-by: kkMihai <[email protected]>
Цей коміт міститься в:
kkmihaiтаkkMihai authored and GitHub committed 2026-11-03 23:41:16 +08:00
1 джерело c2fa6f37ab
коміт a3576fca90
14 files changed
+483 -21

No files matched your search

+1
Переглянути файл
@@ -1797,6 +1797,7 @@
"Restore Defaults": "恢复默认值",
"Restore Rows": "恢复行",
"Restore Size": "恢复大小",
"Maximize Editor": "最大化编辑器",
"Restore detected roots": "恢复检测到的根",
"Result": "结果",
"Select a file to preview its changes": "选择文件以预览其更改",