16 PyCharm Keyboard Shortcuts for Windows and Mac (PDF)

Keyboard shortcuts save you a lot of time and increase your efficiency. Utilize our best PyCharm keyboard shortcuts cheat sheet below to master your way around!

0

16 PyCharm Keyboard Shortcuts for Windows and Mac (PDF)

PyCharm is a dedicated Python IDE that provides you with a huge range of tools for Python developers to create an easy environment for:

  1. Productive Python coding.
  2. Web applications and websites.
  3. Data Science projects.

We have a table of over 16 PyCharm keyboard shortcuts for Windows and Mac available in PDF. These range from launching basic settings, to adding comments, and navigation.

Why do people use PyCharm?

PyCharm is a helpful IDE and below are the 6 reasons why people use PyCharm:

  1. Smart code completion.
  2. Code inspections.
  3. Quick fix.
  4. Highlights error.
  5. Automated code refactoring.
  6. Rich navigation capabilities.

There are also some downsides which are mentioned below:

Good have some bad effects as well:

  1. Takes more space.
  2. The professional version is a bit expensive.
  3. The community version is best only for the development of python.

Why use Keyboard Shortcuts or Hotkeys

These make your life easier by quickly performing actions and saving you from looking into menus and finding options. These are also known as hotkeys and are usually a combination of keys that when pressed one time perform specific tasks. These are supported by most of the apps and operating systems.

For Example

  1. Ctrl + C: To Copy.
  2. Ctrl + V: To Paste.

These bring good in the following ways:

  • You can use the system more easily.
  • You become both fast and productive at handling your system/
  • Work faster.
  • More efficiency with increased precision.
  • If you have mobility or vision disabilities then these are indispensable.
  • Multi-tasking.

How are Keyboard Shortcuts Used (Common Tip)

It’s all a piece of cake, you simply need to:

  1. Hold down one or more than one modifier key.
  2. After this press a letter.

Modifier keys include Ctrl – which is found there on the left and right sides of your keyboard.

These can also be used; we have listed down some examples for you to understand easily:

F7: Spell Checker.

You can also use these with the modifier keys:

Shift + F7: Open Thesaurus in Microsoft Word.

ALSO SEE: Configure your IDE Software for Optimal Coding.

16 Best PyCharm Keyboard Shortcuts that will save you a lot of time (Windows 10/11 and Mac)

Best PyCharm Keyboard Shortcuts for Windows 10/11 and Mac

In below table you can find shortcuts for all from editing, navigation, refactoring, debugging, etc. With help of these, you will have:

  1. Increased productivity.
  2. Configurable shortcuts.
  3. You can assign shortcuts to any action you want.

PyCharm Keyboard Shortcut Combination

What they do

Press Double Shift

With this search everywhere: quickly find file, action, class, tool, and symbol, window, set in PyCharm there in the project as well as in current Git repository.

Ctrl + Shift + A

With this find actions including: find command and then execute it, open the tool window and search regarding any setting.

Alt + Enter

It shows all Context Actions: fix highlighting errors and warnings quickly, intension actions to improvise and optimize code.

F2

With this navigate between code problems.

Shift + F2

It helps you to jump towards the last or next highlighted error.

Ctrl + E

Helps you to show recent files.

Ctrl + W

Helps you to extend or even shrink selection.

Ctrl + Shift + W

You can easily increase or decrease scope of selection in accordance to certain code constructs.

Ctrl + /

With this you can easily add in or remove line or even block the comment.

Ctrl + Shift + /

Commend on the line or block code.

Alt + F7

It shall show all the places where code element is used in your project.

PyCharm Keyboard Shortcut Best Practices

Select correct keymaps

You need to open the setting or preferences dialog Ctrl + Alt + S and then choose “Keymap”.

Use predefined Keymap

This is suggested automatically depending upon the environment. Just be sure that it has compatibility with your operating system or choose the one which matches shortcuts from other IDE such as Visual Studio 2022 or editor which you are used to.

In Emacs when you see the documentation, you can use shortcuts for Keymap in IDE- select using the selector present at top of the page.

This is how you can get predefined key mappings:

  1. You need to open the setting or preferences dialog Ctrl + Alt + S.
  2. Choose plug-ins.
  3. Once done move to the marketplace tab.
  4. Make a search for Keymap.

Modify the copy of the required pre-defined Keymap in order to assign personal shortcuts for commands being used frequently.

Change Default PyCharm shortcuts

If you have a Keymap that is customized then you can always transfer this to your installation.

If after an update it does not work, then it means that Keymap is not available in the new version default. All you need to do is find it as a plug-in and then install it on the plug-ins page as mentioned.

You need to be sure that it is enabled in an installed tab on the plug-ins page present in IDE settings.

If you want to open the learn tool window then you need to begin with your exercises, all you need to do is:

  1. Choose “view” > tool window > learn or help > learn IDE features there from the main menu.
  2. With find action, you can search for commands and set them across tools and menus.

From the keyboard press Ctrl + Shift + A and begin typing, you shall get a list of recommended actions. After these just choose the necessary action and hit enter.

From the keyboard select Alt + Enter to add or change a shortcut for any action.

Install Key Promoter X Plugin

Key Promoter X is a plugin that is used to show pop-up notifications with the corresponding shortcut when through mouse command is executed. Moreover, it also recommends you to create a shortcut for commands you frequently execute.

If a predefined map is being used then what you can do is print the default reference card and then keep it on your desk to make consultation if required. You can find the chart sheet under Help|keyboard shortcuts PDF. You can use Keymap exported plug-in you can print non-default or even a customized Keymap.

You may also find custom extensions and plugins, not in the Jetbrains official library that are also helpful.

Take your shortcuts to the next level

It further makes our lives easy by having some more good qualities which we have listed below:

Use Speed Search

When you have your focus on the tool window with tress, list, or table just type to see items matching

Utilise Smart Keys the easier way

You shall be getting many assistance features like:

  1. Adding paired tags and quotes.
  2. Detecting CampelHump words.

Control PyCharm Window with shortcuts

This can be done with help of your shortcuts rather than a mouse:

  • Ctrl + Alt + Shift + Left and Ctrl + Alt + Shift + Right: It helps to resize too window.
  • Ctrl + Alt + Shift + Up and Ctrl + Alt + Shift + Down: It helps to resize horizontal tool window.
  • If you use a group of actions, create a quick list in order to access them via a custom shortcut.

Two examples below:

  1. Ctrl + Alt + Shift + T: Refactor this.
  2. Alt+: VCS Operations.

ALSO SEE: 7 Open Source and Free IDEs for Ubuntu Linux.

PyCharm All Keyboard Shortcuts Cheat Sheet PDF and Print Version

PyCharm Keyboard Shortcuts PDF

You can download PyCharm cheat sheet with all the keyboard shortcuts that you can also print to put on the office wall or your room as a poster.

This is a copy of the table we have above.

PyCharm All Keyboard Shortcuts (PDF)

Fix PyCharm Keyboard Shortcuts Not Working

If you are having issues activating the shortcuts or if they are not working follow the below troubleshooting steps to fix:

  1. Check if your sticky keys are not on.
  2. Does your keyboard have an (Fn – Function) key? If so use this along with the combinations shared above.
  3. Make sure you are using an English layout.
  4. Click inside the IDE and then try the combination again.

Conclusion

Shortcuts save you a lot of time when you are doing your tasks in PyCharm. As a programmer, there are sometimes deadlines that require meeting very quickly. Using such keymappings and shortcuts can cut your delivery time so you are more efficient in delivering the project. You can also create your own shortcuts if the default ones are not comfortable or require too many combinations.

LEAVE A REPLY

Please enter your comment!
Please enter your name here