Skip to content

Commit

Permalink
fixed #13 ctrl|cmd+shift+enter behaves differently than IntelliJ. (#14)
Browse files Browse the repository at this point in the history
* fixed #13 ctrl|cmd+shift+enter behaves differently than IntelliJ.

* fix readme and usage
  • Loading branch information
Keisuke KATO authored Sep 17, 2016
1 parent f8bcc70 commit d5bce09
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 13 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ Linux, Windows | macOS | Feature | Supported
---------------|------|---------|----------
f7 | f7 | Next difference | Yes
shift+f7 | shift+f7 | Previous difference | Yes
ctrl+shift+enter | cmd+shift+enter | Start new line | Yes


## Installation
Expand Down
17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "intellij-idea-keybindings",
"version": "0.1.5",
"version": "0.1.6",
"publisher": "k--kato",
"engines": {
"vscode": "1.4.x"
"vscode": "1.5.x"
},
"displayName": "IntelliJ IDEA Keybindings",
"description": "Port of IntelliJ IDEA Keybindings",
Expand All @@ -20,7 +20,7 @@
],
"dependencies": {},
"devDependencies": {
"vscode": "^0.11.14",
"vscode": "^0.11.18",
"gulp": "~3.9.1",
"gulp-cli": "~1.2.2",
"gulp-strip-json-comments": "~2.0.0",
Expand Down Expand Up @@ -68,8 +68,8 @@
{
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus",
"command": "acceptSelectedSuggestion",
"when": "editorFocus && suggestWidgetVisible",
"intellij": "Complete statement"
}, {
"key": "ctrl+p",
Expand Down Expand Up @@ -1223,8 +1223,13 @@
"command": "workbench.action.compareEditor.previousChange",
"when": "textCompareEditorVisible",
"intellij": "Previous difference"
}, {
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !suggestWidgetVisible",
"intellij": "Start new line"
}

]
}
}
18 changes: 12 additions & 6 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "intellij-idea-keybindings",
"version": "0.1.5",
"version": "0.1.6",
"publisher": "k--kato",
"engines": {
"vscode": "1.4.x"
"vscode": "1.5.x"
},
"displayName": "IntelliJ IDEA Keybindings",
"description": "Port of IntelliJ IDEA Keybindings",
Expand All @@ -21,7 +21,7 @@
"dependencies": {
},
"devDependencies": {
"vscode": "^0.11.14",
"vscode": "^0.11.18",
"gulp": "~3.9.1",
"gulp-cli": "~1.2.2",
"gulp-strip-json-comments": "~2.0.0",
Expand Down Expand Up @@ -70,8 +70,8 @@
{
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus",
"command": "acceptSelectedSuggestion",
"when": "editorFocus && suggestWidgetVisible",
"intellij": "Complete statement"
},
{
Expand Down Expand Up @@ -1277,8 +1277,14 @@
"command": "workbench.action.compareEditor.previousChange",
"when": "textCompareEditorVisible",
"intellij": "Previous difference"
},
{
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !suggestWidgetVisible",
"intellij": "Start new line"
}

]
}
}
2 changes: 1 addition & 1 deletion src/tool/gene-keybind-markdown.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*---------------------------------------------------------------------------*\
* node src/tool/gene-keybind-markdown.js
* node gene-keybind-markdown.js
\*---------------------------------------------------------------------------*/

const fs = require('fs'),
Expand Down

0 comments on commit d5bce09

Please sign in to comment.