PyCharm keyboard shortcuts

Photo by Fotis Fotopoulos on Unsplash

When I started using Pycharm as my python IDLE, I came across some shortcuts that helped in coding better and faster.

Below are some of the shortcuts that save time when coding.

Ctrl + /

Select Ctrl + / for commenting and uncommenting the selected lines.

Copy, Paste and Delete

Ctrl + C — copies the entire line, where the cursor is placed. Avoids the need of selecting entire line contents.Ctrl + X — Similar to copy, this shortcut works for cut the entire line without selecting the entire line.Ctrl + V — For paste the line copied.

Ctrl + B

This shortcut helps in go to the declaration of the variable.

Ctrl + D

ctrl + D will make a copy of the line and paste it in below line. 

Ctrl + E

Select Ctrl + E for easily shifting among the recent files used in the project.

Double Shift

Double shift can be used to search the keyword everywhere.

Shift + F6

shift + F6 helps in performing refactoring.

Alt + F7

Selecting the variable and running the shortcut will return all the lines where it has been used.

Left Alt + Enter

This shortcuts helps in performing Quick fix for the error shown by pycharm idle.

Ctrl + Alt + C

Shortcut ctrl + Alt + C will create a constant from the selected lines.

Ctrl + Alt + T

ctrl + Alt + T will show options for surrounding with loops or try / catch block.

Ctrl + Alt + M

ctrl + Alt + M will create a method from the selected lines.

Ctrl + Alt + V

ctrl + Alt + V will create a variable for the selected contents.

Alt + Shift + C

Shortcut Alt + shift + C will displays the recent changes.

Ctrl + Shift + Alt + L

Ctrl + Shift + Alt + L will help in reformating the structure of entire python file.

Ctrl + Shift + Alt + J

This shortcuts will helps in changing the variable names all at a time

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Stop Writing Spaghetti Code (A Brief Introduction to Clean Code) — Part 1

Citymobil — a manual for improving availability amid business growth for startups.

Getting Started with JIRA Next Gen — A Guide for New Product Managers

Centering Block Elements

Annotating music in IIIF

Hard Disk Sanitization — Deleting Data Permanently from Hard Drives

Getting started with PostgreSQL on Windows

Pickle Bridge

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sachinjose

Sachinjose

More from Medium

Create Wordle with Python

Python Everywhere.

7 Amazing Basic Python Hacks You Should Know 2022!

Do You Know Lists In Python?