PyCharm 基本操作与快捷键

PyCharm 基本操作与快捷键

  • References

1. 注释 / 取消注释

选中 Python 代码
Ctrl + /: 注释或取消注释
Ctrl + Slash: Comment with Line Comment

2. 缩进 / 反方向缩进

选中 Python 代码
Tab / Shift + Tab: 缩进 / 反方向缩进

3. 运行到光标处

Alt + F9: Run to Cursor

4. 单步执行

F8: Step Over

5. Step Into

F7: Step Into

6. Stop

Ctrl + F2: Stop

7. Declaration

right click -> Go To -> Declaration
Ctrl + B: Declaration

8. Appearance

Appearance & Behavior -> Appearance

References

[1] Yongqiang Cheng (程永强), https://yongqiang.blog.csdn.net/