phpstorm 預設快速鍵的使用

來源:互聯網
上載者:User

標籤:phpstorm編輯器快速鍵使用

ctrl+j            插入活動代碼提示
ctrl+alt+t        當前位置插入環繞代碼
alt+insert        產生代碼菜單
Shift + Enter 新一行
ctrl+q            查看代碼注釋
ctrl+d            複製當前行
ctrl+y            刪除當前行

ctrl+alt+y      重新整理項目緩衝Synchronize 或檔案夾右鍵Synchronize
shift+F6          重新命名
ctrl+shift+u      字母大小寫轉換
ctrl+f            尋找
ctrl+r            替換
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 + Z:redo

Ctrl + Shift + F:地區尋找
ctrl+shift+n      開啟工程中的檔案
ctrl+b            跳到變數申明處
ctrl+[]           匹配 {}[]
ctrl+shift+]/[    選中塊代碼<table>....</table>
ctrl+x            剪下行
ctrl+shift+v      複製多個文本
alt+left/right    標籤切換
ctrl+p            顯示預設參數

ctrl + ‘-/+‘: 可以摺疊項目中的任何代碼塊

 

修改使用phpstorm建立的模板的預設注釋
650) this.width=650;" src="http://dl2.iteye.com/upload/attachment/0119/5168/6c4bccb1-33e1-3c65-840a-d51d8cffddbb.png" title="點擊查看原始大小圖片" class="magplus" width="700" height="294" />
 

phpstorm如何設定多重專案

開啟setting->project->Directories


phpstorm 預設快速鍵的使用

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.