Python IDE pycharm shortcut keys Daquan

Source: Internet
Author: User
Python IDE pycharm shortcut keys Daquan

1. Editor (Editing)

Ctrl + Space Basic code completion (classes, methods, properties)

Ctrl + Alt + Space quickly import any class

Ctrl + Shift + Enter statement completion

Ctrl + P parameter information (call parameters in method)

Ctrl + Q Quick View Document

Shift + F1 External document

About Ctrl + mouse

Ctrl + F1 Displays error descriptions or warning messages

Alt + Insert to generate code automatically

Ctrl + O Re-method

Ctrl + Alt + T selected

Ctrl +/Line Comment

Ctrl + Shift +/Block Comment

Ctrl + W Select the added code block

Ctrl + Shift + W back to Previous state

Ctrl + Shift +/[SELECT code block end, start

Alt + Enter Quick fix

Ctrl + Alt + L code formatting

Ctrl + Alt + O optimize import

Ctrl + Alt + I Auto Indent

Tab/shift + Tab indent, not indent forward

Ctrl+x/shift+delete clipping the current line or selected code block to the Clipboard

Ctrl+c/ctrl+insert Copy the current line or selected code block to the Clipboard

Ctrl+v/shift+insert pasting from the Clipboard

Ctrl + Shift + V paste from the nearest buffer

Ctrl + D to copy the selected range or row

Ctrl + Y Deletes the selected row

Ctrl + Shift + J Add smart Line

Ctrl + Enter Smart wire cut

Shift + Enter Another line

Ctrl + Shift + U toggle between selected areas or blocks of code

Ctrl + DELETE Delete to character end

Ctrl + Backspace Delete to character start

Ctrl + numpad+/-Expand collapsed code block

Ctrl + numpad+ All expand

Ctrl + numpad-All folding

Ctrl + F4 Close the Running tab

2. Find/replace (search/replace)

F3 Next

Shift + F3 Previous

Ctrl + R Replacement

Ctrl + Shift + F Global Lookup

Ctrl + Shift + R global substitution

3. Operation (Running)

Alt + Shift + F10 run mode configuration

Alt + Shift + F9 Debug mode configuration

Shift + F10 Run

Shift + F9 Debugging

Ctrl + Shift + F10 Run editor configuration

Ctrl + Alt + R run manage.py task

4. Commissioning (Debugging)

F8 Skip

F7 Enter

Shift + F8 Exit

ALT + F9 Running cursors

Alt + F8 Validation expression

Ctrl + Alt + F8 Quick Validation expression

F9 Recovery Program

Ctrl + F8 Breakpoint switch

Ctrl + Shift + F8 View breakpoints

5. Navigation (Navigation)

Ctrl + N jump to Class

Ctrl + Shift + N jump to symbol

Alt + Right/left Jump to the next, previous edit tab

F12 back to the previous tool window

ESC returns to the edit window from the tool window

Shift + ESC To hide a running, recently run window

Ctrl + Shift + F4 Close the active tab

Ctrl + G View current line numbers, character symbols

Ctrl + E Current file Popup

Ctrl+alt+left/right Back and forward

Ctrl+shift+backspace navigating to the most recently edited area

Alt + F1 Find current file or identity

Ctrl+b/ctrl+click Jump to Declaration

Ctrl + Alt + B jump to implementation

Ctrl + Shift + I view quick definitions

Ctrl + Shift + b jump to type declaration

Ctrl + U Jumps to Parent method, parent class

Alt + Up/down Jump to Previous, next method

Ctrl +/[Jump to code block end, start

Ctrl + F12 Popup file structure

Ctrl + H Type hierarchy

Ctrl + Shift + H method hierarchy

Ctrl + Alt + H Call Hierarchy

F2/shift + F2 Next, previous highlighted error

F4/ctrl + Enter edit resource, view resource

ALT + Home Display navigation bar F11 bookmark switch

Ctrl + Shift + F11 bookmark Mnemonic switch

Ctrl + #[0-9] Jump to an identified bookmark

Shift + F11 Display bookmarks

6. Search related (Usage search)

Alt + F7/ctrl + F7 file query usage

Ctrl + Shift + F7 file usage highlighting

Ctrl + Alt + F7 display usage

7. Reconstruction (refactoring)

ALT + DELETE Safe Delete

Shift + F6 Rename

Ctrl + F6 Change signature

Ctrl + Alt + N Inline

Ctrl + Alt + M extraction method

Ctrl + Alt + V Extract Properties

Ctrl + Alt + F extract Fields

Ctrl + Alt + C Extract Constants

Ctrl + Alt + p extract Parameters

8. Control Vcs/local History

Ctrl + K Submit Project

Ctrl + T Update project

Alt + Shift + C to see Recent changes

Alt + backquote (') VCs quick eject

9. Template (Live Templates)

Ctrl + Alt + J Current row using template

Ctrl +j Insert Template

10. Basic (General)

ALT + #[0-9] Open the appropriate tool window

Ctrl + Alt + y sync

Ctrl + Shift + F12 maximize edit switch

Alt + Shift + F add to Favorite

Alt + Shift + I check the current file according to the configuration

Ctrl + backquote (') Quick switch current plan

Ctrl + Alt + S Open Settings page

Ctrl + Shift + A Find all the actions in the editor

Ctrl + TAB to switch between windows

  • 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.