pycharm快捷键

快捷键 作用
command + j 显示可用的代码模板
command + b 查看函数、类、方法的定义
ctrl + space 万能代码提示快捷键,一下不行按两下
command + alt + l 格式化代码
alt + enter 万能代码修复快捷键
ctrl + / 注释/反注释代码
shift + shift 万能搜索快捷键
command + d / command + y 复制/删除一行代码
command + shift + - / command + shift + + 折叠/展开所有代码
F2 快速定位到错误代码
command+ alt + F7 查看哪些地方用到了指定的函数、类、方法

引用自https://github.com/jackfrued/Python-100-Days/blob/master/番外篇/玩转PyCharm.md

posted @ 2021-11-22 20:24  写代码的小灰  阅读(68)  评论(0)    收藏  举报