Skip to content

Commit

Permalink
add tab (#7)
Browse files Browse the repository at this point in the history
* add tab

* add some functions

* fix readme

* add prepublish

* fix build file
  • Loading branch information
Keisuke KATO authored Jul 11, 2016
1 parent 1ab6544 commit b1b311f
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 73 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ before_install:

install:
- npm install
- npm run vscode:prepublish

script:
- npm test --silent
language: node_js
node_js:
- "6"
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ ctrl+o | ctrl+o | Override methods | N/A
ctrl+i | ctrl+i | Implement methods | N/A
ctrl+alt+t | cmd+alt+t | Surround with... (if..else, try..catch, for, synchronized, etc.) | N/A
ctrl+/ | cmd+/ | Comment/uncomment with line comment | Yes
ctrl+numpad_divide | cmd+numpad_divide | Comment/uncomment with line comment | Yes
ctrl+alt+/ | cmd+alt+/ | Comment/uncomment with block comment | Yes
ctrl+alt+numpad_divide | cmd+alt+numpad_divide | Comment/uncomment with block comment | Yes
ctrl+w | alt+up | Select successively increasing code blocks | Yes
ctrl+shift+w | alt+down | Decrease current selection to previous state | Yes
alt+q | ctrl+shift+q | Context info | N/A
Expand Down Expand Up @@ -62,9 +64,9 @@ shfit shift | shfit shift | Search everywhere | N/A
ctrl+f | cmd+f | Find | Yes
f3 | cmd+g | Find next | Yes
shift+f3 | cmd+shift+g | Find previous | Yes
ctrl+r | cmd+r | Replace | N/A
ctrl+r | cmd+r | Replace | Yes
ctrl+shift+f | cmd+shift+f | Find in path | Yes
ctrl+shift+r | cmd+shift+r | Replace in path | N/A
ctrl+shift+r | cmd+shift+r | Replace in path | Yes
ctrl+shift+s | cmd+shift+s | Search structurally (Ultimate Edition only) | N/A
ctrl+shift+m | cmd+shift+m | Replace structurally (Ultimate Edition only) | N/A

Expand Down Expand Up @@ -111,8 +113,8 @@ Linux, Windows | macOS | Feature | Supported
ctrl+n | cmd+o | Go to class | Yes
ctrl+shift+n | cmd+shift+o | Go to file | Yes
ctrl+alt+shift+n | cmd+alt+o | Go to symbol | Yes
alt+left | ctrl+left | Go to previous editor tab | N/A
alt+right | ctrl+right | Go to next editor tab | N/A
alt+left | ctrl+left | Go to previous editor tab | Yes
alt+right | ctrl+right | Go to next editor tab | Yes
f12 | f12 | Go back to previous tool window | N/A
esc | esc | Go to editor (from tool window) | N/A
shift+esc | shift+esc | Hide active or last active window | N/A
Expand Down Expand Up @@ -182,6 +184,7 @@ ctrl+j | cmd+j | Insert Live Template | N/A

Linux, Windows | macOS | Feature | Supported
---------------|------|---------|----------
alt+0 | cmd+0 | Activate Messages window (Problems) | Yes
alt+1 | cmd+1 | Open corresponding tool window (Explorer) | Yes
alt+5 | cmd+5 | Open corresponding tool window (Debug) | Yes
alt+9 | cmd+9 | Open corresponding tool window (Git) | Yes
Expand All @@ -193,6 +196,7 @@ alt+shift+f | alt+shift+f | Add to Favorites | N/A
alt+shift+i | alt+shift+i | Inspect current file with current profile | N/A
ctrl+\` | ctrl+\` | Quick switch current scheme | Yes
ctrl+alt+s | cmd+, | Open Settings dialog | Yes
ctrl+alt+s | cmd+numpad_separator | Open Settings dialog | Yes
ctrl+alt+shift+s | cmd+; | Open Project Structure dialog | Yes
ctrl+shift+a | shift+cmd+a | Find Action | Yes
ctrl+tab | ctrl+tab | Switch between tabs and tool window | Yes
Expand Down
73 changes: 31 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "intellij-idea-keybindings",
"version": "0.1.2",
"version": "0.1.3",
"publisher": "k--kato",
"engines": {
"vscode": "1.2.x"
"vscode": "1.3.x"
},
"displayName": "IntelliJ IDEA Keybindings",
"description": "Port of IntelliJ IDEA Keybindings",
Expand All @@ -20,7 +20,7 @@
],
"dependencies": {},
"devDependencies": {
"vscode": "^0.11.13",
"vscode": "^0.11.14",
"gulp": "~3.9.1",
"gulp-cli": "~1.2.1",
"gulp-strip-json-comments": "~2.0.0",
Expand Down Expand Up @@ -424,21 +424,21 @@
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus",
"intellij": "Find previous"
},









{
}, {
"key": "ctrl+r",
"mac": "cmd+r",
"command": "editor.action.startFindReplaceAction",
"intellij": "Replace"
}, {
"key": "ctrl+shift+f",
"mac": "cmd+shift+f",
"command": "workbench.view.search",
"intellij": "Find in path"
}, {
"key": "ctrl+shift+r",
"mac": "cmd+shift+r",
"command": "workbench.action.replaceInFiles",
"intellij": "Replace in path"
},


Expand All @@ -452,15 +452,6 @@















Expand Down Expand Up @@ -654,6 +645,16 @@
"mac": "cmd+alt+o",
"command": "workbench.action.gotoSymbol",
"intellij": "Go to symbol"
}, {
"key": "alt+left",
"mac": "ctrl+left",
"command": "workbench.action.previousEditor",
"intellij": "Go to previous editor tab"
}, {
"key": "alt+right",
"mac": "ctrl+right",
"command": "workbench.action.nextEditor",
"intellij": "Go to next editor tab"
},


Expand All @@ -675,24 +676,6 @@
























Expand Down Expand Up @@ -1125,6 +1108,11 @@


{
"key": "alt+0",
"mac": "cmd+0",
"command": "workbench.actions.view.problems",
"intellij": "Activate Messages window (Problems)"
}, {
"key": "alt+1",
"mac": "cmd+1",
"command": "workbench.view.explorer",
Expand Down Expand Up @@ -1190,7 +1178,8 @@
"command": "workbench.action.openGlobalSettings",
"intellij": "Open Settings dialog"
}, {
"key": "cmd+numpad_separator",
"key": "ctrl+alt+s",
"mac": "cmd+numpad_separator",
"command": "workbench.action.openGlobalSettings",
"intellij": "Open Settings dialog"
}, {
Expand Down
43 changes: 19 additions & 24 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.2",
"version": "0.1.3",
"publisher": "k--kato",
"engines": {
"vscode": "1.2.x"
"vscode": "1.3.x"
},
"displayName": "IntelliJ IDEA Keybindings",
"description": "Port of IntelliJ IDEA Keybindings",
Expand All @@ -21,7 +21,7 @@
"dependencies": {
},
"devDependencies": {
"vscode": "^0.11.13",
"vscode": "^0.11.14",
"gulp": "~3.9.1",
"gulp-cli": "~1.2.1",
"gulp-strip-json-comments": "~2.0.0",
Expand Down Expand Up @@ -444,30 +444,24 @@
"when": "editorFocus",
"intellij": "Find previous"
},
/*
{
"key": "ctrl+r",
"mac": "cmd+r",
"command": "",
"intellij": "Replace",
"todo": "N/A"
"command": "editor.action.startFindReplaceAction",
"intellij": "Replace"
},
*/
{
"key": "ctrl+shift+f",
"mac": "cmd+shift+f",
"command": "workbench.view.search",
"intellij": "Find in path"
},
/*
{
"key": "ctrl+shift+r",
"mac": "cmd+shift+r",
"command": "",
"intellij": "Replace in path",
"todo": "N/A"
"command": "workbench.action.replaceInFiles",
"intellij": "Replace in path"
},
*/
/*
{
"key": "ctrl+shift+s",
Expand Down Expand Up @@ -684,24 +678,18 @@
"command": "workbench.action.gotoSymbol",
"intellij": "Go to symbol"
},
/*
{
"key": "alt+left",
"mac": "ctrl+left",
"command": "",
"intellij": "Go to previous editor tab",
"todo": "N/A"
"command": "workbench.action.previousEditor",
"intellij": "Go to previous editor tab"
},
*/
/*
{
"key": "alt+right",
"mac": "ctrl+right",
"command": "",
"intellij": "Go to next editor tab",
"todo": "N/A"
"command": "workbench.action.nextEditor",
"intellij": "Go to next editor tab"
},
*/
/*
{
"key": "f12",
Expand Down Expand Up @@ -1157,6 +1145,12 @@
/*---------------------------------------------------------------*\
* General
\*---------------------------------------------------------------*/
{
"key": "alt+0",
"mac": "cmd+0",
"command": "workbench.actions.view.problems",
"intellij": "Activate Messages window (Problems)"
},
{
"key": "alt+1",
"mac": "cmd+1",
Expand Down Expand Up @@ -1231,7 +1225,8 @@
"intellij": "Open Settings dialog"
},
{
"key": "cmd+numpad_separator",
"key": "ctrl+alt+s",
"mac": "cmd+numpad_separator",
"command": "workbench.action.openGlobalSettings",
"intellij": "Open Settings dialog"
},
Expand Down

0 comments on commit b1b311f

Please sign in to comment.