1, theme, font and code split line (right Margin) configurationIde&&editor Theme Configuration
Font (color) configuration
Cancellation and setup of code split line
2. IDE layout and full screen settingMoving an item to the right sidebar and then Window->store current Layout as Default in the menu bar can also start Full-screen view on the menu bar view->enter full Screen
To collapse any code fragment: the menu bar code->folding->fold Selection/remove Region
3. Configure the AUTOPEP8 tutorial to make Python code more compliant with PEP8 specificationsCtrl + Alt + L code formatting
Pycharm Configure the Autopep8 tutorial to make Python code more compliant with PEP8 specifications
The explanation of some parameters in AUTOPEP8
4. Coding mode setting and project starting position setting
Python script template settings: File>new>python file/package
The file header specifies that the encoding should be the same as the file Save encoding Method
File>new Project
5. The TAB key is set to 4 spaces File--->settings--->editor--->code Style--->python, remove the check in front of the use Tab character As shown in the following illustration:
6. Common shortcut keys (keymap)
CTRL + D: # Copy Current line
Shift + Enter: # Quick Wrap
Ctrl +/: # Quick Comment (select multiple lines to batch comment)
Tab: # Indent the current row (you can bulk indent with multiple rows selected)
Shift + Tab: # Undo Indent (select multiple lines to indent in bulk)
Ctrl + F: # Find
Ctrl + R: # Replace
Hit Shift 2 times in a row: # Global Lookup {You can find a string or something in the entire project, such as finding a function name string to see how to use this function before the}
tab mass change: # menu bar Edit-> Convert indents (to spaces)
Shift + Z: # Quick definition (view definitions of functions, classes, and so on), rewrite keymap (Ctrl + Shift + I)
7. Pycharm Installation Plugin (Eg:markdown) and third party libraryInstalling plugins in Pycharm: Settings-> Plugins-> Browse repositories (middle of three buttons below)-> search ' markdown support '-> install in Pych Install third party library in arm: Set-> Project interpreter-> Click on the top right corner of the + number lookup-> Select Install Package
8. Git configurationYou need to install Git version control-> git locally, and after you configure GIT and other versioning systems, you can easily diff view the different files
9. Import Export Current configurationFile>export Settings/import Settings