Want to improve the speed of writing code can not be separated from the use of shortcut keys, here to tidy up some webstorm often used shortcut keys
First, navigation
webstorm shortcut Keys |
Eclipse shortcut Keys |
Description |
Esc |
Esc |
Enter the code editing area |
Alt+f1 |
Alt+f1 |
Useful for finding the location of code in other interface modules |
Ctrl+g |
Ctrl+l |
The code to the specified line |
ctrl+]/[ |
ctrl+]/[ |
Cursor to front or back of code block |
Alt+up/down |
Ctrl+shift+up/down |
Previous/Next method |
? Second, interface operation
webstorm shortcut Keys |
Eclipse shortcut Keys |
Description |
Ctrl+shift+a |
Ctrl+shift+a |
Quickly find and use all the functions of the editor (must remember) |
ALT+[0-9] |
ALT+[0-9] |
Quick Disassembly Function Interface module |
Ctrl+shift+f12 |
Ctrl+shift+f12 |
Maximum area display code (hides other feature interface modules) |
Alt+shift+f |
Alt+shift+f |
Add the current file to the Favorites folder |
Ctrl+alt+s |
Ctrl+alt+s |
Open the Configuration window |
Ctrl+tab |
Ctrl+tab |
Toggle Code tab (also make this selection, less efficient) |
alt+←/→ |
alt+←/→ |
Toggle Code Tab |
Ctrl+f4 |
Ctrl+f4 |
Close the Current Code tab |
Third, find/replace
webstorm shortcut Keys |
Eclipse shortcut Keys |
Description |
Ctrl+shift+n |
Ctrl+shift+r |
Quickly find files within a project by file name (required) |
Ctrl+shift+alt+n |
Ctrl+shift+alt+n |
Quick Find location with one character (required) |
Ctrl+f |
Ctrl+f |
Quickly find code within a file |
F3 |
Ctrl+k |
Find the next |
Shift+f3 |
Ctrl+shift+k |
Find Previous |
Ctrl+r |
Ctrl+f |
In-File code substitution |
Ctrl+shift+r |
|
Specify code bulk substitution in Directory |
Ctrl+shift+f |
Ctrl+h |
Specify in-Directory code bulk Lookup |
Iv. Code Editing
webstorm shortcut Keys |
Eclipse shortcut Keys |
Description |
Ctrl+d |
Ctrl+shift+↑ |
Copy when moving forward |
Ctrl+w |
Alt+shift+↑ |
Select a word |
ctrl+←/→ |
ctrl+←/→ |
Jump cursor position with Word as boundary |
Alt+insert |
Alt+insert |
Create a new file or other |
Ctrl+alt+l |
Ctrl+alt+l |
Formatting code |
Shift+tab/tab |
Shift+tab/tab |
Decrease/Enlarge indent (you can reduce line indentation in your code) |
Ctrl+y |
Ctrl+d |
Delete a row |
Shift+enter |
Shift+enter |
Start a row again (regardless of where the cursor is) |
Webstorm those common shortcut keys