本文主要介紹了spyder的快捷鍵。
常用快捷鍵
快捷鍵 | 中文名稱 |
---|---|
Ctrl+R | 替換文本 |
Ctrl+1 | 單行注釋,單次注釋,雙次取消注釋 |
Ctrl+4 | 塊注釋,單次注釋,雙次取消注釋 |
F5 | 運行程序 |
Ctrl+P | 文件切換 |
Ctrl+L | 清除shell |
Ctrl+I | 查看某個函數的幫助文檔 |
Ctrl+Shift+V | 調出變量窗口 |
Ctrl+up | 回到文檔開頭 |
Ctrl+down | 回到文檔末尾 |
全部快捷鍵
context | name | shortcut | 中文名稱 |
---|---|---|---|
- | close page | Ctrl+Shift +F4 | 關閉頁面 |
- | configure | Ctrl+F6 | 配置 |
- | debug continue | Ctrl+F12 | 繼續調試 |
- | debug exit | Ctrl+Shift+F12 | 調試退出 |
- | debug step into | Ctrl+F11 | 調試進入函數 |
- | debug step over | Ctrl+F10 | 調試跳出函數 |
- | debug step return | Ctrl+Shift+F11 | 調試返回 |
- | debug | Ctrl+F5 | 調試 |
- | file switche | Ctrl+P | 文件切換 |
- | find next | F3 | 查找下一個文件 |
- | find previous | Shift+F3 | 找到以前的文件 |
- | find text | Ctrl+F | 找到文本 |
- | fullscreen mode | F11 | 全屏模式 |
- | hide find and replace | EShiftCtrl | 隱藏查找和替換 |
- | layout preferences | Alt+Shift+P | 布局的設置 |
- | lock unlock panes | Ctrl+Shift+F5 | 鎖解鎖窗格 |
- | maximize pane | Ctrl+Alt+Shift+M | 最大化窗格 |
- | preferneces | Ctrl +Alt +Shift+P | 偏好 |
- | quit | Ctrl +Q | 退出 |
- | re-run last script | F6 | 最后重新運行腳本 |
- | repalce text | Ctrl +R | 替換文本 |
- | restart | Alt +Shift+R | 重新啟動 |
- | run | F5 | 運行 |
- | save current layout | Alt +Shift+ S | 保存當前的布局 |
- | show toolbars | Alt +Shift+T | 顯示工具欄 |
- | spyder documentation | F11 | spyder的文檔 |
- | switch to breakpoints | Ctrl +Shift+B | 切換到斷點 |
- | switch to console | Ctrl +Shift+C | 切換到控制台 |
- | switch to editor | Ctrl +Shift+E | 切換到編輯器 |
- | switch to explorer | Ctrl +Shift+X | 切換到瀏覽器 |
- | switch t find_in_files | Ctrl +Shift+F | 切換到 find_in_files |
- | switch to help | Ctrl +Shift+H | 切換到幫助 |
- | switch to historylog | Ctrl +Shift+L | 切換到historylog |
- | switch to ipython_console | Ctrl +Shift+I | 切換到ipython_console |
- | switch to onlinehelp | Ctrl +Shift+D | 切換到onlinehelp |
- | switch to outline_explorer | Ctrl +Shift+O | 切換到outline_explorer |
- | switch to project_explorer | Ctrl +Shift+P | 切換到project_explorer |
- | switch to variable_explorer | Ctrl +Shift+v | 切換到variable_explorer |
- | symbol finder | Ctrl +Alt +P | 符號查找器 |
- | use next layout | Alt +Shift+PageDoen | 使用下一個布局 |
- | use previous layout | Alt +Shift+PageUp | 使用上一個布局 |
array_builer | enter array inline | Ctrl +Alt +M | 進入array內聯 |
array_builer | enter array table | Ctrl +M | 進入array表 |
console | clear line | Shift+Esc | 清除行 |
console | clear shell | Ctrl +L | 清除shell |
editor | inspect current object | Ctrl +I | 檢查當前對象 |
editor | breakpoint | F12 | 斷點 |
editor | blockcomment | Ctrl +4 | |
editor | close all | Ctrl +Shift+W | 關閉所有 |
editor | close file 1 | Ctrl +W | 關閉文件1 |
editor | close file 2 | Ctrl +F4 | 關閉文件2 |
editor | code completion | Ctrl +Space | 代碼自動完成 |
editor | conditional breakpoint | SF12 | 條件斷點 |
editor | copy line | Ctrl +Alt +Down | 復制行 |
editor | copy line | Ctrl +C | 復制行 |
editor | cut | Ctrl +X | 減少 |
editor | delete line | Ctrl +D | 刪除一行 |
editor | delete line | Del | 刪除一行 |
editor | duplicate line | Ctrl +Alt +Up | 重復的行 |
editor | end of document | Ctrl +Down | 最終的文檔 |
editor | end of line | Meta + E | 每行的最后 |
editor | go to definition | Ctrl +G | 去定義 |
editor | go to line | Ctrl +L | 去行 |
editor | go to next file | Ctrl +Shift+Tab | 去下一個文件 |
editor | go to previous file | Ctrl +Tab | 去之前的文件 |
editor | inspect current object | Ctrl +I | 檢查當前對象 |
editor | kell next word | Meta+D | 清楚下一個單詞 |
editor | kill previous word | Meta+B | 清除上一個單詞 |
editor | kill to line end | Meta+K | 清楚行的終點 |
editor | kill to line start | Meta+U | 清除行的開始 |
editor | last edit location | Ctrl +Alt +Shift+L | 最后編輯位置 |
editor | move line down | Alt +Down | 線向下移動 |
editor | move line up | Alt +Up | 線向上移動 |
editor | new file | Ctrl +N | 新建文件 |
editor | next char | Meta+F | 下一個單詞 |
editor | next cursor position | Ctrl +Alt +Right | 下一個光標位置 |
editor | next line | Meta+N | 下一行 |
editor | next word | Meta+Right | 下一個詞 |
editor | open file | Ctrl +O | 打開的文件 |
editor | open last closed | Ctrl +Shift+T | 打開上次關閉 |
editor | paste | Ctrl +V | 粘貼 |
editor | previous char | Meta+B | 之前的字符 |
editor | previous cursor position | Ctrl +Alt +L | 前一光標位置 |
editor | previous line | Meta+P | 前一行 |
editor | previous word | Meta+L | 以前的單詞 |
editor | redo | Ctrl +Shift+Z | 重做 |
editor | rotate kill ring | Meta+Shift+Y | 旋轉殺死環 |
editor | run cell and advance | Shift+R | 細胞和推進 |
editor | run cell | Ctrl +R | 運行單元 |
editor | run selection | F9 | 選擇運行 |
editor | save all | Ctrl +Alt +S | 保存所有 |
editor | save as | Ctrl +Shift+S | 另存為 |
editor | save file | Ctrl +S | 保存文件 |
editor | select all | Ctrl +A | 選擇所有 |
editor | show/hide outline | Ctrl +Alt +O | 顯示/隱藏輪廓 |
editor | start of document | Ctrl +U | 開始的文檔 |
editor | start of line | Meta+A | 開始行 |
editor | toggle comment | Ctrl +1 | 切換的評論 |
editor | transform to lowercase | Ctrl +U | 轉換為小寫字母 |
editor | transform to uppercaer | Ctrl +Shift+U | 變換大寫字母 |
editor | unblockcomment | Ctrl +F5 | unblockcomment |
editor | undo | Ctrl +Z | 撤銷 |
editor | yank | Meta+Y | 猛拉 |
editor | zoom in 1 | Ctrl ++ | 放大1 |
editor | zoom in 2 | Ctrl += | 放大2 |
editor | zoom out | Ctrl +- | 縮小 |
editor | zoom reset | Ctrl +0 | 變焦重置 |
ipython_console | new tab | Ctrl +T | 新標簽頁 |
ipython_console | reset namespace | Ctrl +Alt+R | 重置名稱空間 |
ipython_console | reset kernel | Ctrl +. | 重置內核 |
profiler | run profiler | F10 | 運行分析器 |
pylint | run analysis | F8 | 運行分析 |
variable_explorer | copy | Ctrl +C | 復制 |