Anda di halaman 1dari 2

Running Search/Replace

R Select configuration and run F / R Find / Replace


DEFAULT OS X KEYMAP D Select configuration and debug G/ G Find next/previous
R / D Run/Debug F Find in path
R, D Run context configuration from editor R Replace in path
R Rerun tests
F11 Run Gulp/Grunt/npm tasks Usage Search

Debugging F7 Find usages


Editing F7 Find usages in file
F8 / F7 Step over / step into F7 Highlight usages in file
Space Basic code completion F7 Smart step into F7 Show usages
Show intention actions and quick-fixes F8 Step out
P Parameter info (within method call arguments) F9 Run to cursor Refactoring
J Quick documentation lookup F8 Evaluate expression
+ mouse over code Brief Info R Resume T Refactor this
F1 Show descriptions of error or warning at caret F8 Toggle breakpoint F5 / F6 Copy / Move
, N Generate code... F8 View breakpoints Safe Delete
T Surround with... (if..else, try..catch, for, etc.) F6 Rename
J Insert Live template Navigation F6 Change function signature
/ Comment/uncomment with line comment N Inline variable
/ Comment/uncomment with block comment B , Click Go to declaration V Extract Variable
Select successively increasing code blocks O Go to class C Extract Constant
Decrease current selection to previous state O Go to file P Extract Parameter
Q Context info O Go to symbol
L Reformat code ] Go to next editor tab VCS/Local History
I Auto-indent line(s) [ Go to previous editor tab
Indent selected lines F12 Go back to previous tool window V VCS quick popup
Unindent selected lines Go to editor (from tool window) K Commit project to VCS
V Paste from recent buffers... L Go to line T Update project from VCS
D Duplicate current line or selected block E Recent files popup C View recent changes
Delete line at caret Navigate back
Move line up Navigate forward General
Move line down Navigate to last edit location
J Join lines F1 Select current file or symbol in any view Double Search everywhere
Split line B Go to implementation(s) A Find Action
Start new line Space , Y Open quick definition lookup 0 ... 9 Open corresponding tool window
U Toggle case for word at caret or selected B Go to type declaration F12 Toggle maximizing editor
block U Go to super-method/super-class F Add to Favorites
] Select till code block end Go to previous method I Inspect current file with current profile
[ Select till code block start Go to next method , ` Quick switch current scheme
Delete to word end ] Move to code block end , Open Preferences
Delete to word start [ Move to code block start Switch between tabs and tool window
+ / - Expand/collapse code block M Move caret to matching brace
+ Expand all F12 File structure popup
- Collapse all H Type hierarchy
W Close active editor tab H Call hierarchy
F2 Next highlighted error
Multiple carets and selections F2 Previous highlighted error
F4 , Jump to source
+ Click Add or remove caret Jump to navigation bar To find any action inside the IDE use Find Action ( A)
G Select all occurrences F3 Toggle bookmark
G Select next occurrence F3 Toggle bookmark with mnemonic
G Unselect occurrence 0 ... 9 Go to numbered bookmark
Unselect all occurrences or carets F3 Show bookmarks jetbrains.com/webstorm blog.jetbrains.com/webstorm @WebStormIDE
Running Search/Replace

Alt + Shift + F10 Select configuration and run Ctrl + F Find


DEFAULT WINDOWS & LINUX KEYMAP Alt + Shift + F9 Select configuration and debug F3 Find next
Shift + F10 Run Shift + F3 Find previous
Shift + F9 Debug Ctrl + Shift + F Find in path
Ctrl + Shift + F10 Run context configuration from editor Ctrl + R Replace
Alt + Shift + R Rerun tests Ctrl + Shift + R Replace in path
Alt + F11 Run Gulp/Grunt/npm tasks
Editing Usage Search
Debugging
Ctrl + Space Basic code completion Alt + F7 Find usages
Alt + Enter Show intention actions and quick-fixes F8 Step over Ctrl + F7 Find usages in file
Ctrl + P Parameter info (within method call arguments) F7 Step into Ctrl + Shift + F7 Highlight usages in file
Ctrl + Q Quick documentation lookup Shift + F7 Smart step into Ctrl + Alt + F7 Show usages
Ctrl + mouse over code Brief Info Shift + F8 Step out
Ctrl + F1 Show descriptions of error or warning at caret Alt + F9 Run to cursor Refactoring
Alt + Insert Generate code... Alt + F8 Evaluate expression
Ctrl + Alt + T Surround with...(if..else, try..catch, for, etc.) F9 Resume program Ctrl + Alt + Shift +T Refactor this
Ctrl + J Insert Live template Ctrl + F8 Toggle breakpoint F5 / F6 Copy / Move
Ctrl + / Comment/uncomment with line comment Ctrl + Shift + F8 View breakpoints Alt + Delete Safe Delete
Ctrl + Shift + / Comment/uncomment with block comment Shift + F6 Rename
Ctrl + W Select successively increasing code blocks Navigation Ctrl + F6 Change function signature
Ctrl + Shift + W Decrease current selection to previous state Ctrl + Alt + N Inline Variable
Alt+Q Context Info Ctrl + B , Ctrl + Click Go to declaration Ctrl + Alt + M Extract Method
Ctrl + Alt + L Reformat code Ctrl + N Go to class Ctrl + Alt + V Extract Variable
Ctrl + Alt + I Auto-indent line(s) Ctrl + Shift + N Go to file Ctrl + Alt + C Extract Constant
Tab Indent selected lines Ctrl + Alt + Shift + N Go to symbol Ctrl + Alt + P Extract Parameter
Shift + Tab Unindent selected lines Alt + Right Go to next editor tab
Ctrl + Shift + V Paste from recent buffers... Alt + Left Go to previous editor tab VCS/Local History
Ctrl + D Duplicate current line or selected block F12 Go back to previous tool window
Ctrl + Y Delete line at caret Esc Go to editor (from tool window) Alt + BackQuote (`) VCS quick popup
Alt + Shift + Up Move line up Ctrl + G Go to line Ctrl + K Commit project to VCS
Alt + Shift + Down Move line down Ctrl + E Recent files popup Ctrl + T Update project from VCS
Ctrl + Shift + J Join lines Ctrl + Alt + Right Navigate forward Alt + Shift + C View recent changes
Ctrl + Enter Split lines Ctrl + Alt + Left Navigate back
Shift + Enter Start new line Ctrl + Shift + Backspace Navigate to last edit location General
Ctrl + Shift + U Toggle case for word at caret or selected Alt + F1 Select current file or symbol in any view
block Ctrl + Alt + B Go to implementation(s) Double Shift Search everywhere
Ctrl + Shift + ] Select till code block end Ctrl + Shift + I Open quick definition lookup Ctrl + Shift + A Find Action
Ctrl + Shift + [ Select till code block start Ctrl + Shift + B Go to type declaration Alt + #[0-9] Open corresponding tool window
Ctrl + Delete Delete to word end Ctrl + U Go to super-method/super-class Ctrl + Shift + F12 Toggle maximizing editor
Ctrl + Backspace Delete to word start Alt + Up Go to previous method Alt + Shift + F Add to Favorites
Ctrl + NumPad+ Expand code block Alt + Down Go to next method Alt + Shift + I Inspect current file with current profile
Ctrl + NumPad- Collapse code block Ctrl + ] / [ Move to code block end/start Ctrl + BackQuote (`) Quick switch current scheme
Ctrl + Shift + NumPad+ Expand all Cltrl + Shift + M Move caret to matching brace Ctrl + Alt + S Open Settings dialog
Ctrl + Shift + NumPad- Collapse all Ctrl + F12 File structure popup Ctrl + Tab Switch between tabs and tool window
Ctrl + F4 Close active editor tab Ctrl + H Type hierarchy
Ctrl + Alt + H Call hierarchy
Multiple carets and selections F2 / Shift + F2 Next/previous highlighted error
F4 , Ctrl + Enter Jump to source
Alt + Click Add or remove caret Alt + Home Jump to navigation bar To find any action inside the IDE use Find Action (Ctrl+Shift+A)
Shift + Ctrl + Alt + J Select all occurrences F11 Toggle bookmark
Alt + J Select next occurrence Ctrl + Shift + F11 Toggle bookmark with mnemonic
Alt + Shift + J Unselect occurrence Ctrl + #[0-9] Go to numbered bookmark
Esc Unselect all occurrences or carets Shift + F11 Show bookmarks jetbrains.com/webstorm blog.jetbrains.com/webstorm @WebStormIDE

Anda mungkin juga menyukai