pycharm windows 常用快捷键

ctrl+/ 注释
ctrl+alt+L 格式化代码
ctrl+alt+O 优化导入
shift + f6 重命名
alt + enter 万能键 自动导包,自动修改
alt + f12 打开终端
ctrl + b 跳转到函数定义
shift+enter在下方新建行
ctrl+alt+enter在上方新建行
ctrl +d 复制选中的区域
ctrl+ y 删除
ctrl+e/ tab 在最近使用的文件中切换
alt + 1 选中目录
ctrl + z 撤销
ctrl + shift+ z 反撤销

ctrl + shift + f10 运行
shift+f9 调试
f8 单步调试
f7 进入函数里调试
ctrl+ f8 在当前行加断点开关

ctrl + shift+ f 全局搜索
ctrl + shift + r 全局替换
ctrl+f 当前文件搜索
ctrl + r 当前文件替换
ctrl + shift + n 根据文件名搜索文件
双击shift 根据文件名搜索文件

ctrl + w 选中单词,继续就选中本句、代码
ctrl+shift+U 大小写转换
shift + 上/下 向上/下选中代码
ctrl+shiflt + 上/下 上下移动代码
tab 向右缩进
shift + tab 向左缩进

ctrl + g 跳到具体某一行
home 行首
end 行尾
ctrl+home 跳到文件首
ctrl+ end 跳到文件尾
ctrl + [ 跳到代码块开头
ctrl + ] 跳到代码块末尾

版权声明:
作者:dingding
链接:https://www.techfm.club/p/132263.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>