Pycharm常用快捷鍵

2021-10-07 10:51:34 字數 677 閱讀 9195

常用快捷鍵

ctrl + /

注釋ctrl + y

刪除當前行

ctrl + alt + l

**格式化

ctrl + d

複製選中的區域

shift + enter

換行ctrl + shift + -

摺疊全部**塊

ctrl + shift + +

開啟摺疊的全部**塊

ctrl + b

跳轉到模組定義位置

alt + up/down

方法上移或下移

alt + shift + up/down

當前行上移或下移

ctrl + w

選中**

shift + f6

修改檔名

ctrl + e

最近訪問的檔案

ctrl+shift+f

高階查詢

ctrl + shift + j

合併行(適用於換行**)

ctrl + shift + v

從最近的快取區里貼上

ctrl + delete

刪除到字元結尾

ctrl + shift + f4

關閉主動執行的選項卡

ctrl+shift+backspace

導航到最近編輯區域

pycharm常用快捷鍵

快捷鍵 說明tab 為選中行整體新增縮排 shift tab 為選中行整體去除縮排 ctrl 給選中的行全部加上 去掉注釋 ctrl d 複製並產生當前行或選中行 ctrl a 全選ctrl c 複製ctrl v 貼上ctrl x 剪下ctrl y 刪除當前行或選中行 ctrl z 回退操作 ctr...

pycharm常用快捷鍵

對齊 快捷鍵組合是 ctrl alt l 注釋 ctrl 設定 取消斷點 ctrl f8 ctrl w 選中當前單詞,繼續按,選中它所屬的行 if 方法.更改變數 方法名字 shift f6 進入 定義 ctrl 懸浮 單擊滑鼠左鍵 外部文件,進入web文件主頁 shift f1 alt enter...

Pycharm常用快捷鍵

ctrl d 複製選定的區域或行 ctrl y 刪除選定的行 ctrl alt l 格式化 ctrl alt o 優化匯入 去掉用不到的包匯入 ctrl 滑鼠 簡介 進入 定義 ctrl 行注釋 取消注釋 ctrl 左方括號 快速跳到 開頭 ctrl 右方括號 快速跳到 末尾 shift f10 執...