Skip to content

Commit

Permalink
Merge pull request #215 from kasecato/#213/regression
Browse files Browse the repository at this point in the history
Fix regression in recent files
  • Loading branch information
kasecato authored Mar 18, 2021
2 parents 7bcfda1 + 289663d commit 38018d1
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 18 deletions.
19 changes: 8 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,12 @@
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "intellij.importKeyMapsSchema",
"title": "Import IntelliJ Keybindngs (XML)",
"category": "IntelliJ Keybindings"
}
],
"keybindings": [
{
"commands": [{
"command": "intellij.importKeyMapsSchema",
"title": "Import IntelliJ Keybindngs (XML)",
"category": "IntelliJ Keybindings"
}],
"keybindings": [{
"key": "enter",
"mac": "enter",
"command": "acceptSelectedSuggestion",
Expand Down Expand Up @@ -606,14 +603,14 @@
{
"key": "ctrl+e",
"mac": "cmd+e",
"command": "workbench.action.quickOpenNavigateNext",
"command": "workbench.action.openPreviousEditorFromHistory",
"when": "inQuickOpen"
},
{
"key": "ctrl+e",
"mac": "cmd+e",
"when": "!inQuickOpen",
"command": "workbench.action.quickOpen",
"command": "workbench.action.openRecent",
"intellij": "Recent files popup"
},
{
Expand Down
6 changes: 5 additions & 1 deletion resource/ActionIdCommandMapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,11 @@
},
{
"intellij": "RecentFiles",
"vscode": "workbench.action.quickOpen"
"vscode": "workbench.action.openRecent"
},
{
"intellij": "RecentFiles",
"vscode": "workbench.action.openPreviousEditorFromHistory"
},
{
"intellij": "ReformatCode",
Expand Down
8 changes: 7 additions & 1 deletion resource/default/Linux/VSCode.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,13 @@
},
{
"key": "ctrl+e",
"command": "workbench.action.quickOpen"
"command": "workbench.action.openPreviousEditorFromHistory",
"when": "inQuickOpen"
},
{
"key": "ctrl+e",
"command": "workbench.action.openRecent",
"when": "!inQuickOpen"
},
{
"key": "ctrl+p",
Expand Down
5 changes: 3 additions & 2 deletions resource/default/Mac/VSCode.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,13 @@
},
{
"key": "",
"command": "workbench.action.quickOpenNavigateNext",
"command": "workbench.action.openPreviousEditorFromHistory",
"when": "inQuickOpen"
},
{
"key": "cmd+e",
"command": "workbench.action.quickOpen"
"command": "workbench.action.openRecent",
"when": "!inQuickOpen"
},
{
"key": "ctrl+-",
Expand Down
8 changes: 7 additions & 1 deletion resource/default/Windows/VSCode.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,13 @@
},
{
"key": "ctrl+e",
"command": "workbench.action.quickOpen"
"command": "workbench.action.openPreviousEditorFromHistory",
"when": "inQuickOpen"
},
{
"key": "ctrl+e",
"command": "workbench.action.openRecent",
"when": "!inQuickOpen"
},
{
"key": "ctrl+p",
Expand Down
4 changes: 2 additions & 2 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -948,14 +948,14 @@
{
"key": "ctrl+e",
"mac": "cmd+e",
"command": "workbench.action.quickOpenNavigateNext",
"command": "workbench.action.openPreviousEditorFromHistory",
"when": "inQuickOpen"
},
{
"key": "ctrl+e",
"mac": "cmd+e",
"when": "!inQuickOpen",
"command": "workbench.action.quickOpen",
"command": "workbench.action.openRecent",
"intellij": "Recent files popup"
},
{
Expand Down

0 comments on commit 38018d1

Please sign in to comment.