子曰:工欲善其事,必先利其器。那么問題來了,前端開發用什么比較好? 我反正用的是webstorm,之前也花了一些時間看看別人的使用方式。下面分類介紹一下。
常用快捷鍵:
- double shift : search everywhere。
- ctrl+shift+Backspace:跳轉到之前編輯的位置
- ctrl+shift+L:格式化代碼。
- ctrl+shift+‘+’:折疊代碼。
- ctrl+shift+‘-’:展開代碼。
- ctrl+shirt+n : goto any file;
- ctrl+n: goto class;
- ctrl+shift+a :相當於sublime里面的ctrl+shift+p;記不住的操作都可以在這里面搜索。
- Ctrl+Shift+<number> to set, Ctrl+<number> to jump there;在代碼里對某一行做標記,可以快速的跳轉。
- ctrl+e : recent files。打開最近編輯過的文件。
- Complete Statement (Ctrl+Shift+Enter);
- ctrl+b : to where it's defined; 跳到申明的地方。
- ctrl+space : pop out hinting dialog 彈出提示框。
- ctrl+shift+v : paste2.0 加強版的粘貼
- shift+f6 : rename variable name;重命名變量
- ctrl+f12 : jump to some location of current file;跳到當前文件的某個位置。
- alt+insert : new file;創建新文件。
常用插件:
- Ace Jump.光標跳轉到你輸入的字符。
- codeglance.類似於sublime右邊的minimap。
- keypromoter:你用鼠標進行某項操作時,如果有快捷鍵,會提示你快捷鍵,如果沒有,操作超過三次以后會提示你設置快捷鍵。相當霸氣。
先這樣吧,以后有新的發現也會持續更新的。如果你有推薦的,也可以留言提示我。
估計也不會更新了,現在改用sublime text了。
