Pycharm commonly used shortcut keys Jie Jie ah = =

In fact, over many shortcuts, too lazy to remember (mostly remember ......)

Record yourself here with a really feel will be very easy, especially when you do not have a mouse = =

Ultra common

Ctrl + / comment on the line

Ctrl + D copy the row to the next row

Shift + Enter starts a new line, no matter what position you are in this line, it can be positioned directly at the beginning of the next line

Ctrl + Alt + L format, automatic typesetting ,, do not need to have the spaces

Ctrl + Q to quickly view documents

Ctrl + Z Undo

Ctrl + mouse into the mouse pointer function is defined

Ctrl + Y Delete selected rows

Ctrl + F Find (to find only in the current file)

Ctrl + Shift + F Global Search, you can also tap shift 2 times in a row to open the Find interface, with the difference between the above that can be found throughout the project

Alternatively Ctrl + R

Ctrl + Shift + R Global Replace (to find the same difference)

Ctrl + S students remember to save. . .

Some easy to operate provided Pycharm

In file -> Setting -> Editor in

1 zoom font

That a hook on the right side of the intermediate can be reduced by the font Ctrl + mouse wheel to zoom ~

2 custom run / debug (modified shortcuts)

It is strongly recommended to run and debug custom look. . .

Because the default debug and run on most laptops use to F9 / F10 ,,, So you have to press FN ,,, then you have to press four keys (there is an easy way to teach me the trouble, thank you ~ ) ,,,

 -> Keymap

 

The new shortcut will be according to their own convenience, be careful not to follow other commonly used heavy fine

By the way, it is provided Pycharm can import / export

file -> export settings can be saved in the current setting Pycharm a jar file, you can reload Hey hey hey. . .

-> import settings> jar file to restore the custom configuration

3 shows the line number / whitespace characters

 -> Appearance  -> 选择 Show line numbers / Show whitespaces / Show method separators

 4 Custom Theme

  -> Colors & Fonts -> Scheme name

5 added by default

->file and code template>python scripts

 

 Quite easy, not easy error) ,,,,

6 Modify the default encoding

File Encodings -> IDE Encoding: UTF-8 和 Project Encoding: UTF-8

 

 To do them justice. . .

Guess you like

Origin www.cnblogs.com/aqin1012/p/11612151.html