1. 程式人生 > >mac上的webstorm常用快捷鍵

mac上的webstorm常用快捷鍵

command storm href art 格式 delet webstorm alt intellij

快捷鍵+作用
command + d副本當前行或選中的區塊
command + f查找當前文檔
command + g跳轉到文檔的某一行某一列
command + p顯示參數信息
command + r替換當前文檔
command + w選中當前單詞、行、區塊等
command + y刪除整行
command + mouseover顯示主要信息
command + [移動光標到代碼塊前
command + ]移動光標到代碼塊尾
command + +折疊區塊
command + -展開區塊
command + ->光標移到行尾
command + <-光標移到行頭
command + option + t將代碼以某種格式包括起來
command + option + l將代碼格式化
command + shift + u切換大小寫
command + shift + [選中到代碼塊前
command + shift + ]選中到代碼塊尾
command + shift + +折疊所有區塊
command + shift + -展開所有區塊
shift + return 在任意位置換行
control + shift + ffind in path
control + shift + j合並行
control + shift + rreplace in path
option + delete delete to word start
option + fn + delete delete to word end
option + ->以單詞為單位移動光標
option + <-以單詞為單位移動光標

1、webstorm快捷鍵:
IntelliJ-Idea 的快捷鍵
Ctrl+/或Ctrl+Shift+/ 註釋(//或者//)
Shift+F6 重構-重命名
Ctrl+X 刪除行
Ctrl+D 復制行
Ctrl+G 查找行
Ctrl+Shift+Up/Down 代碼向上/下移動。
F2或Shift+F2 高亮錯誤或警告快速定位
寫代碼,按Tab 生成代碼
選中文本,按Ctrl+Shift+F7
高亮顯示所有該文本,按Esc高亮消失。
Ctrl+B 快速打開光標處的類或方法
Ctrl+E 最近打開的文件
Alt+F1 查找代碼所在位置

Ctrl+Alt+L 格式化代碼
Ctrl+R 替換文本
Ctrl+F 查找文本
Ctrl+P 方法參數提示
Ctrl+shift+c 拷貝文件路徑
Ctrl+alt+shift+c 拷貝相關數據 包括路徑和所在行
Ctrl+shift+v 從歷史記錄中粘貼
ctrl+Y 刪除整行
ctrl+shift+enter 新建行
ctrl+alt+enter 在當前行前面新建行

了解更多關於WebStorm Mac

mac上的webstorm常用快捷鍵