Skip to content

Commit 324fb09

Browse files
author
k--kato
committed
fixed readme
1 parent 2751ae4 commit 324fb09

File tree

4 files changed

+153
-90
lines changed

4 files changed

+153
-90
lines changed

README.md

Lines changed: 60 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Port of IntelliJ IDEA key bindings for VS Code.
77

88
## Usage
99

10+
### Editing
11+
1012
Linux, Windows | OS X | Feature | Supported
1113
---------------|------|---------|----------
1214
ctrl+space | ctrl+space | Basic code completion (the name of any class, method or variable) | Yes
@@ -51,6 +53,11 @@ ctrl+- | cmd+- | Collapse code block | Yes
5153
ctrl+shift+= | cmd+shift+= | Expand all | Yes
5254
ctrl+shift+- | cmd+shift+- | Collapse all | Yes
5355
ctrl+f4 | cmd+w | Close active editor tab | Yes
56+
57+
### Search/Replace
58+
59+
Linux, Windows | OS X | Feature | Supported
60+
---------------|------|---------|----------
5461
shfit shift | shfit shift | Search everywhere | N/A
5562
ctrl+f | cmd+f | Find | Yes
5663
f3 | cmd+g | Find next | Yes
@@ -60,17 +67,32 @@ ctrl+shift+f | cmd+shift+f | Find in path | Yes
6067
ctrl+shift+r | cmd+shift+r | Replace in path | N/A
6168
ctrl+shift+s | cmd+shift+s | Search structurally (Ultimate Edition only) | N/A
6269
ctrl+shift+m | cmd+shift+m | Replace structurally (Ultimate Edition only) | N/A
70+
71+
### Usage Search
72+
73+
Linux, Windows | OS X | Feature | Supported
74+
---------------|------|---------|----------
6375
alt+f7 | alt+f7 | Find usages | Yes
6476
ctrl+f7 | cmd+f7 | Find usages in file | N/A
6577
ctrl+shift+f7 | cmd+shift+f7 | Highlight usages in file | N/A
6678
ctrl+alt+f7 | cmd+alt+f7 | Show usages | N/A
79+
80+
### Compile and Run
81+
82+
Linux, Windows | OS X | Feature | Supported
83+
---------------|------|---------|----------
6784
ctrl+f9 | cmd+f9 | Make project (compile modifed and dependent) | Yes
6885
ctrl+shift+f9 | cmd+shift+f9 | Compile selected file, package or module | N/A
6986
alt+shift+f10 | ctrl+alt+r | Select configuration and run | Yes
7087
alt+shift+f9 | ctrl+alt+d | Select configuration and debug | Yes
7188
shift+f10 | ctrl+r | Run | N/A
7289
shift+f9 | ctrl+d | Debug | Yes
7390
ctrl+shift+f10 | ctrl+shift+r | Run context configuration from editor | N/A
91+
92+
### Debugging
93+
94+
Linux, Windows | OS X | Feature | Supported
95+
---------------|------|---------|----------
7496
f8 | f8 | Step over | Yes
7597
f7 | f7 | Step into | Yes
7698
shift+f7 | shift+f7 | Smart step into | N/A
@@ -81,6 +103,11 @@ alt+f8 | alt+f8 | Evaluate expression (selection) | Yes
81103
f9 | cmd+alt+r | Resume program | Yes
82104
ctrl+f8 | cmd+f8 | Toggle breakpoint | Yes
83105
ctrl+shift+f8 | cmd+shift+f8 | View breakpoints | Yes
106+
107+
### Navigation
108+
109+
Linux, Windows | OS X | Feature | Supported
110+
---------------|------|---------|----------
84111
ctrl+n | cmd+o | Go to class | Yes
85112
ctrl+shift+n | cmd+shift+o | Go to file | Yes
86113
ctrl+alt+shift+n | cmd+alt+o | Go to symbol | Yes
@@ -118,6 +145,11 @@ f11 | f3 | Toggle bookmark | N/A
118145
ctrl+f11 | alt+f3 | Toggle bookmark with mnemonic | N/A
119146
ctrl+0 | ctrl+0 | Go to numbered bookmark | N/A
120147
shift+f11 | cmd+f3 | Show bookmarks | N/A
148+
149+
### Refactoring
150+
151+
Linux, Windows | OS X | Feature | Supported
152+
---------------|------|---------|----------
121153
f5 | f5 | Copy | N/A
122154
f6 | f6 | Move | N/A
123155
alt+delete | cmd+delete | Safe Delete | N/A
@@ -129,24 +161,46 @@ ctrl+alt+v | cmd+alt+v | Extract Variable | N/A
129161
ctrl+alt+f | cmd+alt+f | Extract Field | N/A
130162
ctrl+alt+c | cmd+alt+c | Extract Constant | N/A
131163
ctrl+alt+p | cmd+alt+p | Extract Parameter | N/A
132-
ctrl+k | cmd+k | Commit project to VCS | N/A
133-
ctrl+t | cmd+t | Update project from VCS | N/A
164+
165+
### VCS/Local History
166+
167+
Linux, Windows | OS X | Feature | Supported
168+
---------------|------|---------|----------
169+
ctrl+k | cmd+k | Commit project to VCS | Yes
170+
ctrl+t | cmd+t | Update project from VCS | Yes
134171
alt+shift+c | alt+shift+c | View recent changes | N/A
135172
ctrl+` | ctrl+v | ‘VCS’ quick popup | Yes
173+
174+
### Live Templates
175+
176+
Linux, Windows | OS X | Feature | Supported
177+
---------------|------|---------|----------
136178
ctrl+alt+j | cmd+alt+j | Surround with Live Template | N/A
137179
ctrl+j | cmd+j | Insert Live Template | N/A
138-
alt+0 | cmd+0 | Open corresponding tool window | N/A
180+
181+
### General
182+
183+
Linux, Windows | OS X | Feature | Supported
184+
---------------|------|---------|----------
185+
alt+1 | cmd+1 | Open corresponding tool window (Explorer) | Yes
186+
alt+5 | cmd+5 | Open corresponding tool window (Debug) | Yes
187+
alt+9 | cmd+9 | Open corresponding tool window (Git) | Yes
139188
ctrl+s | cmd+s | Save all | Yes
140189
ctrl+alt+y | cmd+alt+y | Synchronize | Yes
141190
ctrl+alt+f | ctrl+cmd+f | Toggle full screen mode | Yes
142191
ctrl+shift+f12 | cmd+shift+f12 | Toggle maximizing editor | Yes
143192
alt+shift+f | alt+shift+f | Add to Favorites | N/A
144193
alt+shift+i | alt+shift+i | Inspect current file with current profile | N/A
145-
ctrl+` | ctrl+` | Quick switch current scheme | Yes
194+
ctrl+\` | ctrl+\` | Quick switch current scheme | Yes
146195
ctrl+alt+s | cmd+, | Open Settings dialog | Yes
147-
ctrl+alt+shift+s | cmd+; | Open Project Structure dialog | N/A
196+
ctrl+alt+shift+s | cmd+; | Open Project Structure dialog | Yes
148197
ctrl+shift+a | shift+cmd+a | Find Action | Yes
149-
ctrl+tab | ctrl+tab | Switch between tabs and tool window | N/A
198+
ctrl+tab | ctrl+tab | Switch between tabs and tool window | Yes
199+
200+
### Custom
201+
202+
Linux, Windows | OS X | Feature | Supported
203+
---------------|------|---------|----------
150204
f7 | f7 | Next difference | Yes
151205
shift+f7 | shift+f7 | Previous difference | Yes
152206

package.json

Lines changed: 46 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intellij-idea-keybindings",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"publisher": "k--kato",
55
"engines": {
66
"vscode": "0.10.x"
@@ -982,8 +982,7 @@
982982
"mac": "shift+f6",
983983
"command": "editor.action.rename",
984984
"when": "editorTextFocus",
985-
"intellij": "Rename",
986-
"todo": "N/A"
985+
"intellij": "Rename"
987986
},
988987

989988

@@ -1059,25 +1058,18 @@
10591058

10601059

10611060

1062-
1063-
1064-
1065-
1066-
1067-
1068-
1069-
1070-
1071-
1072-
1073-
1074-
1075-
1076-
1077-
1078-
1079-
1080-
1061+
{
1062+
"key": "ctrl+k",
1063+
"mac": "cmd+k",
1064+
"command": "workbench.action.git.input-commit",
1065+
"intellij": "Commit project to VCS"
1066+
},
1067+
{
1068+
"key": "ctrl+t",
1069+
"mac": "cmd+t",
1070+
"command": "workbench.action.git.sync",
1071+
"intellij": "Update project from VCS"
1072+
},
10811073

10821074

10831075

@@ -1120,15 +1112,24 @@
11201112

11211113

11221114

1123-
1124-
1125-
1126-
1127-
1128-
1129-
1130-
1131-
1115+
{
1116+
"key": "alt+1",
1117+
"mac": "cmd+1",
1118+
"command": "workbench.view.explorer",
1119+
"intellij": "Open corresponding tool window (Explorer)"
1120+
},
1121+
{
1122+
"key": "alt+5",
1123+
"mac": "cmd+5",
1124+
"command": "workbench.view.debug",
1125+
"intellij": "Open corresponding tool window (Debug)"
1126+
},
1127+
{
1128+
"key": "alt+9",
1129+
"mac": "cmd+9",
1130+
"command": "workbench.view.git",
1131+
"intellij": "Open corresponding tool window (Git)"
1132+
},
11321133
{
11331134
"key": "ctrl+s",
11341135
"mac": "cmd+s",
@@ -1184,30 +1185,25 @@
11841185
"command": "workbench.action.openGlobalSettings",
11851186
"intellij": "Open Settings dialog"
11861187
},
1187-
1188-
1189-
1190-
1191-
1192-
1193-
1194-
1195-
1188+
{
1189+
"key": "ctrl+alt+shift+s",
1190+
"mac": "cmd+;",
1191+
"command": "workbench.action.tasks.configureTaskRunner",
1192+
"intellij": "Open Project Structure dialog"
1193+
},
11961194
{
11971195
"key": "ctrl+shift+a",
11981196
"mac": "shift+cmd+a",
11991197
"command": "workbench.action.showCommands",
12001198
"intellij": "Find Action"
12011199
},
1202-
1203-
1204-
1205-
1206-
1207-
1208-
1209-
1210-
1200+
{
1201+
"key": "ctrl+tab",
1202+
"mac": "ctrl+tab",
1203+
"command": "workbench.action.quickOpenNavigateNext",
1204+
"when": "inQuickOpen",
1205+
"intellij": "Switch between tabs and tool window"
1206+
},
12111207

12121208

12131209

@@ -1238,7 +1234,7 @@
12381234
"dependencies": {
12391235
},
12401236
"devDependencies": {
1241-
"vscode": "^0.11.10",
1237+
"vscode": "^0.11.12",
12421238
"gulp": "~3.9.1",
12431239
"gulp-cli": "~1.2.1",
12441240
"gulp-strip-json-comments": "~2.0.0",

src/package-with-comment.json

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intellij-idea-keybindings",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"publisher": "k--kato",
55
"engines": {
66
"vscode": "0.10.x"
@@ -982,8 +982,7 @@
982982
"mac": "shift+f6",
983983
"command": "editor.action.rename",
984984
"when": "editorTextFocus",
985-
"intellij": "Rename",
986-
"todo": "N/A"
985+
"intellij": "Rename"
987986
},
988987
/*
989988
{
@@ -1059,25 +1058,18 @@
10591058
/*---------------------------------------------------------------*\
10601059
* VCS/Local History
10611060
\*---------------------------------------------------------------*/
1062-
1063-
/*
10641061
{
10651062
"key": "ctrl+k",
10661063
"mac": "cmd+k",
1067-
"command": "",
1068-
"intellij": "Commit project to VCS",
1069-
"todo": "N/A"
1064+
"command": "workbench.action.git.input-commit",
1065+
"intellij": "Commit project to VCS"
10701066
},
1071-
*/
1072-
/*
10731067
{
10741068
"key": "ctrl+t",
10751069
"mac": "cmd+t",
1076-
"command": "",
1077-
"intellij": "Update project from VCS",
1078-
"todo": "N/A"
1070+
"command": "workbench.action.git.sync",
1071+
"intellij": "Update project from VCS"
10791072
},
1080-
*/
10811073
/*
10821074
{
10831075
"key": "alt+shift+c",
@@ -1120,15 +1112,24 @@
11201112
/*---------------------------------------------------------------*\
11211113
* General
11221114
\*---------------------------------------------------------------*/
1123-
/*
11241115
{
1125-
"key": "alt+0",
1126-
"mac": "cmd+0",
1127-
"command": "",
1128-
"intellij": "Open corresponding tool window",
1129-
"todo": "N/A"
1116+
"key": "alt+1",
1117+
"mac": "cmd+1",
1118+
"command": "workbench.view.explorer",
1119+
"intellij": "Open corresponding tool window (Explorer)"
1120+
},
1121+
{
1122+
"key": "alt+5",
1123+
"mac": "cmd+5",
1124+
"command": "workbench.view.debug",
1125+
"intellij": "Open corresponding tool window (Debug)"
1126+
},
1127+
{
1128+
"key": "alt+9",
1129+
"mac": "cmd+9",
1130+
"command": "workbench.view.git",
1131+
"intellij": "Open corresponding tool window (Git)"
11301132
},
1131-
*/
11321133
{
11331134
"key": "ctrl+s",
11341135
"mac": "cmd+s",
@@ -1184,30 +1185,25 @@
11841185
"command": "workbench.action.openGlobalSettings",
11851186
"intellij": "Open Settings dialog"
11861187
},
1187-
/*
11881188
{
11891189
"key": "ctrl+alt+shift+s",
11901190
"mac": "cmd+;",
1191-
"command": "",
1192-
"intellij": "Open Project Structure dialog",
1193-
"todo": "N/A"
1191+
"command": "workbench.action.tasks.configureTaskRunner",
1192+
"intellij": "Open Project Structure dialog"
11941193
},
1195-
*/
11961194
{
11971195
"key": "ctrl+shift+a",
11981196
"mac": "shift+cmd+a",
11991197
"command": "workbench.action.showCommands",
12001198
"intellij": "Find Action"
12011199
},
1202-
/*
12031200
{
12041201
"key": "ctrl+tab",
12051202
"mac": "ctrl+tab",
1206-
"command": "",
1207-
"intellij": "Switch between tabs and tool window",
1208-
"todo": "N/A"
1209-
}
1210-
*/
1203+
"command": "workbench.action.quickOpenNavigateNext",
1204+
"when": "inQuickOpen",
1205+
"intellij": "Switch between tabs and tool window"
1206+
},
12111207

12121208
/*---------------------------------------------------------------*\
12131209
* Custom
@@ -1238,7 +1234,7 @@
12381234
"dependencies": {
12391235
},
12401236
"devDependencies": {
1241-
"vscode": "^0.11.10",
1237+
"vscode": "^0.11.12",
12421238
"gulp": "~3.9.1",
12431239
"gulp-cli": "~1.2.1",
12441240
"gulp-strip-json-comments": "~2.0.0",

0 commit comments

Comments
 (0)