Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Python getting started tool pycharm

Shulou Source: shulou.com Published: 2022-06-03 07:21:23 11月23日 Update

D:\ PycharmProjects

Pycharm shortcut key

Prompt

CTRL Q: displays all the parameters that can be entered in the parameter list position.

CTRL Q: view the document string of the selected method

Reading

CTRL -: collapse the current code

CTRL +: expand the current code

CTRL SHIFT -: collapse all code

CTRL SHIFT +: expand all code

CTRL SHIFT F7: highlights the current word throughout the file, moves F3 to the next, and ESC unhighlights.

CTRL F 11 | F 11: set bookmarks.

SHIFT F11: displays all bookmarks.

CTRL F12: when there are so many methods in a file that you want to skip to a method quickly, you can use this shortcut to open LIST

In addition to selecting with up and down arrows, you can also enter letters.

move

ALT UP: move to the previous method

ALT DOWN: move to the next method

CTRL B | CTRL Click: go to the method definition

CTRL SHIFT UP: moves the current line up one line

CTRL SHIFT UP: moves the current line down one line

SHIFT ENTER: when executing in the middle of a line, intelligently jump to the next line.

Annotation

CTRL /: comment, uncomment Lin

Choice

ALT left: column mode selection

CTRL W: select the current word, press on, and select the line / IF/ method to which it belongs.

Editing

CTRL D: when unchecked, copy the current line to the next row, and copy and paste the selected section when selected.

CTRL J: input template

SHIFT F6: change variable / method name

Delete

CTRY Y: delete the current line

Debug

CTRL F8: set / cancel breakpoints

Other

CTRL E: list of recently accessed files

ESC: focus from other windows to editing windows

SHIFT ESC: hides the current window, focusing on the editing window

F12: focus from the editing window to the previous usage window

Editor right, local history, show history: display local modification record

The first Python file:

: ()

Tags: Method one line code file comment focus input selection bookmark word parameter shortcut highlight middle time move on line up and down position variable name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info OPPO Reno MariaDB macOS MySQL