Python pycharm Common shortcut keys

Source: Internet
Author: User

Shortcut keys

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
F1 External Documents
Shift + F1 External document, go to Web document home page
Ctrl + Shift + z–> Redo Redo
Ctrl + hover/Click left mouse button introduction/Enter code Definition
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/Cancel 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/collapse code blocks (current position: functions, comments, etc.)
Ctrl + SHIFT + numpad+/-expand/Collapse All code blocks
Ctrl + F4 Close the Running tab


2. Find/replace (search/replace)
F3 Next
Shift + F3 Previous
Ctrl + R Replacement
Ctrl + SHIFT + F or 2 strokes Shift Global Lookup {You can find a string in the entire project, such as looking up a function name string to see how the function was used before}
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 jumps to class  
Ctrl + Shift + N jumps to symbol  
Alt + right/left jump to Next, previous edit tab (code file)  
Alt + Up/down jumps to the previous, next method  
F12 back to the previous tool window  
Esc returns to the edit window from the tool window  
Shift + ESC hides the running, The recently run window  
Ctrl + Shift + F4 Close the active tab  
Ctrl + G to view the current line number, the character symbol  
Ctrl + E current file pop-up, open the list of recently used files  
Ctrl+alt+left/right back, forward  
Ctrl+shift+backspace Navigate to the most recently edited area {almost the last edited position} 
Alt + F1 Find the current file or identity  
Ctrl+b/ctrl+click jumps to declaration  
Ctrl + ALT + B jumps to implement  
Ctrl + SHIFT + I view quick definition  
Ctrl + SHIFT + B jump to type declare  
Ctrl + U Jump to Parent method, parent class  
Ctrl +//Jump to end of code block, 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] jumps to the bookmark  
Shift + F11 show bookmark  


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)
F5 copy F6 cut
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

Python pycharm Common shortcut keys

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.