Skip to content

Commit ec48376

Browse files
author
Keisuke KATO
authored
fixed #26 (#30)
1 parent 588af21 commit ec48376

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Change Log
22

33
## 0.2.1 (November 17, 2016)
4+
* enhancement - Add new key commands. See [#26](https://github.com/k--kato/vscode-intellij-idea-keybindings/pull/26).
45
* enhancement - add CHANGELOG.md.
56
* bug fix - Issue with Updating Extension and Versions. See [#27](https://github.com/k--kato/vscode-intellij-idea-keybindings/issues/27).
67

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,13 @@ f2 | f2 | Next highlighted error | N/A
146146
shift+f2 | shift+f2 | Previous highlighted error | N/A
147147
f4 | f4 | Edit source | ✅
148148
ctrl+enter | cmd+down | View source | ✅
149+
shift+ctrl+down | shift+cmd+down | Move Statement Down | ✅
150+
shift+ctrl+up | shift+cmd+up | Move Statement Up | ✅
149151
alt+home | alt+home | Show navigation bar | N/A
150152
f11 | f3 | Toggle bookmark | N/A
151153
ctrl+f11 | alt+f3 | Toggle bookmark with mnemonic | N/A
152154
ctrl+0 | ctrl+0 | Go to numbered bookmark | N/A
153155
shift+f11 | cmd+f3 | Show bookmarks | N/A
154-
ctrl+shift+up | cmd+shift+up | Move Statement Up | ✅
155-
ctrl+shift+down | cmd+shift+down | Move Statement Down | ✅
156156

157157
### Refactoring
158158

@@ -264,6 +264,7 @@ when changes are saved.
264264
* [@brianegan](https://github.com/brianegan)
265265
* [@whinc](https://github.com/whinc)
266266
* [@HSAR](https://github.com/HSAR)
267+
* [@mastersimon](https://github.com/mastersimon)
267268

268269

269270
## License

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,18 @@
910910
"command": "editor.action.goToDeclaration",
911911
"when": "editorHasDefinitionProvider && editorTextFocus",
912912
"intellij": "View source"
913+
}, {
914+
"key": "shift+ctrl+down",
915+
"mac": "shift+cmd+down",
916+
"command": "editor.action.moveLinesDownAction",
917+
"when": "editorTextFocus && !editorReadonly",
918+
"intellij": "Move Statement Down"
919+
}, {
920+
"key": "shift+ctrl+up",
921+
"mac": "shift+cmd+up",
922+
"command": "editor.action.moveLinesUpAction",
923+
"when": "editorTextFocus && !editorReadonly",
924+
"intellij": "Move Statement Up"
913925
},
914926

915927

src/package-with-comment.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -956,14 +956,14 @@
956956
"key": "shift+ctrl+down",
957957
"mac": "shift+cmd+down",
958958
"command": "editor.action.moveLinesDownAction",
959-
"when": "editorTextFocus",
959+
"when": "editorTextFocus && !editorReadonly",
960960
"intellij": "Move Statement Down"
961961
},
962962
{
963963
"key": "shift+ctrl+up",
964964
"mac": "shift+cmd+up",
965965
"command": "editor.action.moveLinesUpAction",
966-
"when": "editorTextFocus",
966+
"when": "editorTextFocus && !editorReadonly",
967967
"intellij": "Move Statement Up"
968968
},
969969
/*

0 commit comments

Comments
 (0)