Software and Hardware Environment
- windows 10 64bit
- Pycharm 2020.1.2
preface
Many people may not have installed plug-ins when using PyCharm, after all, PyCharm is powerful enough. However, this does not prevent us from using external plug-ins to make PyCharm more powerful and efficient. As a coder, how can we stop fiddling?
Plug-in Installation Method
Open PyCharm and go to File –> Settings –> Plugins
Uninstall plug-in
Again from File –> Settings –> Plugins, select the plugin you want to uninstall and click Uninstall on the right
The plugin is recommended
Material Theme UI
How can I use PyCharm for a long time without a beautiful theme? Material Theme UI is recommended for you, it is a Theme family, contains several themes, after installation, see this effect is a kind of code impulse?
After selecting the theme, you need to restart the IDE
Markdown
The MarkDown format is becoming more and more popular for writing documentation or instructions on your projects. The Markdown plug-in is a good one and is currently packaged with the PyCharm installation package, so no additional installation is required. Because it works so well, I’m going to list it
Rainbow Brackets
Rainbow parentheses, which allow the parentheses in a code block to be displayed in different colors, make the code hierarchy very clear and easy to read
Kite
This is an automatic code completion plugin using AI technology. Currently there is no official plugin store for PyCharm. We can download it from the official website www.kite.com/
Double-click the installation file to start the installation. If you do not have an account, you can skip the login section
As you can see, Kite can be integrated into other editors
When the installation is complete and PyCharm is restarted, a kite usage guide will appear
Now you can use kite
In Kite, you can also find the apis for the associated Python libraries
Statistic
Statistic is a plug-in for project statistics. It can provide the statistics information of a project, including the number of files and code. After installing the plug-in, a Statistic option will be added in the lower left corner of PyCharm. Click this button to view the statistics information of the project, which is very intuitive and convenient
On the right side of the Overview TAB, there are more detailed statistics about the HTML and PY files in this project
.gitignore
The.gitignore file contains files or folders in your current project. These files will be ignored during git operations and will not be uploaded to the remote repository. When you open a project that does not have a.gitignore file, PyCharm will remind you whether or not to create it
Clicking Create will bring up the file Generator configuration options
Once generated, the.gitignore file looks like this
Of course, you can edit this file by adding the usual build, dist, *.so, *.pyc, etc
Configuring import and Export
When our PyCharm is configured, we can Export it, File –> Manage IDE Settings –> Export Settings
If you want to use the same configuration on another computer, you can Import the configuration in a similar way: File –> Manage IDE Settings –> Import Settings
PyCharm restores the default Settings
Click File –> Manage IDE Settings –> Restore Default Settings to Restore the Default Settings
The resources
- PyCharm basic use