Home > Backend Development > Python Tutorial > Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)

Release: 2023-08-08 16:57:40
forward
1806 people have browsed it

#This issue brings you Come to 20 very practical shortcut keys for Pycharm, I hope it will be helpful to you.

01、Ctrl /

##Quick comment, if it is already a comment statement, uncomment after execution, you can also select the code block (multiple lines) comment

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)

##

02、Ctrl W / Ctrl Shift W

## Selected range expansion/selected range reduction

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


##03. Ctrl Y

##Delete the current line

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


##04、Ctrl D


Copy the current line downward

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)

05, Ctrl B / Ctrl left click

Go to method definition

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


##06, Ctrl Shift V

##Access history pasteboard

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


#07、Shift Enter

Wrap a line at any position. When editing code, I often have to change to the next line, but the cursor is not at the end of the line

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)

08、Shift Shift

## Universal Search, you can search file names, class names, method names, and directory names. The trick to search directories is to add a slash /

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)## in front of the keyword.


09、Ctrl E

Quickly find recently accessed files

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


10、F3 / Shift F3

## Search next/previous

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)

11、Ctrl R / Ctrl Shift R

##Replace/Global Replace

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


##12, F2 / Shift F2

##Next/previous highlighted error

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


#13、Alt 1


##Close tab label (left sidebar)

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)##

14. Alt Enter / Alt Shift Enter

Optimize code, prompt information to realize automatic package import

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


##15. Ctrl Shift Alt Left click

You can add the cursor at any position , suitable for simultaneous operations

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


##16, Ctrl Shift J

## Merge two lines into one line and delete unnecessary spaces to match Your code style

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)

17. Ctrl Alt M

## Select the code block and generate the function

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


##18. Ctrl ALT T

##This shortcut key can operate on existing code, such as quick Add exceptions, quickly add if statements, etc.

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


## 19. Ctrl Shift arrow keys


##Quickly adjust the size of the Pycharm window. Use Ctrl Shift ↑ and Ctrl Shift for vertical windows. ↓ Adjust, use Ctrl Shift ←, Ctrl Shift → Adjust the horizontal window

20. Ctrl Shift A

## Universal command line

Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)


Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display)##END


##

The above is the detailed content of Collection | 20 Pycharm's most practical and efficient shortcut keys (dynamic display). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:Python当打之年
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template