100 PyCharm For Mac keyboard shortcuts

As a true Mac productivity tools, with PyCharm shortcuts in Python development, productivity can be doubled to make paper with  key position classification  and  functional classification  are two ways to organize shortcuts PyCharm of.

For I believe that useful, but beginners may not be used shortcut keys, do the thickening process

Key position classification

Command + ?

  1. command + 1 Project launched to recover
  2. command + . Expand recover the code block
  3. command + 7 File Structure window
  4. command + Click Into the source code
  5. command + R Replace, Replace
  6. command + F Find, Find
  7. command + K Commit, commit code
  8. command + / Note
  9. command + E Recent Files
  10. command + W quick selection
  11. command + S Save all, save all
  12. command + C Copy, Copy
  13. command + V Stick
  14. command + T From version control (VCS) to update the code
  15. command + < / > Jump to the beginning / end of line
  16. command + G Go to Line to jump to a row
  17. command + Y Delete the entire line
  18. command + Home / End Jump to first file / tail
  19. command + PageUp / PageDown Jump to the current screen header / footer
  20. command + [] Jump to the block head / tail
  21. command + Q Quit, quit PyCharm
  22. command + Z Modify withdrawal
  23. command + +/- Expand collapsing code
  24. command + , Preference, preferences
  25. command + F2 Stop stop running
  26. command + F4 Close Tab
  27. command + Tab Switch tabs
  28. command + 9 Open VCS Version Control
  29. command + F8 Add / Cancel breakpoint
  30. command + F12 File Structure
  31. command + P View parameters
  32. command + X Shear
  33. command + D Duplicate, duplicate content
  34. command + B View Definition Source

Shift + ?

  1. shift + F2 View the last error or warning
  2. shift + F6 Heavy naming
  3. shift + F8 Step Out jumped Functions
  4. shift + F9 Debug debugging
  5. shift + F10 Run Run
  6. shift + F4 Code to open a separate window
  7. shift + Tab Anti-indent
  8. shift + Backspace Delete the entire line

    Ctrl + ?

  9. ctrl + N create a new file
  10. ctrl + H Hierarchy View inheritance
  11. ctrl + ~ Switch themes
  12. ctrl + F5 Re-run
  13. ctrl + V Open VCS Version Control
  14. ctrl + J Quick view documents
  15. ctrl + R Run Run
  16. ctrl + D Debug debugging

    Alt + ?

  17. Alt + Enter Fast Import missing packages, single and double quotation marks conversion, test regular expressions
  18. Alt + F7 View usage variables, etc.
  19. Alt + Home File into the top navigation bar
  20. Alt + Backspace Delete the entire word
  21. Alt + F1 Quick View file / folder structure
  22. Alt + F12 Open Terminal Terminal
  23. Alt + F9 Run the cursor to debugging

    Command + Shift + ?

  24. command + shift + +/- Expand / Collapse all codes
  25. command + shift + F8 View all breakpoints
  26. command + shift + F4 Close-going Run to run the task, search, etc.
  27. command + shift + F12 Put away all the tools window (Edit window is maximized)
  28. command + shift + F Global Search
  29. command + shift + R Global Replace
  30. command + shift + V `Pasted from the Clipboard
  31. command + shift + C Copy Path
  32. command + shift + Backspace Jump to the last editor of the
  33. command + shift + ⬆ / ⬇ Movement code / code block
  34. command + shift + 8 Enable column selection mode
  35. command + shift + Z Redo, Redo

    Command + Alt + ?

  36. command + Alt + L Formatting code
  37. command + Alt + O Optimization of import
  38. command + Alt + T Enclosing block (Try Except etc.)
  39. command + Alt + V Extract Variable, variable extraction
  40. command + Alt + P Extract Parameter, parameters are extracted (Function used in the process)
  41. command + Alt + C Extract Constant, constant extraction
  42. command + Alt + M Extract Method, extraction
  43. command + Alt + F Extract Field extraction field (in class Class)
  44. command + Alt + Z Revert Commit to withdraw from the modified version control
  45. command + Alt + Y Synchronize, 同步 Workspace
  46. command + Alt + ← / → Jump to the previous local time / next edit
  47. command + Alt + J Surround code with the Live Template
  48. command + Alt + A Add to add VCS version control

    Command + Ctrl + ?

  49. command + ctrl + F full screen
  50. command + ctrl + +/= Zoom Editor, editor size

    Ctrl + Shift + ?

  51. ctrl + shift + Q Displays the current context information of the code (of which function to which belong the like Html tag)
  52. ctrl + shift + J Join, two lines of code as a single line

    Shift + Alt + ?

  53. shift + Alt + F10 Select the file you want to run
  54. shift + Alt + C Recent Changes, recent changes (local)

    The other three key +?

  55. command + shift + Alt + T Variable names reconstruction
  56. command + shift + Alt Enable multi-cursor to select
  57. shift + Alt + ctrl + ⬆ / ⬇ See the difference with the local version of VCS control

    single bond

  58. 按住 Shift Enable horizontal scrolling mouse
  59. F5 Copy the file to somewhere
  60. F6 Move the file to somewhere
  61. F7 Step into,  enter debug Functions
  62. F8 Step over,  stepping into the subroutine not
  63. F9 Continue program execution, skip to the next breakpoint
  64. F2 The next error or warning
  65. Tab Indent your code
  66. Esc Exit the tool window into the code editor

Press

Edit Edit

  • command + / Comment
    command + W quickly select
    command + C Copy, Copy
    command + shift + C to copy the path
    command + V and paste
    command + shift + V to paste from the clipboard
    command + Y delete the entire line
    shift + Backspace delete entire line
    Alt + Backspace delete entire words
    command + X cut
    command + Z withdraw modify
    command + shift + Z redo modify
    command + D Duplicate, duplicate content
    Tab indenting code
    shift + Tab Unindent
    command + shift + ⬆ / ⬇ mobile code / code block
    command + . expansion recover block
    command + +/- Expand folding Code
    command + shift + +/- expand / Collapse all codes
    command + shift + 8 enable column select mode is
    command + Alt + J surrounded by Code Template Live
    ctrl + shift + J the Join, two lines as a single line
    Alt + Enter rapid Import missing packet, convert single and double quotation marks, the test regular expression

Refactor reconstruction

  • command + Alt + L Formatting code
    command + Alt + T block surrounded (Try Except etc.)
    shift + F6 Rename
    command + shift + Alt + T variable name reconstruction
    command + Alt + V Extract Variable, variable extraction
    command + Alt + P Extract Parameter, parameters are extracted (Function used in the process)
    command + Alt + C the Extract by Constant, extraction constants
    command + Alt + M Extract Method, extraction
    command + Alt + F Extract Field extraction field ( class using the class)

File file

  • ctrl + N New File
    F5 Copy the file to somewhere
    F6 to move the file to somewhere
    command + Alt + Y Synchronize, Synchronization Workspace
    command + S the Save All, save all

Navigation Navigation

  • command + < / > Jump to the end of line / row
    command + [] jump to the block head / tail
    command + PageUp / PageDown jumps to the current screen header / footer
    command + Home / End to jump to the first file / end of
    command + 7 file structure window
    command + 9 open VCS version control
    command + Alt + ← / → jumps place to the last / next edit
    command + shift + Backspace Jump to the last editor of the
    command + G Go to line to jump to a line
    Alt + Home into the top of the file navigation bar
    F2 to the next error or warning
    shift + F2 on a warning or error

Run / Debug to run and debug

  • ctrl + F5 Re-run
    ctrl + R Run Run
    ctrl + D Debug debugging
    shift + F9 Debug debugging
    shift + F10 Run Run
    shift + Alt + F10 select the file you want to run
    F7 Step into, enter Functions commissioning
    F8 Step over, not stepping into the subroutine
    F9 program continues
    Alt + F9 to run to debug the cursor
    command + F2 Stop to stop running
    command + F8 the Add / Cancel breakpoints
    command + shift + F8 view All breakpoints
    command + shift + F4 close ongoing task run run, search, and so
    command + shift + Alt enable multi-cursor selection

Window window

  • command + F4 Off-label
    command + Tab switching label
    command + Q Quit, quit PyCharm
    shift + F4 open the code window separate
    command + F12 file structure
    command + 1 deployed to recover the Project window
    command + , Preference, preferences
    command + R Replace, Replace
    command + E Recent Files
    command + F the Find, Find
    command + shift + F global search
    command + shift + R global replacement
    command + shift + F12 put away all the tools window (Edit window is maximized)
    Esc to exit the tool window to enter the code editor
    shift + F4 open Code independent window
    Alt + F12 open terminal terminal
    command + ctrl + F full screen
    command + ctrl + +/= Zoom editor, editor size

VCS Version Control

  • shift + Alt + ctrl + ⬆ / ⬇ Check local and version control VCS difference
    command + T update code from version control (VCS)
    command + K the Commit, submit code
    shift + Alt + C Recent Changes, recent changes (local)
    shift + Alt + ctrl + ⬆ / ⬇ view local and version control VCS difference
    command + Alt + Z Revert Commit to withdraw modified from the version control
    command + Alt + A Add to add to the VCS version control

Code information

  • ctrl + J Quick view documents
    command + Click into the source code
    command + B to see the definition of source code
    command + P to see the parameter
    Alt + F7 view variables such as the use of
    Alt + F1 Quick View file / folder structure
    ctrl + shift + Q displays the current code context information (belongs to which function, which belongs to Html tags, etc.)
    ctrl + H Hierarchy view inheritance

other

ctrl + ~ Switch themes
main Live Template, fast typingif __name__ == '__main__:'

 

Guess you like

Origin www.cnblogs.com/ding5688/p/11939264.html