現(xiàn)在把一些使用技巧記錄下來,免得到時候忘了再查:
1,從版本控制系統(tǒng)創(chuàng)建項目:
CVS -> Checkout from Version Control
2, 關(guān)聯(lián)DOC文檔:
右鍵External Librariese -> Configure PHP include paths
3, 去掉波浪線:
settings -> Editor -> Colors & Fonts -> General -> TYPO->Effects
4, 顯示行號:
settings -> Editor->Appearance->Show line numbers
5,遠程或本地同步文件:
Tools -> Deploments -> Configuration
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 + -? ? 折疊/展開所有區(qū)塊
command + e? ? 列出最后打開的文件
control + tab? / control + shift + tab? ? 切換打開的文件
command + /? ? 行注釋
ctrl + shift + /? ? ? 塊注釋
command + b? ? 函數(shù)追蹤,同command +單擊
command + alt + 左右箭頭? ? ? 操作動作前進/回退
shift + command + r? ? ? 按文件名搜索對應文件所在路徑
shift + command + t? ? ? 按類名搜索對應文件所在路徑
shift + command + c? ? ? 復制當前文件所在路徑
Command + Shift + O? ? 打開文件
Command + O? ? ? ? ? 打開類
alt + F1? ? ? ? 定位編輯文件所在位置:
alt + F12? ? ? ? 打開命令行欄
command + shift + f 全局搜索