Spyder-快捷键大全-路羽博客-第1张图片

Spyder-快捷键大全

Spyder-快捷键大全-路羽博客-第2张图片

作者: 路羽

原创资源分享博客

Spyder-快捷键大全-路羽博客-第3张图片微信小程序

路羽博客 资源分享

Spyder——科学的Python开发环境

本文介绍了Spyder常见的快捷键,从spyder的配置表中导出,中文名称为直译。

常用快捷键

快捷键中文名称
Ctrl+R替换文本
Ctrl+1单行注释,单次注释,双次取消注释
Ctrl+4块注释,单次注释,双次取消注释
F5运行程序
Ctrl+P文件切换
Ctrl+L清除shell
Ctrl+I查看某个函数的帮助文档
Ctrl+Shift+V调出变量窗口
Ctrl+up回到文档开头
Ctrl+down回到文档末尾

全部快捷键

contextnameshortcut中文名称
-close pageCtrl+Shift +F4关闭页面
-configureCtrl+F6配置
-debug continueCtrl+F12继续调试
-debug exitCtrl+Shift+F12调试退出
-debug step intoCtrl+F11调试进入函数
-debug step overCtrl+F10调试跳出函数
-debug step returnCtrl+Shift+F11调试返回
-debugCtrl+F5调试
-file switcheCtrl+P文件切换
-find nextF3查找下一个文件
-find previousShift+F3找到以前的文件
-find textCtrl+F找到文本
-fullscreen modeF11全屏模式
-hide find and replaceEShiftCtrl隐藏查找和替换
-layout preferencesAlt+Shift+P布局的设置
-lock unlock panesCtrl+Shift+F5锁解锁窗格
-maximize paneCtrl+Alt+Shift+M最大化窗格
-prefernecesCtrl +Alt +Shift+P偏好
-quitCtrl +Q退出
-re-run last scriptF6最后重新运行脚本
-repalce textCtrl +R替换文本
-restartAlt +Shift+R重新启动
-runF5运行
-save current layoutAlt +Shift+ S保存当前的布局
-show toolbarsAlt +Shift+T显示工具栏
-spyder documentationF11spyder的文档
-switch to breakpointsCtrl +Shift+B切换到断点
-switch to consoleCtrl +Shift+C切换到控制台
-switch to editorCtrl +Shift+E切换到编辑器
-switch to explorerCtrl +Shift+X切换到浏览器
-switch t find_in_filesCtrl +Shift+F切换到 find_in_files
-switch to helpCtrl +Shift+H切换到帮助
-switch to historylogCtrl +Shift+L切换到historylog
-switch to ipython_consoleCtrl +Shift+I切换到ipython_console
-switch to onlinehelpCtrl +Shift+D切换到onlinehelp
-switch to outline_explorerCtrl +Shift+O切换到outline_explorer
-switch to project_explorerCtrl +Shift+P切换到project_explorer
-switch to variable_explorerCtrl +Shift+v切换到variable_explorer
-symbol finderCtrl +Alt +P符号查找器
-use next layoutAlt +Shift+PageDoen使用下一个布局
-use previous layoutAlt +Shift+PageUp使用上一个布局
array_builerenter array inlineCtrl +Alt +M进入array内联
array_builerenter array tableCtrl +M进入array表
consoleclear lineShift+Esc清除行
consoleclear shellCtrl +L清除shell
editorinspect current objectCtrl +I检查当前对象
editorbreakpointF12断点
editorblockcommentCtrl +4 
editorclose allCtrl +Shift+W关闭所有
editorclose file 1Ctrl +W关闭文件1
editorclose file 2Ctrl +F4关闭文件2
editorcode completionCtrl +Space代码自动完成
editorconditional breakpointSF12条件断点
editorcopy lineCtrl +Alt +Down复制行
editorcopy lineCtrl +C复制行
editorcutCtrl +X减少
editordelete lineCtrl +D删除一行
editordelete lineDel删除一行
editorduplicate lineCtrl +Alt +Up重复的行
editorend of documentCtrl +Down最终的文档
editorend of lineMeta + E每行的最后
editorgo to definitionCtrl +G去定义
editorgo to lineCtrl +L去行
editorgo to next fileCtrl +Shift+Tab去下一个文件
editorgo to previous fileCtrl +Tab去之前的文件
editorinspect current objectCtrl +I检查当前对象
editorkell next wordMeta+D清楚下一个单词
editorkill previous wordMeta+B清除上一个单词
editorkill to line endMeta+K清楚行的终点
editorkill to line startMeta+U清除行的开始
editorlast edit locationCtrl +Alt +Shift+L最后编辑位置
editormove line downAlt +Down线向下移动
editormove line upAlt +Up线向上移动
editornew fileCtrl +N新建文件
editornext charMeta+F下一个单词
editornext cursor positionCtrl +Alt +Right下一个光标位置
editornext lineMeta+N下一行
editornext wordMeta+Right下一个词
editoropen fileCtrl +O打开的文件
editoropen last closedCtrl +Shift+T打开上次关闭
editorpasteCtrl +V粘贴
editorprevious charMeta+B之前的字符
editorprevious cursor positionCtrl +Alt +L前一光标位置
editorprevious lineMeta+P前一行
editorprevious wordMeta+L以前的单词
editorredoCtrl +Shift+Z重做
editorrotate kill ringMeta+Shift+Y旋转杀死环
editorrun cell and advanceShift+R细胞和推进
editorrun cellCtrl +R运行单元
editorrun selectionF9选择运行
editorsave allCtrl +Alt +S保存所有
editorsave asCtrl +Shift+S另存为
editorsave fileCtrl +S保存文件
editorselect allCtrl +A选择所有
editorshow/hide outlineCtrl +Alt +O显示/隐藏轮廓
editorstart of documentCtrl +U开始的文档
editorstart of lineMeta+A开始行
editortoggle commentCtrl +1切换的评论
editortransform to lowercaseCtrl +U转换为小写字母
editortransform to uppercaerCtrl +Shift+U变换大写字母
editorunblockcommentCtrl +F5unblockcomment
editorundoCtrl +Z撤销
editoryankMeta+Y猛拉
editorzoom in 1Ctrl ++放大1
editorzoom in 2Ctrl +=放大2
editorzoom outCtrl +-缩小
editorzoom resetCtrl +0变焦重置
ipython_consolenew tabCtrl +T新标签页
ipython_consolereset namespaceCtrl +Alt+R重置名称空间
ipython_consolereset kernelCtrl +.重置内核
profilerrun profilerF10运行分析器
pylintrun analysisF8运行分析
variable_explorercopyCtrl +C复制
本文最后更新于2022-8-31,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!
分享到:
未经允许不得转载:

作者: 路羽, 转载或复制请以 超链接形式 并注明出处 路羽博客
原文地址: 《Spyder-快捷键大全》 发布于2022-8-31

评论

          
       
切换注册

登录

忘记密码?

您也可以使用第三方帐号快捷登录

切换登录

注册

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏