Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
October 26, 2022 06:02 am GMT

5 handy PyCharm Plugins and 10 Hotkeys for Beginner

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.

Plugins

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

  1. Ctrl + D Duplicate a line when you write similar lines, now there is no need to type them first or select and copy.
  2. Alt + Enter Bring the code to the rules of PEP-8. Very convenient.
  3. Ctrl + R Decided to rename the class? Will change the name in the entire project.
  4. Ctrl + Shift + N Search for a class or method throughout the project.
  5. Ctrl + Alt + M We wrote the code, now we wanted to wrap it in a function, here's the combination.
  6. Ctrl + Alt + S Go to settings.
  7. Ctrl + Y Delete the line.
  8. Ctrl + B Move to this class.
  9. Ctrl + F12 Shows the data structure of the file.
  10. 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


Original Link: https://dev.to/vadimkolobanov/5-handy-pycharm-plugins-and-10-hotkeys-for-beginner-4gpd

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To