Mac OS系统下的Pycharm快捷键整理

Pycharm快捷键(Mac OS系统)

  1. show intention actions 显示意图动作(目前不明白)

    option + enter

  2. smart code completion

    control + shift + space

  3. complete statement

    shift + command + Enter

  4. parameter information

    Shift + P

  5. quick definition

    Option + space

  6. Quick/external documentation

    Shift + f1

  7. 1Generate code 自动生成代码

    command + N

  8. Override/implement members 重写/实现

    control + O

  9. surround with

    Option + command + T

  10. Comment with line comment 注释

    Command + /

  11. Extend/shrink selection 扩大 缩小选择

    option + ↑/option + ↓

  12. context info

    Contrl + shif + Q

  13. Optimize inports 优化引用

    Control + Option + O

  14. Auto-indent lines

    Control + Option + I

  15. Duplicate current line or selection

    Command + D

  16. Move line up/down

    shift + command + ↑/↓

  17. Delete line at caret

    Command + delete

  18. join/split line

    Control + shif + J /command Enter

  19. Smart new line

    shift + enter

  20. toggle case转换大小写

    Shift + command + U

  21. expand / collapse code block

    展开 缩进代码块

    command + + / -

  22. Expand/collapse all

    shift + command + +/-

  23. Save all

    command + S

  24. Find any action inside the IDE

    搜索

    shift + command + A

  25. Run context configuration

    control + option +R

  26. Run/debug selected configuration

    Control + option + R / D

  27. Run/debug selected current configuration执行当前

    Control + R / D

  28. stop

    command + F2

  29. Stop background processes

    shift + command + F2

  30. Resume program

    Option + command + R

  31. Toggle line breakpoint

    command + F8

  32. Edit/view breakpoint

    shift +f8

  33. reformat code整理代码格式

    option + command + L

posted @ 2019-10-14 18:23  htr0215  阅读(159)  评论(0)    收藏  举报