Pycharm summary of common shortcuts




shortcuts role note
CTRL + Win + space Automatic prompt and guide package According to the two times
CTRL + Alt + space Automatic prompt and guide package According to the two times
Alt + Enter A quick guide package
Ctrl + Y delete
Ctrl + D Copy one line
Ctrl + Alt + L Formatting code You need to remove ubuntu’s default logout shortcut
ctrl + o Overriding methods You can filter out methods by entering method names
ctrl + p View method parameters
Ctrl + H Take a quick look at the class inheritance structure The cursor needs to be positioned inside the class
Alt + F7 See where variable/method/resource ID is used
Ctrl + N Find the py file
Ctrl + Shift + N Find any file
shift Find any file According to the two times
Ctrl + E List of recently edited files
Shift + F6 rename
F2 The cursor is positioned at the error
Ctrl + F Search within the current file
Ctrl + Shift + F Global search
Ctrl + R Current file replacement
Ctrl + Shift + R Global replacement
Ctrl + Shift + Backspace Go back to where you were last edited
F5 Copy the file
Ctrl + W Quick selection of string
Ctrl +Shift + F12 Maximized window
Alt + Shift + U Uppercase/lowercase toggle
Alt + Shift + up/down Code moving up and down
Ctrl + Alt + O Clear unused packages
Shift + enter The cursor moves to the next line
Ctrl + Shift + – Fold the code
Ctrl + Shift + + A code

For more free technical information: annalin1203