Pycharm基本配置

1. 快捷键修改

修改部分快捷键,保持和RStudio一致,以便操作

1.1. 注释-Comment with Line Comment

原:Ctrl+\
现:Ctrl+Shift+C

1.2.单行执行-Execute selection in console

原:Alt+Shift+E
现:Ctrl+Enter

1.3.代码格式化-Reformat Code

原:Ctrl+Alt+L
现:Ctrl+Shift+A

1.4.路径自动补全

一直没找到合适的路径不全方式,给个相对方便的操作
左边栏找到对应文件,右击–copy relative path,完了自己复制即可

1.5.关闭拼写检查

setting–>Inspections–>Spelling–>Typo
取消勾选

2 代码补全

首先要取消Power Save Mode
此时会出现命令窗口能补全变量的方法,但是编辑窗口不能。
Settings–>Inspections–>Python&Spelling打钩–>Severity–>Typo打钩
picture1

猜你喜欢

转载自blog.csdn.net/wendaomudong_l2d4/article/details/80876871