Skip to content

Commit b1b311f

Browse files
author
Keisuke KATO
authored
add tab (#7)
* add tab * add some functions * fix readme * add prepublish * fix build file
1 parent 1ab6544 commit b1b311f

File tree

4 files changed

+61
-73
lines changed

4 files changed

+61
-73
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ before_install:
1313

1414
install:
1515
- npm install
16-
- npm run vscode:prepublish
1716

18-
script:
19-
- npm test --silent
17+
language: node_js
18+
node_js:
19+
- "6"

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ ctrl+o | ctrl+o | Override methods | N/A
2424
ctrl+i | ctrl+i | Implement methods | N/A
2525
ctrl+alt+t | cmd+alt+t | Surround with... (if..else, try..catch, for, synchronized, etc.) | N/A
2626
ctrl+/ | cmd+/ | Comment/uncomment with line comment | Yes
27+
ctrl+numpad_divide | cmd+numpad_divide | Comment/uncomment with line comment | Yes
2728
ctrl+alt+/ | cmd+alt+/ | Comment/uncomment with block comment | Yes
29+
ctrl+alt+numpad_divide | cmd+alt+numpad_divide | Comment/uncomment with block comment | Yes
2830
ctrl+w | alt+up | Select successively increasing code blocks | Yes
2931
ctrl+shift+w | alt+down | Decrease current selection to previous state | Yes
3032
alt+q | ctrl+shift+q | Context info | N/A
@@ -62,9 +64,9 @@ shfit shift | shfit shift | Search everywhere | N/A
6264
ctrl+f | cmd+f | Find | Yes
6365
f3 | cmd+g | Find next | Yes
6466
shift+f3 | cmd+shift+g | Find previous | Yes
65-
ctrl+r | cmd+r | Replace | N/A
67+
ctrl+r | cmd+r | Replace | Yes
6668
ctrl+shift+f | cmd+shift+f | Find in path | Yes
67-
ctrl+shift+r | cmd+shift+r | Replace in path | N/A
69+
ctrl+shift+r | cmd+shift+r | Replace in path | Yes
6870
ctrl+shift+s | cmd+shift+s | Search structurally (Ultimate Edition only) | N/A
6971
ctrl+shift+m | cmd+shift+m | Replace structurally (Ultimate Edition only) | N/A
7072

@@ -111,8 +113,8 @@ Linux, Windows | macOS | Feature | Supported
111113
ctrl+n | cmd+o | Go to class | Yes
112114
ctrl+shift+n | cmd+shift+o | Go to file | Yes
113115
ctrl+alt+shift+n | cmd+alt+o | Go to symbol | Yes
114-
alt+left | ctrl+left | Go to previous editor tab | N/A
115-
alt+right | ctrl+right | Go to next editor tab | N/A
116+
alt+left | ctrl+left | Go to previous editor tab | Yes
117+
alt+right | ctrl+right | Go to next editor tab | Yes
116118
f12 | f12 | Go back to previous tool window | N/A
117119
esc | esc | Go to editor (from tool window) | N/A
118120
shift+esc | shift+esc | Hide active or last active window | N/A
@@ -182,6 +184,7 @@ ctrl+j | cmd+j | Insert Live Template | N/A
182184

183185
Linux, Windows | macOS | Feature | Supported
184186
---------------|------|---------|----------
187+
alt+0 | cmd+0 | Activate Messages window (Problems) | Yes
185188
alt+1 | cmd+1 | Open corresponding tool window (Explorer) | Yes
186189
alt+5 | cmd+5 | Open corresponding tool window (Debug) | Yes
187190
alt+9 | cmd+9 | Open corresponding tool window (Git) | Yes
@@ -193,6 +196,7 @@ alt+shift+f | alt+shift+f | Add to Favorites | N/A
193196
alt+shift+i | alt+shift+i | Inspect current file with current profile | N/A
194197
ctrl+\` | ctrl+\` | Quick switch current scheme | Yes
195198
ctrl+alt+s | cmd+, | Open Settings dialog | Yes
199+
ctrl+alt+s | cmd+numpad_separator | Open Settings dialog | Yes
196200
ctrl+alt+shift+s | cmd+; | Open Project Structure dialog | Yes
197201
ctrl+shift+a | shift+cmd+a | Find Action | Yes
198202
ctrl+tab | ctrl+tab | Switch between tabs and tool window | Yes

package.json

Lines changed: 31 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "intellij-idea-keybindings",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"publisher": "k--kato",
55
"engines": {
6-
"vscode": "1.2.x"
6+
"vscode": "1.3.x"
77
},
88
"displayName": "IntelliJ IDEA Keybindings",
99
"description": "Port of IntelliJ IDEA Keybindings",
@@ -20,7 +20,7 @@
2020
],
2121
"dependencies": {},
2222
"devDependencies": {
23-
"vscode": "^0.11.13",
23+
"vscode": "^0.11.14",
2424
"gulp": "~3.9.1",
2525
"gulp-cli": "~1.2.1",
2626
"gulp-strip-json-comments": "~2.0.0",
@@ -424,21 +424,21 @@
424424
"command": "editor.action.previousMatchFindAction",
425425
"when": "editorFocus",
426426
"intellij": "Find previous"
427-
},
428-
429-
430-
431-
432-
433-
434-
435-
436-
437-
{
427+
}, {
428+
"key": "ctrl+r",
429+
"mac": "cmd+r",
430+
"command": "editor.action.startFindReplaceAction",
431+
"intellij": "Replace"
432+
}, {
438433
"key": "ctrl+shift+f",
439434
"mac": "cmd+shift+f",
440435
"command": "workbench.view.search",
441436
"intellij": "Find in path"
437+
}, {
438+
"key": "ctrl+shift+r",
439+
"mac": "cmd+shift+r",
440+
"command": "workbench.action.replaceInFiles",
441+
"intellij": "Replace in path"
442442
},
443443

444444

@@ -452,15 +452,6 @@
452452

453453

454454

455-
456-
457-
458-
459-
460-
461-
462-
463-
464455

465456

466457

@@ -654,6 +645,16 @@
654645
"mac": "cmd+alt+o",
655646
"command": "workbench.action.gotoSymbol",
656647
"intellij": "Go to symbol"
648+
}, {
649+
"key": "alt+left",
650+
"mac": "ctrl+left",
651+
"command": "workbench.action.previousEditor",
652+
"intellij": "Go to previous editor tab"
653+
}, {
654+
"key": "alt+right",
655+
"mac": "ctrl+right",
656+
"command": "workbench.action.nextEditor",
657+
"intellij": "Go to next editor tab"
657658
},
658659

659660

@@ -675,24 +676,6 @@
675676

676677

677678

678-
679-
680-
681-
682-
683-
684-
685-
686-
687-
688-
689-
690-
691-
692-
693-
694-
695-
696679

697680

698681

@@ -1125,6 +1108,11 @@
11251108

11261109

11271110
{
1111+
"key": "alt+0",
1112+
"mac": "cmd+0",
1113+
"command": "workbench.actions.view.problems",
1114+
"intellij": "Activate Messages window (Problems)"
1115+
}, {
11281116
"key": "alt+1",
11291117
"mac": "cmd+1",
11301118
"command": "workbench.view.explorer",
@@ -1190,7 +1178,8 @@
11901178
"command": "workbench.action.openGlobalSettings",
11911179
"intellij": "Open Settings dialog"
11921180
}, {
1193-
"key": "cmd+numpad_separator",
1181+
"key": "ctrl+alt+s",
1182+
"mac": "cmd+numpad_separator",
11941183
"command": "workbench.action.openGlobalSettings",
11951184
"intellij": "Open Settings dialog"
11961185
}, {

src/package-with-comment.json

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "intellij-idea-keybindings",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"publisher": "k--kato",
55
"engines": {
6-
"vscode": "1.2.x"
6+
"vscode": "1.3.x"
77
},
88
"displayName": "IntelliJ IDEA Keybindings",
99
"description": "Port of IntelliJ IDEA Keybindings",
@@ -21,7 +21,7 @@
2121
"dependencies": {
2222
},
2323
"devDependencies": {
24-
"vscode": "^0.11.13",
24+
"vscode": "^0.11.14",
2525
"gulp": "~3.9.1",
2626
"gulp-cli": "~1.2.1",
2727
"gulp-strip-json-comments": "~2.0.0",
@@ -444,30 +444,24 @@
444444
"when": "editorFocus",
445445
"intellij": "Find previous"
446446
},
447-
/*
448447
{
449448
"key": "ctrl+r",
450449
"mac": "cmd+r",
451-
"command": "",
452-
"intellij": "Replace",
453-
"todo": "N/A"
450+
"command": "editor.action.startFindReplaceAction",
451+
"intellij": "Replace"
454452
},
455-
*/
456453
{
457454
"key": "ctrl+shift+f",
458455
"mac": "cmd+shift+f",
459456
"command": "workbench.view.search",
460457
"intellij": "Find in path"
461458
},
462-
/*
463459
{
464460
"key": "ctrl+shift+r",
465461
"mac": "cmd+shift+r",
466-
"command": "",
467-
"intellij": "Replace in path",
468-
"todo": "N/A"
462+
"command": "workbench.action.replaceInFiles",
463+
"intellij": "Replace in path"
469464
},
470-
*/
471465
/*
472466
{
473467
"key": "ctrl+shift+s",
@@ -684,24 +678,18 @@
684678
"command": "workbench.action.gotoSymbol",
685679
"intellij": "Go to symbol"
686680
},
687-
/*
688681
{
689682
"key": "alt+left",
690683
"mac": "ctrl+left",
691-
"command": "",
692-
"intellij": "Go to previous editor tab",
693-
"todo": "N/A"
684+
"command": "workbench.action.previousEditor",
685+
"intellij": "Go to previous editor tab"
694686
},
695-
*/
696-
/*
697687
{
698688
"key": "alt+right",
699689
"mac": "ctrl+right",
700-
"command": "",
701-
"intellij": "Go to next editor tab",
702-
"todo": "N/A"
690+
"command": "workbench.action.nextEditor",
691+
"intellij": "Go to next editor tab"
703692
},
704-
*/
705693
/*
706694
{
707695
"key": "f12",
@@ -1157,6 +1145,12 @@
11571145
/*---------------------------------------------------------------*\
11581146
* General
11591147
\*---------------------------------------------------------------*/
1148+
{
1149+
"key": "alt+0",
1150+
"mac": "cmd+0",
1151+
"command": "workbench.actions.view.problems",
1152+
"intellij": "Activate Messages window (Problems)"
1153+
},
11601154
{
11611155
"key": "alt+1",
11621156
"mac": "cmd+1",
@@ -1231,7 +1225,8 @@
12311225
"intellij": "Open Settings dialog"
12321226
},
12331227
{
1234-
"key": "cmd+numpad_separator",
1228+
"key": "ctrl+alt+s",
1229+
"mac": "cmd+numpad_separator",
12351230
"command": "workbench.action.openGlobalSettings",
12361231
"intellij": "Open Settings dialog"
12371232
},

0 commit comments

Comments
 (0)