phpstrom's own definition and original common shortcut keys

Personally think it's easier to use

Smart completion: Ctrl+Shift+Space
formatting code: CTRL+ALT+L to
view all methods in the current class: Ctrl + F12 to
locate a line: ctrl+g to
quickly locate errors or warnings, F2 reverse SHIFT+F2
CTRL+ALT+←/→ # Return to the last edited position.
Choose what you want: Ctrl+W
Ctrl + j Display commonly used code fragments

Navigate to a line: ctrl+g to
view all methods in the current class: Ctrl + F12
CTRL+click # to locate the declaration position of the class, function, variable (same: CTRL+B)
CTRL+SHIFT+N # find file by name , And quickly enter => Double-click shift
ALT+F1 # Locate the current file location in the project (or double-click the navigation bar at the top to achieve a similar effect) -> similar to vscode's ctrl+b
CTRL+F12 # current file List of methods
CTRL+F # Find a string in the current file (replace the current file: CTRL+R)
CTRL+SHIFT+F # Find a string in the current project/path (Note: This shortcut may be related to the input method The shortcut keys conflict. Replace: CTRL+SHIFT+R)
F2 # Quickly locate errors or warnings, use SHIFT+F2
CTRL+ALT+←/→ # Return to the last edited position
CTRL+Z # Cancel
CTRL+SHIFT+ Z # Redo-" has been changed to ctrl+y
ALT+J # Multi-select editing in turn, has been changed to CTRL+D
ALT+left-click drag #Rectangular upper and lower marquee has been modified to ctrl+alt+mouse
SHIFT+ENTER # In the current Quickly insert a blank line below the line, and move the cursor to the new line. It has been changed to ctrl+enter
CTRL+/ # Line comment
CTRL+SHIFT+/ # Block comment
ALT+ ↑/↓ # Quickly move between methods and change to ctrl+shiht+ ↑/↓
CTRL+G # Go to line
Double-click SHIFT # Search in the current project (file name, class, method, function, etc.)
Ctrl+ e List the recently opened files
Ctrl+Shift+V Pasteboard, select the most recent content that needs to be pasted
Ctrl+R Replace
Ctrl+ shift + u Switch case
shift + Ctrl+ c Copy the path where the current file is located
Ctrl+alt+F7 View where a method is called
ctrl+space code prompt
Ctrl + j Display commonly used code snippets
Ctrl+ shift + + / command + shift +-Fold/Expand All blocks
control + tab / control + shift + tab Switch open files
#10 Cut around: Ctrl+Tab
#9 Choose what you want: Ctrl+W
#8 Code generation: Template/Postfix +Tab
#7 Issue the order: Ctrl+Shift+A
#6 Nowhere to hide: Shift+Shift
#5 Auto-complete: Ctrl+Shift+Enter
#4 Create everything: Alt+Insert
#1 Smart completion: Ctrl+Shift+Space

Guess you like

Origin blog.csdn.net/weixin_44797182/article/details/115345713