Skip to content

Commit

Permalink
fixed #19 (#20)
Browse files Browse the repository at this point in the history
* fixed #19

* fixed #19
  • Loading branch information
Keisuke KATO authored Oct 31, 2016
1 parent 12ba91a commit 6a35422
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 10 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,13 @@ 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
alt+ctrl+enter | alt+cmd+enter | Start new line before current | Yes
shift+ctrl+enter | shift+cmd+enter | Start new line | Yes


## Installation

1. Install Visual Studio Code 1.4.0 or higher
1. Install Visual Studio Code 1.6.0 or higher
1. Launch Code
1. From the command palette `Ctrl`-`Shift`-`P` (Windows, Linux) or `Cmd`-`Shift`-`P` (macOS)
1. Select `Install Extension`
Expand Down
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intellij-idea-keybindings",
"version": "0.1.7",
"version": "0.1.8",
"publisher": "k--kato",
"engines": {
"vscode": "1.6.x"
Expand Down Expand Up @@ -1230,10 +1230,16 @@
"when": "textCompareEditorVisible",
"intellij": "Previous difference"
}, {
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"key": "alt+ctrl+enter",
"mac": "alt+cmd+enter",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly",
"intellij": "Start new line before current"
}, {
"key": "shift+ctrl+enter",
"mac": "shift+cmd+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !suggestWidgetVisible",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible",
"intellij": "Start new line"
}
]
Expand Down
15 changes: 11 additions & 4 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intellij-idea-keybindings",
"version": "0.1.7",
"version": "0.1.8",
"publisher": "k--kato",
"engines": {
"vscode": "1.6.x"
Expand Down Expand Up @@ -1285,10 +1285,17 @@
"intellij": "Previous difference"
},
{
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"key": "alt+ctrl+enter",
"mac": "alt+cmd+enter",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly",
"intellij": "Start new line before current"
},
{
"key": "shift+ctrl+enter",
"mac": "shift+cmd+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !suggestWidgetVisible",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible",
"intellij": "Start new line"
}
]
Expand Down

0 comments on commit 6a35422

Please sign in to comment.