PyCharm 常用快捷键
Reference:
最重要的快捷键
shift
+shift
:搜索项目下所有的文件或是内容,包括第三方库的文件;
注释
ctrl
+/
:单行注释;ctrl
+/
:取消注释(在注释行使用);
光标操作
ctrl
+alt
+enter
:向上插入;shift
+enter
:向下插入;end
:光标移动到行尾;
操作代码
ctrl
+d
:复制粘贴一行;ctr
l+``y:删除一行;
查找:
ctrl
+shift
+N
:查找文件(与shift
+shift
类似,但shift
+shift
查找的是所有种类的);ctrl
+shift
+F
:查找内容;ctrl
+F12
:跳转程序内全局变量?
查看:
alt
+1
: 查看项目栏;alt
+6
: 查看 TODO 栏;alt
+F12
: 查看 Terminal 栏;