From author
You can find many interesting articles on my website, please visit it Happy Python Website
Automatic translation in the browser will help you to study everything conveniently.
If the material is useful, I will try to translate all my articles for you
I think all developers, after choosing a programming language for themselves, thought about the question: "Where to write code?" I, as a developer in the Python programming language, turned to the Internet, where many answers were found.
For different languages — there are correspondingly different solutions. In fact, the development environment is just a programmer's "comfort zone" and it will not suit everyone. This applies not only to Python, but also to other languages.
After reading a few articles, I settled on the PyCharm environment for Python. It was developed by JetBrains, has a paid and free version, as well as many features that really attract with their ease of use.
Let's look at some of them.
5 frequently used plugins of the PyCharm development environment
The top plugin for developers of all levels is Python Smart Execute. Do you want to test the operation of a separate piece of your code? Plug-in to help, install it, highlight the code and click Smart execute. See how a piece of code worked.
Since I am not familiar with English and other languages, sometimes I have to translate comments in the code of other developers. Jumping into the browser every time to translate text is not a good allocation of working time, especially when you could write a few lines of good code during this time.
I had to look for a way out of the situation by turning to the Internet again. It turned out there is a plugin called Translation, which allows you to use the translator immediately from the code. A very cool thing, you select the text and click on the translator icon in the upper right corner and understand what your colleague is talking about.All employers are interested in developers with the ability to write beautiful code. This is a fact. Sometimes it is impossible to keep track of the whole code, therefore your remuneration for work is reduced by several kilograms of gingerbread. What to do? Use the PyLint plugin — indicates to the developer where he left a piece of bad code.
Do novice developers often get confused about the correct naming of classes, functions and variables? To use the SonarLint plugin — checks the naming correctness and detects errors. Top for beginners.
Too lazy to type the code manually? Use the Tabnine plugin, which with the help of artificial intelligence will tell you what to write.
10 popular hotkeys, for PyCharm
- Ctrl + D — Duplicate a line when you write similar lines, now there is no need to type them first or select and copy.
- Alt + Enter — Bring the code to the rules of PEP-8. Very convenient.
- Ctrl + R — Decided to rename the class? Will change the name in the entire project.
- Ctrl + Shift + N — Search for a class or method throughout the project.
- Ctrl + Alt + M — We wrote the code, now we wanted to wrap it in a function, here's the combination.
- Ctrl + Alt + S — Go to settings.
- Ctrl + Y — Delete the line.
- Ctrl + B — Move to this class.
- Ctrl + F12 — Shows the data structure of the file.
- Alt + F7 — See where this class, method or function is used.
Conclusion
This article describes only the functions and plugins that I personally use frequently. I have been writing for about 3 years, I got to the middle developer in Python. I started using these tools in the middle of 2020, which allowed me to rise from the junior position. Use it! I am waiting for you at the position of senior python developer
Top comments (5)
Great post, Vadim. It's great to hear that Tabnine helps you code ✌🏽
Thank you for your work, these plugins really work for me right now
Great sum up, I missed the Alt-Enter, now I use it more often :)
I am always glad to help
I just wanted to take a moment to recommend Better Highlights to any developers out there who want to make their code comments more organized and readable. It's a top-notch plugin that has really improved my commenting experience. You can get it here: plugins.jetbrains.com/plugin/12895....