PyCharm 基本操作

来源:互联网 发布:网络架构培训 编辑:程序博客网 时间:2024/05/16 19:12

PyCharm 基本操作

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