Spyder的快捷键

xiaoxiao2021-03-01  47

spyder 快捷键

本文主要介绍了spyder的快捷键。

常用快捷键

 

快捷键中文名称Ctrl+R替换文本Ctrl+1单行注释,单次注释,双次取消注释Ctrl+4块注释,单次注释,双次取消注释F5运行程序Ctrl+P文件切换Ctrl+L清除shellCtrl+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清除shelleditorinspect current objectCtrl +I检查当前对象editorbreakpointF12断点editorblockcommentCtrl +4 editorclose allCtrl +Shift+W关闭所有editorclose file 1Ctrl +W关闭文件1editorclose file 2Ctrl +F4关闭文件2editorcode 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 +F5unblockcommenteditorundoCtrl +Z撤销editoryankMeta+Y猛拉editorzoom in 1Ctrl ++放大1editorzoom in 2Ctrl +=放大2editorzoom outCtrl +-缩小editorzoom resetCtrl +0变焦重置ipython_consolenew tabCtrl +T新标签页ipython_consolereset namespaceCtrl +Alt+R重置名称空间ipython_consolereset kernelCtrl +.重置内核profilerrun profilerF10运行分析器pylintrun analysisF8运行分析variable_explorercopyCtrl +C复制

 

 虽然在实际生产中,python开发人员使用pycharm多一点,但其实当大家的开发水平达到一定程度之后,再去使用它也不迟,毕竟pycharm和spyder的整体使用方法都相差不大,而且从anaconda中添加第三方模块要方便快捷的多,所以先使用spyder是一个不错的选择。

 

原文地址:http://www.cnblogs.com/zrmw/p/9288956.html

转载请注明原文地址: https://www.6miu.com/read-4150084.html

最新回复(0)