PHPSTORM 經常使用快捷鍵

1,從版本控制系統建立項目:html

CVS -> Checkout from Version Control前端

 

2, 關聯DOC文檔:瀏覽器

右鍵External Librariese -> Configure PHP include pathsapp

 

3, 去掉波浪線:函數

settings -> Editor -> Colors & Fonts -> General -> TYPO->Effectsspa

 

4, 顯示行號:插件

settings -> Editor->Appearance->Show line numbers 命令行

 

5,遠程或本地同步文件:版本控制

Tools -> Deploments -> Configurationorm

 

6, 去掉右上角瀏覽器圖標:

settings -> tools -> WebBrowsers

 

7, 添加VIM插件:

settings->editor ->plugins->browse repositories ->搜索VIM

 

8,啓動的時候不打開工程文件

Settings->General去掉Reopen last project on startup.

 

9, 取消自動保存

appearance -> system settings -> save file的兩個選項 去掉

 

10, 將編輯的文件加星號標識:

settings -> editor -> editor tabs -> 勾選 mark modifed tabs…

 

11, 添加擴展名高亮顯示:

settings -> editor -> file types  

 

 

經常使用快捷鍵:

 

 

command + option + l    將代碼格式化

command + shift + u    切換大小寫

command + shift + + / command + shift + -     摺疊/展開全部區塊

command + e     列出最後打開的文件

control + tab  / control + shift + tab     切換打開的文件

command + /     行註釋

ctrl + shift + /      塊註釋

command + b     函數追蹤,command +單擊

command + alt + 左右箭頭      操做動做前進/回退

shift + command + r      按文件名搜索對應文件所在路徑

shift + command + t      按類名搜索對應文件所在路徑

shift + command + c      複製當前文件所在路徑

Command + Shift + O     打開文件

Command + O          打開類

alt + F1        定位編輯文件所在位置:

alt + F12        打開命令行欄

command + shift + f 全局搜索

 

 

  1. 最近編輯:Ctrl+E。能夠快速打開你最近編輯的文件。

     

    PhpStorm中文教程
  2. 3

    代碼分界線:打開File | Setting | Editor,選擇Appearance下面的Show Method Separators。它會將你的代碼按方法,用灰色線框進行智能分割。你還能夠使用:alt+↑或↓,在方法之間進行跳轉。

    PhpStorm中文教程
  3. 4

    代碼輸入提示:IDE基於系統函數庫,關聯項目文件的方法名,當前文件內容,內部文件路徑(使用【Ctrl+空格】補全)進行代碼提示。

  4. 5

    粘貼板:使用Ctrl+Shift+V。能夠選擇須要粘貼的最近內容。

  5. 6

    皮膚切換:Ctrl+反引號,能夠快速切換皮膚。

  6. 7

    快速查看樣式:在HTML標籤上進行右鍵,選擇Show Applied Styles For Tag。能夠快速查看該標籤應用的樣式。相似於前端開發工程師經常使用的firebug。

     

    PhpStorm中文教程
  7. 8

    查找和替換:當前文件中的文本查找和替換使用Ctrl+F和Ctrl+R;

相關文章
相關標籤/搜索