Skip to content

Commit

Permalink
Fixed #212 that Ctrl + Enter started to conflict with git commit afte…
Browse files Browse the repository at this point in the history
…r v1.4.0
  • Loading branch information
kasecato committed Mar 14, 2021
1 parent 287d186 commit 0944f32
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 12 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@
"key": "ctrl+alt+shift+n",
"mac": "cmd+alt+o",
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus",
"intellij": "Go to symbol"
},
{
Expand Down Expand Up @@ -649,6 +650,7 @@
"key": "ctrl+b",
"mac": "cmd+b",
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus",
"intellij": "Go to declaration"
},
{
Expand All @@ -674,6 +676,7 @@
"key": "ctrl+shift+b",
"mac": "ctrl+shift+b",
"command": "editor.action.goToTypeDefinition",
"when": "editorTextFocus",
"intellij": "Go to type declaration",
"todo": "not working"
},
Expand All @@ -687,6 +690,7 @@
"key": "ctrl+f12",
"mac": "cmd+f12",
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus",
"intellij": "File structure popup"
},
{
Expand All @@ -712,12 +716,14 @@
"key": "f4",
"mac": "f4",
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus",
"intellij": "Edit source"
},
{
"key": "ctrl+enter",
"mac": "cmd+down",
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus",
"intellij": "View source"
},
{
Expand Down
12 changes: 8 additions & 4 deletions resource/default/Linux/VSCode.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.gotoSymbol"
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus"
},
{
"key": "ctrl+pageup",
Expand Down Expand Up @@ -343,7 +344,8 @@
},
{
"key": "",
"command": "editor.action.goToDeclaration"
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus"
},
{
"key": "ctrl+f12",
Expand All @@ -356,15 +358,17 @@
},
{
"key": "",
"command": "editor.action.goToTypeDefinition"
"command": "editor.action.goToTypeDefinition",
"when": "editorTextFocus"
},
{
"key": "",
"command": "outline.focus"
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.gotoSymbol"
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus"
},
{
"key": "alt+f8",
Expand Down
12 changes: 8 additions & 4 deletions resource/default/Mac/VSCode.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@
},
{
"key": "shift+cmd+o",
"command": "workbench.action.gotoSymbol"
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+[",
Expand Down Expand Up @@ -363,7 +364,8 @@
},
{
"key": "",
"command": "editor.action.goToDeclaration"
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus"
},
{
"key": "cmd+f12",
Expand All @@ -376,15 +378,17 @@
},
{
"key": "",
"command": "editor.action.goToTypeDefinition"
"command": "editor.action.goToTypeDefinition",
"when": "editorTextFocus"
},
{
"key": "",
"command": "outline.focus"
},
{
"key": "shift+cmd+o",
"command": "workbench.action.gotoSymbol"
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus"
},
{
"key": "alt+f8",
Expand Down
12 changes: 8 additions & 4 deletions resource/default/Windows/VSCode.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.gotoSymbol"
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus"
},
{
"key": "ctrl+pageup",
Expand Down Expand Up @@ -351,7 +352,8 @@
},
{
"key": "",
"command": "editor.action.goToDeclaration"
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus"
},
{
"key": "ctrl+f12",
Expand All @@ -364,15 +366,17 @@
},
{
"key": "",
"command": "editor.action.goToTypeDefinition"
"command": "editor.action.goToTypeDefinition",
"when": "editorTextFocus"
},
{
"key": "",
"command": "outline.focus"
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.gotoSymbol"
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus"
},
{
"key": "alt+f8",
Expand Down
6 changes: 6 additions & 0 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@
"key": "ctrl+alt+shift+n",
"mac": "cmd+alt+o",
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus",
"intellij": "Go to symbol"
},
{
Expand Down Expand Up @@ -1001,6 +1002,7 @@
"key": "ctrl+b",
"mac": "cmd+b",
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus",
"intellij": "Go to declaration"
},
{
Expand All @@ -1026,6 +1028,7 @@
"key": "ctrl+shift+b",
"mac": "ctrl+shift+b",
"command": "editor.action.goToTypeDefinition",
"when": "editorTextFocus",
"intellij": "Go to type declaration",
"todo": "not working"
},
Expand Down Expand Up @@ -1089,6 +1092,7 @@
"key": "ctrl+f12",
"mac": "cmd+f12",
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus",
"intellij": "File structure popup"
},
/*
Expand Down Expand Up @@ -1144,12 +1148,14 @@
"key": "f4",
"mac": "f4",
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus",
"intellij": "Edit source"
},
{
"key": "ctrl+enter",
"mac": "cmd+down",
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus",
"intellij": "View source"
},
{
Expand Down

0 comments on commit 0944f32

Please sign in to comment.