Feature Spotlight: Become more productive with PyCharm
Happy Monday everyone,
Today I’m going to highlight 3 simple things you can do every day to harness the power of PyCharm and steadily increase your productivity.
1. PyCharm Productivity Guide
PyCharm smartly analyzes the features you use most often during your development sessions, and alerts you to some features you may have missed.
The Productivity Guide dialog is available in Help | Productivity Guide, displaying the list of features with usage statistics and tips:
Besides analyzing your personal usage of features, you can discover other similar features that you have yet to try. Simply sort features by Group, and look for unused ones next to the frequently used. For a quick hint on how to use a feature, select it and see the tips below.
2. Keyboard Shortcuts You Cannot Miss
PyCharm is no Vim or Emacs, but you can still do a lot using just your keyboard. As a keyboard-centric IDE, PyCharm has keyboard shortcuts for most of its commands. Here’s a short list of indispensable shortcuts you can’t afford to miss:
|Find action by name
|Show the list of available intention actions
|Switch between views (Project, Structure, etc.)
|Switch between the tool windows and files opened in the editor
|Show the Navigation bar
|Insert a live template
|Surround with a live template
|Edit an item from the Project or another tree view
|Comment or uncomment a line or fragment of code with a line or block comment
|Find class or file by name
|Duplicate the current line or selection
|Ctrl+W and Ctrl+Shift+W
|Incremental expression selection
|Find text string in the current file
|Find text in the project or in the specified directory
|Quickly view the usages of the selected symbol
|Expand or collapse a code block in the editor
|Invoke code completion
The default keymap reference is also available as a PDF. To view it, select Help | Default Keymap Reference in the main menu:
You may want to print out this ‘cheat sheet’ and keep it handy, to discover new shortcuts as you go along and get to know PyCharm better.
3. Tips of the Day
One of the most adored features among PyCharm users is Tip of the Day. Tips of the Day provide a huge collection of useful and interesting hints. They show up every time you start PyCharm. If you’ve suppressed these tips before, you can always get them back by going to Help | Tip of the Day and selecting the Show Tips on Startup check-box:
I hope you enjoy learning your way around PyCharm and using its numerous features to boost your productivity. It’s an investment that will definitely pay off.
Talk to you next week,
Subscribe to Blog updates
How to Connect Django With MongoDB
Learn how to use Django and MongoDB together to create a web application in PyCharm. Follow our step-by-step tutorial to connect MongoDB with Django.
New Low-Impact Monitoring API in Python 3.12
Python 3.12 adds the new low-impact monitoring API, enabling debuggers, profilers, and similar tools to run code at almost full speed.
Guest Post: Four Ways To Quickly Display OpenCV Images During Debugging
This is a guest blog post by Adrian Boguszewski, author of OpenCV Image Viewer Plugin. The average programmer makes 70 errors per 1,000 lines of code and spends 75% of their time on debugging (source). In computer vision (CV), this process may involve not only fixing the code but also checking th…