shortcut Keys
1, edit (Editing)
Ctrl + Space Basic code completion (classes, methods, properties)
Ctrl + ALT + Space Quick Import any class
Ctrl + Shift + Enter statement complete
CTRL + P parameter Number information (call parameter in method)
Ctrl + Q Quick View Document
Shift + F1 External document
Ctrl + Mouse Introduction
Ctrl + F1 display error description or warning message
Alt + Insert Auto generate code
CTR L + O Re-method
Ctrl + ALT + T Check
Ctrl +/Line Comment
Ctrl + Shift +/Block Comment
Ctrl + W Select Add code block
Ctrl + Shift + W return 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, do not indent the current line
Ctrl+x/shift+delete cut the current line or selected code block to the Clipboard
Ctrl+c/ctrl+insert copy the current line or the selected code block to the Clipboard
Ctrl + V/shift+insert pasting
Ctrl + SHIFT + V from the Clipboard
Ctrl + D copy selected ranges or rows
Ctrl + Y Delete selected rows
Ctrl + SHIFT + J add smart lines
CTRL + ENTER Smart Wire cut
Shift + Enter another line
Ctrl + Shift + U toggle between selected area or code block
Ctrl + DELETE Delete to character end
Ctrl + Backspace Delete Start
Ctrl + numpad+/-expand collapsed code block
Ctrl + numpad+ all expand
Ctrl + numpad-all collapse
Ctrl + F4 close running tabs
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)
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
Some common settings:
1. Pycharm is automatically saved by default, the habit of pressing CTRL + S can be set as follows:
(1). Save files on frame deactivation and save files automatically I, Setting, general, file, synchronization F application is the idle for: The SEC's tick is removed
(2). Mark modified Tabs with Asterisk Tabs, editor, editor, file->setting
2. Alt + Enter: Automatically add a package
3. For common shortcut keys, you can set it to Visual Studio (Eclipse ...) The same:
Vuisual Studio, Keymaps, Keymap, Setting, file--
4. In Pycharm, you cannot change the font size by CTRL + Wheel, you can set it in file--Setting->editor-〉mouse
5. To set the Pycharm font, first select a style and save it in file, Setting->editor-〉editor before you can change
6. Search in setting theme can change theme, all colors Unified change
7. Configure the import path for the Python library:
For libraries that we import through Sys.path.insert (...), Pycharm is naturally unrecognized and the editor prompts for errors.
Unresolved reference ' Scriptfan ' less ... (CTRL+F1) This inspection detects names the should resolve but don ' t. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items.
To resolve such a problem, you can resolve it by changing the configuration item for the project.
Open python intercepters, Python intercepter, Project Settings, Settings, File--, add a custom import path in the list of Paths tabs Can.
Once the configuration is applied, you can eliminate unresolved Reference errors.