Skip to content

Commit

Permalink
Merge pull request #351 from grgars/select-opposite-diff-pane
Browse files Browse the repository at this point in the history
Implement Select Opposite Diff Pane
  • Loading branch information
kasecato authored May 2, 2024
2 parents 57b9ca5 + 837113a commit 4866acf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ Linux, Windows | macOS | Feature | Supported
---------------|------|---------|----------
ctrl+d | cmd+d | Compare Files | ✅
ctrl+d | cmd+d | Compare Selected Files | ✅
ctrl+shift+tab | ctrl+shift+tab | Select Opposite Diff Pane | ✅
f7 | f7 | Next difference | ✅
shift+f7 | shift+f7 | Previous difference | ✅
alt+ctrl+enter | alt+cmd+enter | Start new line before current | ✅
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1471,6 +1471,13 @@
"when": "filesExplorerFocus && !explorerResourceIsFolder && !inputFocus && listDoubleSelection",
"intellij": "Compare Selected Files"
},
{
"key": "ctrl+shift+tab",
"mac": "ctrl+shift+tab",
"command": "workbench.action.compareEditor.focusOtherSide",
"when": "activeCompareEditorCanSwap",
"intellij": "Select Opposite Diff Pane"
},
{
"key": "f7",
"mac": "f7",
Expand Down
7 changes: 7 additions & 0 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -1908,6 +1908,13 @@
"when": "filesExplorerFocus && !explorerResourceIsFolder && !inputFocus && listDoubleSelection",
"intellij": "Compare Selected Files"
},
{
"key": "ctrl+shift+tab",
"mac": "ctrl+shift+tab",
"command": "workbench.action.compareEditor.focusOtherSide",
"when": "activeCompareEditorCanSwap",
"intellij": "Select Opposite Diff Pane"
},
{
"key": "f7",
"mac": "f7",
Expand Down

0 comments on commit 4866acf

Please sign in to comment.