Mac PHPStorm快捷鍵總結


全局搜索(command + shift + F)

顯示類中的方法 (command + 7)

函數追蹤 (command +鼠標點擊)

單行注釋/取消(command + /)

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

列出打開的文件(command + e)

刪除當前行(command + x)

復制當前行(command + d)

跳到變量申明處(command + b)

 

 

 

格式化代碼(command + option + l)

關閉當前窗口 (command + w)

項目刷新 (command + option + y)

多行注釋(command + option + /)

查找//@todo標簽(command + 6)

列出左側文件(command + 1)

切換大小寫(command + shift + u)

復制(command + c)

粘貼(command + v)

撤銷(command + z)

 

 

顯示行號

IDE settings->Editor->General->Appearance->Show Line Number

換膚

IDE settings->Editor->Colors & Fonts 下拉框選擇即可。

設置字體大小

IDE settings->Editor->Colors & Fonts->font 設置即可。

配置文件頭默認注釋

IDE settings->Editor->File and Code Templates->PHP File Header。

設置注釋不頂格

IDE settings->Editor->Code Style->PHP 去掉勾 Line comment at first column。

去掉右上角游覽器

IDE settings->tools ->WebBrowsers  去掉選中即可。

PHPStorm + CodeSniffer

設置

IDE settings->Languages & Frameworks->PHP->CodeSniffer-> 配置即可。

選擇編碼規范

IDE settings->Editor->Inspections->PHP->PHP Code Sniffer validation(打鈎) ->Coding Standard 選擇規范(PEAR)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM