Common shortcut keys: Ctrl + D Copies the selected area or line

Ctrl + Y deletes the selected line

Ctrl + Alt + L code formatting

Ctrl + Alt + O Optimize import (remove unwanted package import)

Ctrl + Mouse Introduction/Enter code definition

Ctrl + / line comment to uncomment

Ctrl + open square bracket quickly jumps to the beginning of the code

Ctrl + close square brackets quickly skip to the end of the code

Shift + F10 runs

Shift + F9 debug

Find/Replace class: Ctrl + F Current file find

Ctrl + R Current file replacement

Ctrl + Shift +F Global search

Ctrl + Shift + R Global replacement

Run class: Shift + F10 run

Shift + F9 debug

Alt + Shift + F 10 Run mode configuration

Alt + Shift + F9 Debug mode configuration

Debugging class: F8 single-step debugging (one line one walk)

F7 goes inside

Shift + F8 exit

Ctrl + F8 adds a breakpoint/breakpoint switch to the current line

Ctrl + Shift +F8 to view all breakpoints

Navigation class: Ctrl +N quick search class (can also find the file in the current project, by filename search)

Double Shift anywhere

Setting — enter keymap in the search box, as shown in the picture:

Note: Search for the function to be modified in the position marked 1 in the figure above, and search for the position of 2 directly through the shortcut key.

1 Modify shortcut keys to quickly skip to the end of the line. Enter end in position 1 to find Move Caret to line end

2 Modify the shortcut key to quickly jump to the beginning of the line, again change to Ctrl + quotes

3 Modify the shortcut key to quickly return to the last operation position:

Other Settings:

  1. Pycharm does not change font size by default using Ctrl+ scroll wheel. You can set it in File -> Setting ->Editor- > General -> Mouse

  2. To set the Pycharm Font, select a style in File -> Setting ->Editor- > Font and save it before you can change it

  3. You can change the theme by searching for theme in Setting, and all color schemes will be changed

Python Learning Exchange Group

Common shortcut keys:

Ctrl + D copies the selected area or row

Ctrl + Y deletes the selected line

Ctrl + Alt + L code formatting

Ctrl + Alt + O Optimize import (remove unwanted package import)

Ctrl + Mouse Introduction/Enter code definition

Ctrl + / line comment to uncomment

Ctrl + open square bracket quickly jumps to the beginning of the code

Ctrl + close square brackets quickly skip to the end of the code

Shift + F10 runs

Shift + F9 debug

Find/replace classes:

Ctrl + F Current file lookup

Ctrl + R Current file replacement

Ctrl + Shift +F Global search

Ctrl + Shift + R Global replacement

Run:

Shift + F10 runs

Shift + F9 debug

Alt + Shift + F 10 Run mode configuration

Alt + Shift + F9 Debug mode configuration

Debug classes:

F8 Single-step debugging (one-line walking)

F7 goes inside

Shift + F8 exit

Ctrl + F8 adds a breakpoint/breakpoint switch to the current line

Ctrl + Shift +F8 to view all breakpoints

Navigation:

Ctrl +N Quickly find classes (also find files in the current project by filename)

Double Shift anywhere

Configure your favorite shortcut keys:

Enter keymap in the search box, as shown in the picture:

Note: Search for the function to be modified in the position marked 1 in the figure above, and search for the position of 2 directly through the shortcut key.

1 Modify shortcut keys to quickly skip to the end of the line. Enter end in position 1 to find Move Caret to line end

2 Modify the shortcut key to quickly jump to the beginning of the line, again change to Ctrl + quotes

3 Modify the shortcut key to quickly return to the last operation position:

Other Settings:

  1. Pycharm does not change font size by default using Ctrl+ scroll wheel. You can set it in File -> Setting ->Editor- > General -> Mouse

  2. To set the Pycharm Font, select a style in File -> Setting ->Editor- > Font and save it before you can change it

  3. You can change the theme by searching for theme in Setting, and all color schemes will be changed