4 Killer Pycharm Productivity Plugins

This article will introduce 4 Pycharm plug-ins that everyone who learns Python should install to improve work efficiency and make Pycharm look more beautiful.

Search and follow "Python Learning and Research Basecamp" on WeChat, join the reader group, and share more exciting things

picture

1 Introduction

picture

Pycharm is one of the most popular integrated development environments for Python. It has good code assistants, beautiful themes, and shortcuts that make writing code quick and easy.

Having said that, developers can still make writing Python code in Pycharm more efficient and fun by using some plug-ins. In the market, Pycharm has many free plug-ins that can be installed.

Below are 4 Pycharm plugins that every Python programmer should install. Most of these can also be found in DataSpell, an integrated development environment similar to Pycharm.

2. First - learn how to install the plug-in

To install any of the plugins listed in this article, you first need to follow these steps:

  • macOS: Open Pycharm, click "Preferences".

  • Windows/Linux: Open the file and click "Settings".

Then, a window will open. Go to the plugins section and click on the “Marketplace” tab as shown in the image below.

picture

You can now search for and install any of the plugins listed below.

3. Key Promoter X: Remember all shortcut keys in Pycharm

Pycharm has many shortcut keys that save developers from switching between mouse and keyboard, thus speeding up coding.

But the problem is, Pycharm has so many shortcut keys that it's hard to remember them.

After installing Key Promoter X, this plug-in can help developers learn shortcut keys while working. Whenever a button is clicked with the mouse in Pycharm, the plugin displays the keyboard shortcut that should be used.

Suppose a developer wants to run a script in Pycharm. If you don't remember the shortcut, you'll right-click and select "run."

If Key Promoter X is installed, the following prompt will pop up.

picture

In this case, the plugin tells the developer that the shortcut key should be used ^ + shift + Rinstead of right-clicking and selecting "run".

This type of prompt pops up whenever you perform tedious mouse operations. In this way, mouse-less development can be achieved.

4. String Manipulation

As the name suggests, this plugin can help developers manipulate any string in Pycharm.

With this plugin, you can do some operations such as switching word case, reverse characters, swap words, encode/decode, etc. This plugin is useful when developers want to edit strings without leaving Pycharm.

picture

Below are all the options in the String Manipulation menu.

picture

5. Kite: Intelligent automatic completion

Pycharm's autocomplete engine is great, but if you want to take autocomplete to the next level, you should install Kite.

Kite adds AI-based autocomplete functionality to Pycharm. With this plugin, you can get fast auto-completion based on code context. Additionally, Kite also provides longer multi-line autocompletion that you wouldn't normally get.

picture

Origin: Kite

Having said that, one of the best things about Kite is that you can view the Python documentation just by hovering over it. This is important when you want to understand what a method does and find coding examples.

6. Rainbow CSV / Rainbow Brackets (Rainbow CSV / Rainbow Brackets)

If you have trouble reading a CSV file in Pycharm (everything is the same color) or distinguishing a pair of brackets (again only one color), you can use Rainbow CSV and Rainbow Brackets respectively.

Rainbow CSV is a CSV file reader that can color each column of CSV files in Pycharm. No more opening Microsoft Excel to check the contents of a CSV file.

picture

Rainbow Brackets gives each pair of brackets in your code a different color. This is very convenient when there are many brackets in a line of code, so that no single bracket is missed.

picture

Source: JetBrains Marketplace

If you like this rainbow plugin, check out "Indent Rainbow". It has the same functionality as the previous plugin, but now also comes with indentation functionality.

7. Supplementary content: Use beautiful themes in Pycharm

Pycharm has some built-in color schemes that can be used by going to "Preferences", selecting "Editor", and clicking "Color Scheme".

Some solutions can be found here, such as Classic Light, Darcula, Github, High Contrast, etc. There are 8 in total, and if you have been using Pycharm for a while, these solutions are not enough.

The good news is that the theme can be installed from the plugins section. Below are the “Space Gray” themes that this article found on the market.

picture

Source: JetBrains Marketplace

You can also install other cool themes such as One Dark Theme, Monokai Pro Theme, and Atom One Theme.

Recommended book list

"Python from Beginner to Master (3rd Edition)"

"Python from Beginner to Master (3rd Edition)" starts from the perspective of beginners, uses easy-to-understand language and colorful examples, and introduces in detail all aspects of technology that should be mastered in program development using Python. The book is divided into 27 chapters, including introduction to Python, Python language basics, operators and expressions, flow control statements, lists and tuples, dictionaries and sets, strings, regular expressions used in Python, functions, and object-oriented programming , module, file and directory operation, database operation, use of processes and threads, network programming, exception handling and program debugging, Pygame game programming, push box game, web crawler development, train ticket analysis assistant, data visualization, JD e-commerce sales data Analysis and prediction, Web programming, Flask framework, eQiqutravel website, Python automated office, AI image recognition tools, etc. All the knowledge in the book is introduced with specific examples, and the involved program codes are given detailed comments. Readers can easily understand the essence of Python program development and quickly improve their development skills.

"Python from Beginner to Master (3rd Edition)" icon-default.png?t=N7T8https://item.jd.com/14055900.html

Highlights

"10 Data Type Tips in Python"

"Python's collection module, using data containers to process data collections"

"Completely master Python GIL by studying cases"

"Using Ray to create efficient deep learning data pipelines"

"Using Ray to Easily Perform Python Distributed Computing"

"One article to master the correct setting of Python projects in PyCharm"

"5 PyCharm Plug-ins You Can't Miss"

Search and follow "Python Learning and Research Basecamp" on WeChat, join the reader group, and share more exciting things

Visit [IT Today’s Hot List] to discover daily technology hot spots

Guess you like

Origin blog.csdn.net/weixin_39915649/article/details/135287597