PyCharm Edu: Tips & Tricks for Most Efficient Learning, Part I
Learning something new is not only about getting new knowledge or mastering new skills – it is also about building new habits and getting the most joy out of something. That’s why with this blog post we wanted to start a series of posts covering learning methods and tips and tricks designed to help you to learn more effectively and make you more comfortable and excited with learning Python in PyCharm Edu. It may also help set up productivity habits that will be quite useful for further professional Python development with PyCharm. So, let’s start!
Make your IDE feel like home
While coding, as well as learning how to code, it is very important to feel comfortable. The development environment should suit your needs and preferences and help you to stay focused and avoid distraction. You can use the default settings but the option is there for you to easily configure your environment in a way that makes sense to you if you want to.
Use keyboard shortcuts
We encourage you to use keyboard shortcuts, as they can significantly speed up your coding and even reduce the risks of Repetitive Strain Injury. PyCharm Edu is a keyboard-centric IDE. You can choose one of the preconfigured shortcut schemes, or keymap, in Preferences | Keymap:
You can always take a closer look at the list of actions and corresponding shortcuts with the help of search:
Or, you can search an action by shortcut:
You can also set up your own keymap if you need a customizable list of shortcuts.
Please note, that we use default Mac OS scheme (Mac OS X 10.5+) in this blog post. If you use the default keymap of your OS and want to have a nice looking cheat sheet to print out, go to Help | Keymap Reference to get it.
Go to the dark side
PyCharm Edu initially uses the default light color scheme, but you can always switch to the dark Darcula scheme. Please go to Preferences | Appearance & Behavior | Appearance and choose Darcula as Theme under UI Options section:
Or you can use the Ctrl + Backquote(`) shortcut:
Stay focused with a minimalistic UI
When you open your course in PyCharm Edu, you can see the main tool windows that help you get around: Project View, Editor, Task Description:
But after a couple of lessons, you may want to minimize the UI and focus only on the tasks you’re going through.
Step 1: Manage tool windows
First of all, let’s hide the Project View window by clicking on the Project tool button, or with Cmd + 1 shortcut. That will give us more space for code and the task description:
We can also hide all tool buttons with the tiny screen icon at the bottom left of the window:
To open any tool window whenever it is needed, just use the same icon:
or, invoke View | Recent Files (Cmd + E) command:
Now we have a more clear UI:
Step 2: Set up the task description panel
Task description needs to be visible, to hide it completely is not advised. But still, we can make it a bit less distractive by moving it around.
If you work with two monitors, one of the best options is to switch the task description panel to a floating mode and move it to another monitor or just place it near the main IDE window. You can do so with the help of special tool window settings icon:
Or if you prefer you can move the panel to the left, or to the bottom:
So the IDE looks like this:
Step 3: Switch to editor any time you want
While learning you will write new code, run it, then go back to task description, etc. So even if you’ve started with a very minimalistic UI, at some point you will need to return to that kind of view:
If you want to easily go back to the editor and focus on your code, the Hide All Windows command (Shift + Cmd + F12) is the best option:
Just invoke it once again to show all the windows back.
Find any action with ease
I’ve started this post with an exhortation to use shortcuts. And I want to finish up with my favorite feature, to thank everyone who has reached this section :)
It is very hard to remember all the shortcuts and all the actions and productivity boosters PyCharm Edu has. But don’t worry about that. All you need to remember is just one action that rules them all, Help | Find Action command (Shift+Cmd+A). Just start typing the action you need, and get the list:
And even more, you can change your preferences just from this list. Find an option you want to change and press Enter:
There you go. Let us know how you like these features! Stay tuned to not miss the next portion of tips & tricks for more efficient learning. Share your feedback here in the comments or report your findings on YouTrack, to help us improve PyCharm Edu.
Your PyCharm Edu Team
Subscribe to Blog updates
Thanks, we've got you!
Five Things To Love About the New UI
Are you using the New UI yet? Not yet? Let me tell you why it's the best thing since sliced bread! Let’s get it enabled and take a look around. The easiest way to do that is from the Settings cog at the top-right of the UI: PyCharm will need to restart, but that’s it; you’re done! In t…
Tutorial: Visual testing with pytest
If you are like many Python developers out there you LOVE writing code! Tests? Not so much. Whether it’s the concept of testing or the interface of testing tools, testing is a chasm not all developers cross. The Visual Testing with pytest tutorial aims to bring Python testing to the masses, tak…
Django Custom Tags in PyCharm Professional 2020.1
PyCharm started its life with Django support and our new release adds some useful improvements for Django coding. Let's take a look at support for custom Django tags in PyCharm Professional 2020.1. But First, One More Thing Maybe it's bragging, but we need to show one existing feature related to thi…
Python 3.8 support in PyCharm
The release of Python 3.8 brought new features to the Python coding realm. The language is evolving according to its community's needs by addressing cases where new syntax or logic become necessary. From new ways of assigning expressions to restriction of usage of function declarations, calls, and v…