PHP IDE phpstorm 常用快速鍵

來源:互聯網
上載者:User

   這篇文章主要介紹了PHP IDE phpstorm 常用快速鍵,本文分別列出了mac系統和Windows系統下的phpstorm快速鍵,需要的朋友可以參考下

  一、mac電腦phpstorm快速鍵

  command + a 全選

  command + c 複製

  command + v 粘貼

  command + z 撤消

  command + k 程式碼搜尋

  command + l 輸入行號跳到某一行

  command + o 查看一個類的結構

  command + / 單行注釋

  command + e 列出最後開啟的檔案

  ctrl + shift + / 塊注釋

  shift + command + x

  shift + command + r 按檔案名稱搜尋對應檔案所在路徑

  shift + command + t 按類名搜尋對應檔案所在路徑

  shift + command + c 複製當前檔案所在路徑

  選中左側的檔案名稱 shift + f6(mac需要同時按住鍵) 進行檔案重新命名

  二、windows下phpstorm的快速鍵

  ctrl+shift+n尋找檔案

  ctrl+shift+f 在一個目錄裡尋找一段代碼(ctrl+f的升級版)

  ctr+shift+r 在一個目錄裡尋找一段代碼並替換(ctrl+r的升級版)

  CTRL+ALT ←/→ 返回上次編輯的位置

  ALT+ ←/→ 切換程式碼檢視,標籤切換

  ALT+ ↑/↓ 在方法間快速移動定位

  ctrl+j插入活動代碼提示

  ctrl+alt+t當前位置插入環繞代碼

  alt+insert產生代碼菜單

  ctrl+q查看代碼注釋

  ctrl+d複製當前行

  ctrl+y刪除當前行

  shift+F6重新命名

  ctrl+shift+u字母大小寫轉換

  ctrl+f尋找

  ctrl+r替換

  F4查看源碼

  ctrl+shift+i查看變數或方法定義源

  ctrl+g跳轉行

  ctrl+alt+F12跳轉至當前檔案在磁碟上的位置

  alt+down查看下一個方法

  alt+up查看上一個方法

  ctrl+alt+l重新格式化代碼

  ctrl+shift+downstatement向下移動

  ctrl+shift+upstatement向上移動

  alt+shift+downline向下移動

  alt+shift+upline向上移動

  ctrl+/行注釋

  ctrl+shift+/塊注釋

  ctrl+shift+n開啟工程中的檔案

  ctrl+b跳到變數申明處

  ctrl+[]匹配 {}[]

  ctrl+shift+]/[選中塊代碼

  ctrl+x剪下行

  ctrl+shift+v複製多個文本

  alt+left/right標籤切換

  ctrl+p顯示預設參數

  ctrl+F12在當前類檔案裡快速尋找方法

  ————————————————————–

  phpstorm快速鍵:

  // ctrl+shift+n 尋找檔案

  // ctrl+j 插入活動代碼提示

  // ctrl+alt+t 當前位置插入環繞代碼

  // alt+insert 產生代碼菜單

  // ctrl+q 查看代碼注釋

  // ctrl+d 複製當前行

  // ctrl+y 刪除當前行

  // shift+F6 重新命名

  // ctrl+shift+u 字母大小寫轉換

  // ctrl+f 尋找

  // ctrl+r 替換

  // F4 查看源碼

  // ctrl+shift+i 查看變數或方法定義源

  // ctrl+g 跳轉行

  // ctrl+alt+F12 跳轉至當前檔案在磁碟上的位置

  // alt+down 查看下一個方法

  // alt+up 查看上一個方法

  // ctrl+alt+l 重新格式化代碼

  // ctrl+shift+down statement向下移動

  // ctrl+shift+up statement向上移動

  // alt+shift+down line向下移動

  // alt+shift+up line向上移動

  // ctrl+/ 行注釋

  // ctrl+shift+/ 塊注釋

  // ctrl+shift+n 開啟工程中的檔案

  // ctrl+b 跳到變數申明處

  // ctrl+[] 匹配 {}[]

  // ctrl+shift+]/[ 選中塊代碼

  ….

  // ctrl+x 剪下行

  // ctrl+shift+v 複製多個文本

  // alt+left/right 標籤切換

  // ctrl+p 顯示預設參數

  // ctrl+F12 在當前類檔案裡快速尋找方法

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.