The most frequently used shortcuts in the pycharm development of Python

Source: Internet
Author: User

To see the Pycharm shortcuts, of course, the official documents, https://www.jetbrains.com/help/pycharm/mastering-keyboard-shortcuts.html

Edit class:

Ctrl + D#Copy the selected range or rowCtrl + Y#Delete the selected rowCtrl + Alt + L#Code FormattingCtrl + Alt + O#optimize import (remove unused packages for import)Ctrl + Mouse#Introduction/Entry Code DefinitionCtrl +/#Line Comment, cancel commentShift + Alt + up#the line of code moves up one lineShift + Alt + Down#the line of code moves up one lineShift + Enter#quickly cut to the next new rowCtrl+alt+enter#整体下移一LineCtrl + Enter#move whole line upCtrl+shift+alt+leftorCtrl+shift+alt+right#attributes move around in XML tagCtrl+ Left Bracket#quickly jump to the beginning of the codeCtrl + Right Bracket#quickly jump to the end of codeShift + F10#RunShift + F9#Debug

Find/Replace class:

CTRL + F             # current file Find Ctrl + R             # current file replace Ctrl + Shift + F     # Global Find Ctrl + Shift + R     #

Run the class:

Shift + F10        # run shift + F9         # Debug Alt + Shift + F10  # Run mode configuration Alt + Shift + F9   # Debug mode configuration

Debug class:

Shift + F10         # run shift + F9          # Debug Alt + Shift + F10   # Run mode configuration Alt + Shift + F9    # Debug mode configuration

Navigation class:

Ctrl + N          # Quick Find class (can also find files in the current project, search by file name)Double Shift    # find Anywhere

Custom shortcut keys:

File---setting--enter keymap in the search box, see details

The most frequently used shortcuts in the pycharm development of Python

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.