Organize common shortcut keys of php storm (Win and Mac versions)

introduce win Mac
Ctrl Command+?
Command Replace Ctrl
Find text in the current file (required) Ctrl + F
Text replacement in the current file (required) Ctrl + R
Undo (required) Ctrl + Z
Delete the cursor line or the selected line (required) Ctrl + Y Command+delete
?+ delete
Cut the cursor line or cut the selection Ctrl + X
Copy the cursor line or copy the selection Ctrl + C
Copy the cursor line or the selected content, and insert the copied content below the cursor position (required) Ctrl + D
Progressive selection of code blocks
You can select the word or paragraph where the cursor is located. Continuous pressing will expand the selection range on the basis of the original selection (required)
Ctrl + W Option+↑
Displays a list of recently opened file records Ctrl + E
Find the class file according to the entered class name Ctrl + N Command+O
?+ O
Jump to the specified line in the current file Ctrl + G Command+L
?+ L
Insert Custom Dynamic Code Template Ctrl + J
Method parameter prompt display Ctrl + P
The variable where the cursor is located
/Class name/method name, etc. (you can also press when prompted to add) to display the document content
Ctrl + Q F1 or
Control+J
Go to the method/interface definition of the parent class of the method where the current cursor is located Ctrl + U
Enter the interface of the method/variable where the cursor is located or define Ctrl+B or
Ctrl+Left click
Command+B or
Command+Left click
Version control submits a project. This project needs to be added to version control before it can be used Ctrl + K
Version control update project. This project needs to be added to version control before it can be used Ctrl + T
Display the hierarchy of the current class Ctrl + H Control + H
Choose an overridable method Ctrl + O Control + O
Select inheritable methods Ctrl + I Control + I
Expand Code Ctrl + +
Collapse Code Ctrl + -
The code of the line where the comment cursor is located will use different comment symbols according to the current different file types (mandatory) Ctrl + /
Move the cursor to the beginning of the curly bracket of the current code Ctrl + [ Option+Command+[
Move the cursor to the end of the curly bracket of the current code Ctrl + ] Option+Command+]
Error message is displayed on the error code where the cursor is located Ctrl + F1 Command+F1
Move to the next reference position of the selected word Ctrl + F3 nothing
Close the currently edited file Ctrl + F4 Command+W
In Debug mode, set the breakpoint of the cursor's current behavior. If it is already a breakpoint, remove the breakpoint Ctrl + F8 Command+F8
Execute Make Project operation nothing nothing
Select a file/folder and use mnemonics to set/cancel bookmarks Ctrl + F11 Option+F3
Pop up the current file structure layer, which can be directly input to filter Ctrl + F12 Command+F12
Edit window switching. If you press delete during switching, the corresponding selected window will be closed Ctrl + Tab Control + →
Smart Delimited Row Ctrl + Enter Option+Enter
Skip to end of file Ctrl + End Command+↘
Skip to file header Ctrl + Home Command+↖
Basic code completion
By default, it is used by the input method on the Windows system and needs to be modified. It is recommended to change it to Ctrl+comma (required)
Ctrl + Space Option + Space
Delete the word or Chinese sentence behind the cursor Ctrl + Delete Option+Fn+delete
Delete the word or Chinese sentence in front of the cursor Ctrl + BackSpace Option+delete
Open project file Alt+1 Command+1
Show Bookmarks Alt + 2 Command+2
Find the//@ todo tag Alt + 6 Command+6
Show methods in a class Alt + 7 Command+7
Show methods in a class Alt + 8 Command+8
Pop up the file path on the open file title Ctrl+Left click Command+Left click
Press Ctrl without releasing,
The class information summary where the cursor is located will be displayed
Ctrl+cursor positioning Command+cursor positioning
The cursor jumps to the left beginning of the current word/Chinese sentence Ctrl+left arrow key Option+←
The cursor jumps to the right beginning of the current word/Chinese sentence Ctrl+Right Arrow Option+→
Equivalent to mouse wheel forward effect Ctrl+Front arrow key nothing
Equivalent to the mouse wheel backward effect Ctrl+Back arrow key nothing
Alt
Display the pop-up layer of version control common operation menu Alt + ` Option+V
A prompt pops up to display the declaration/context information of the current class Alt + Q Control+Shift+Q
Display the current file selection target pop-up layer, in which many targets can be selected Alt + F1 Option+F1
For the previous page, various browsers are displayed Open target selection pop-up layer Alt + F2 Option+F2
Select the text, search down the same text one by one, and highlight it Alt + F3 Command+F
Find where the method/variable/class where the cursor is located is called Alt + F7 Option+F7
In the Debug status, select an object, and a calculation expression debugging box will pop up to view the debugging results of the input content Alt + F8 Option+F8
Navigate/display to the Navigation Bar of the current file Alt + Home Command+↑
According to the problem of the cursor, quick repair options are provided. The results of prompts vary with the position of the cursor (mandatory) Alt + Enter Option+Enter
The code is automatically generated, such as the set/get method, constructor, ToString(), etc Alt + Insert Control+Enter or
Command+N
Switch the currently opened file view in the left direction Alt+Left arrow key Control+← or
Shift+Command+[
Switch the currently opened file view in the right direction Alt+Right arrow key Control+→ or
Shift+Command+]
The current cursor jumps to the previous method name of the current file Alt+Front arrow key Option+↑
The current cursor jumps to the next method name of the current file Alt+Back arrow key Option+↓
Open project file Alt+1 Command+1
Show Bookmarks Alt + 2 Command+2
Find the//@ todo tag Alt + 6 Command+6
Show methods in a class Alt + 7 Command+7
Show methods in a class Alt + 8 Command+8
Open version controller Alt + 9 Command+9
Code completion of word self transformation Alt + / Option+/
Shift
External documents can be connected if any Shift + F1
Jump to the previous highlighted error or warning position Shift + F2
In Find mode, find matches the previous Shift + F3 Shift+Command+G
Use a new Windows window to open the currently opened file, and keep the old window Shift + F4
Advanced modification
You can rename function method names, variable names, file names, and function names to search for referenced files. You can also rename the tag name
Shift + F6 Shift+F6
In the Debug mode, intelligent stepping in. If there are multiple method calls on the line where the breakpoint is located, which method will pop up Shift + F7
In Debug mode, jump out and the effect is the same as that of F9 Shift + F8
Equivalent to clicking the Debug button on the toolbar Shift + F9 Control+D
Equivalent to clicking the Run button on the toolbar Shift + F10 Control+R
Pop up bookmark display layer Shift + F11 Command+F3
remove indent Shift + Tab
Hide the current or last active tool window Shift + ESC
Select the cursor to the end of the current line Shift + End Shift+Command+→
Select the cursor to the current line header Shift + Home Shift+Command+←
Start a new line.
A line is left blank below the line where the cursor is located, and the cursor is positioned to the new line position
Shift + Enter
Press this shortcut key on the open file name to close the currently open file Shift+Left click
Horizontal scroll axis of the current file Shift+scroll wheel back and forth
Ctrl + Alt
Formatting code, which can be used for the current file and the entire package directory (required) Ctrl + Alt + L Option+Command+L
Optimized imported classes can be used for the current file and the entire package directory (required) Ctrl + Alt + O
The line or selected part of the cursor is automatically indented, a bit like formatting Ctrl + Alt + I Control+Option+I
Pop up wrapping options for selected code Pop up layers Ctrl + Alt + T Option+Command+T
Pop up the template selection window and add the selected code to the dynamic template Ctrl + Alt + J Option+Command+J
Call Hierarchy Ctrl + Alt + H Control+Command+H
If you use the method name of a call, you will skip to the specific implementation. You can skip the interface Ctrl + Alt + B Option+Command+B
Quick introduction of variables Ctrl + Alt + V Option+Command+V
Synchronize, refresh Ctrl + Alt + Y Option+Command+Y
Open System Settings Ctrl + Alt + S Command+,
Displays where it is used. Find the place where the class or variable is called, and use the pop-up box to find it Ctrl + Alt + F7 Option+Command+F7
Switch full screen mode nothing Control+Command+F
A line appears above the line where the cursor is located, and the cursor is positioned to a new line Ctrl + Alt + Enter Option+Command+Enter
Pop up the file pop-up layer associated with the current file Ctrl + Alt + Home Control+Command+↑
Automatic completion of class name Ctrl + Alt + Space Control+Option+Space
Return to the previous operation (required) Ctrl+Alt+Left Arrow Option+Command+←
Advance to the previous operation (required) Ctrl+Alt+Right Arrow Option+Command+→
In search mode, skip to the last file searched Ctrl+Alt+Front arrow key Option+Command+↑
In search mode, skip to the next searched file Ctrl+Alt+Back arrow key Option+Command+↑
Ctrl + Shift
Find the entire project or files in the specified directory according to the input content (required) Ctrl + Shift + F Option+Command+F
Replace the corresponding content according to the input content. The scope is the entire project or the files in the specified directory (required) Ctrl + Shift + R Command+Shift+R
Automatically merge the next row to the end of the current row (required) Ctrl + Shift + J Control+Shift+J
Cancel Undo (required) Ctrl + Shift + Z Option+Command+Z
Progressively deselect code blocks.
You can select the word or paragraph where the cursor is located. Continuous pressing will expand the deselected range on the basis of the original selection (required)
Ctrl + Shift + W Option+↓
Locate by file name
/To open a file/directory, you need to add an additional forward slash after the input content (required)
Ctrl + Shift + N Command+Shift+O
Convert the selected code by case (required) Ctrl + Shift + U Command+Shift+U
Generate a unit test class for the current class. You can select an existing unit test class Ctrl + Shift + T Command+Shift+T
Copy the current file disk path to the clipboard Ctrl + Shift + C Command+Shift+C
Pop up cached recent copy of content manager Pop up tier Ctrl + Shift + V Command+Shift+V
Pop up layer showing the list of recently modified files Ctrl + Shift + E Command+Shift+E
Display Method Hierarchy Ctrl + Shift + H Command+Shift+H
Jump to type declaration Ctrl + Shift + B Command+Shift+B
Quickly view the definition of the method or class where the cursor is located Ctrl + Shift + I Command+Y or
Option+Space
Find Actions/Settings Ctrl + Shift + A Command+Shift+A
Code block comments (required) Ctrl + Shift + / Command+Shift+/
Select from the cursor position to its top bracket position Ctrl + Shift + [ Option+Command+Shift+[
Select from the cursor position to its bottom bracket position Ctrl + Shift + ] Option+Command+Shift+]
Expand All Codes Ctrl + Shift + + Command+Shift++
Collapse All Codes Ctrl + Shift + - Command+Shift+-
Highlight all the selected text, press Esc to highlight and disappear Ctrl + Shift + F7 Command+Shift+F7
In Debug mode, specify breakpoint entry conditions Ctrl + Shift + F8 Command+Shift+F8
Compile the selected file/package/module nothing
Editor Maximize Ctrl + Shift + F12 Command+Shift+F12
Smart code prompt Ctrl + Shift + Space Control+Shift+Space
Automatically end code, and automatically add semicolon at the end of line (required) Ctrl + Shift + Enter Command+Shift+Enter
Return to the last modification Ctrl + Shift + Backspace Command+Shift+Backspace
Quickly add bookmarks with specified values Ctrl + Shift + 1,2,3…9
On the code file,
The cursor jumps to the left beginning of the current word/Chinese sentence,
Select the word/Chinese sentence at the same time
Ctrl+Shift+Left arrow key
On the code file,
The cursor jumps to the right beginning of the current word/Chinese sentence, and the word/Chinese sentence is selected at the same time
Ctrl+Shift+Right Arrow
When the cursor focus is on the tool tab, narrow the tab area Ctrl+Shift+Left arrow key
Expand the tab area when the cursor focus is on the tool tab Ctrl+Shift+Right Arrow
Place the cursor on the method name, move the method to the front of the previous method, and adjust the method sorting Ctrl+Shift+Front arrow key
Place the cursor on the method name, move the method to the front of the next method, and adjust the method sorting Ctrl+Shift+Back arrow key
Alt + Shift
Select/add task Alt + Shift + N
Display Add to Favorites Popup Layer Alt + Shift + F
View the list of changes in recent operation items Alt + Shift + C Option+Shift+C
add to favorites Alt + Shift + F nothing
View the current file of the project Alt + Shift + I Option+Shift+I
In the Debug mode, the next step is to enter the current method body. If the method body still has methods, it will enter the embedded method, and then loop in Alt + Shift + F7
Pop up the optional menu of Debug Alt + Shift + F9 Control+D
Pop up the run selectable menu Alt + Shift + F10 Control+Option+R
Select the double clicked word/Chinese sentence, press and hold to select other words/Chinese sentences at the same time Alt+Shift+Left Double Click Option+Shift+Double left click
Move the cursor line up Alt+Shift+Front arrow key Option+Shift+↑
Move the cursor line down Alt+Shift+Back arrow key Option+Shift+↓
Ctrl + Shift + Alt
Unformatted pasting Ctrl + Shift + Alt + V
Go to the specified variable/method Ctrl + Shift + Alt + N Option+Command+O
Open current project settings Ctrl + Alt + S Command+,
Copy Reference Information Ctrl + Shift + Alt + C
other
Jump to the next highlighted error or warning location (required) F2
In search mode, navigate to the next match F3 Command+G
Edit Source F4
In Debug mode, go to the next step. If the current line breakpoint is a method, it will enter the current method body. If the method body still has a method, it will not enter the embedded method F7
In Debug mode, go to the next step. If the current line breakpoint is a method, it will not enter the current method body F8
In the Debug mode, the program runs again, but if there is a breakpoint in the code below the breakpoint, it stops at the next breakpoint F9 Option+Command+R
add bookmark F11
Go back to the previous tool window F12 F3
indent Tab
Enter the code file window from the tool window ESC
Pop up Search Everywhere pop-up layer Double Shift Double Shift

 Watson Blog
  • This article is written by Published on September 26, 2017 00:05:04
  • This article is collected and sorted by the website of Mutual Benefit, and the email address for problem feedback is: wosnnet@foxmail.com , please keep the link of this article for reprinting: https://wosn.net/631.html

Comment