Repository navigation
Add keyboard shortcuts for Unified Diff navigation and actions - #2994
Open
tobiasmelcher wants to merge 1 commit into
Open
tobiasmelcher wants to merge 1 commit into
tobiasmelcher wants to merge 1 commit into
Conversation
tobiasmelcher
force-pushed
the
d031119/unified-diff-keyboard-shortcuts
branch
from
October 5, 2026 13:08
e3af2a8 to
d0b32df
Compare
Contributor
Test Results 51 files ± 0 51 suites ±0 55m 11s ⏱️ - 2m 10s For more details on these failures, see this check. Results for commit 2307478. ± Comparison against base commit 8b229d0. ♻️ This comment has been updated with latest results. |
tobiasmelcher
force-pushed
the
d031119/unified-diff-keyboard-shortcuts
branch
from
October 7, 2026 06:58
d0b32df to
e5082d2
Compare
tobiasmelcher
force-pushed
the
d031119/unified-diff-keyboard-shortcuts
branch
from
October 9, 2026 14:16
e5082d2 to
2307478
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds keyboard shortcuts for the Unified Diff toolbar so the view can be driven without the mouse.
Esc— Hide all diffsAlt+Enter— Accept current diffShift+Esc— Hide current diffShift+Alt+Enter— Accept all diffsThe Next/Previous toolbar actions now carry the compare-editor command IDs, so their bound shortcuts show in the tooltips. The per-diff commands resolve their diff from the hover toolbar when it is open and otherwise from the caret, so they work for keyboard-only use. All commands live in a new
org.eclipse.compare.unifiedDiffScopecontext that is active only while a Unified Diff is open.Fixes #2939
Claude Code helped prepare this change.