1. 程式人生 > >webstorm設置自定義代碼快捷鍵

webstorm設置自定義代碼快捷鍵

emp bre ash react 快捷 vue file apply das

1.file——》setting——》Editor——》live Templates出現如下界面

技術分享圖片

2.點擊左上角綠色+選擇template group創建分組(圖中React Vue都是分組)

3.鼠標左擊新出現的分組,繼續點擊綠色+選擇Live template

  abbreviation代表呼出的快捷鍵方式

  description是描述信息

  template text內放代碼

4.點擊apply和ok完成

webstorm設置自定義代碼快捷鍵