web storm 常用快捷鍵

2021-08-31 20:53:59 字數 729 閱讀 5284

ctrl + shift + n: 開啟工程中的檔案,目的是開啟當前工程下任意目錄的檔案。

ctrl + j: 輸出模板

ctrl + b: 跳到變數申明處

ctrl + alt + t: 圍繞包裹**(包括zencoding的wrap with abbreviation)

ctrl + : 匹配 {}

ctrl + f12: 可以顯示當前檔案的結構

ctrl + x: 剪下(刪除)行,不選中,直接剪下整個行,如果選中部分內容則剪下選中的內容

alt + left/right:標籤切換

ctrl + r: 替換

ctrl + shift + up: 行移動

shift + alt + up: 塊移動(if(){},while(){}語句塊的移動)

ctrl + d: 行複製

ctrl + shift + ]/[: 選中塊**

ctrl + / : 單行注釋

ctrl + shift + / : 塊注釋

ctrl + shift + i : 顯示當前css選擇器或者js函式的詳細資訊

ctrl + 『-/+』: 可以摺疊專案中的任何**塊,它不是選中摺疊,而是自動識別摺疊。

ctrl + 『.』: 摺疊選中的**的**。

shift + esc: 當前啟用的任意小視窗最小化,也可以是alt+數字鍵,數字在小視窗有顯示。

alt + 『7』: 顯示當前的函式結構。

WebStorm常用快捷鍵

查詢 代替 快捷鍵說明 ctrl shift n 通過檔名快速查詢工程內的檔案 必記 ctrl shift alt n 通過乙個字元快速查詢位置 必記 ctrl f 在檔案內快速查詢 f3 查詢下乙個 shift f3 查詢上乙個 ctrl r 檔案內 替換 ctrl shift r 指定目錄內 批...

Webstorm常用快捷鍵

快捷鍵 說明 ctrl shift n通過檔名快速查詢工程內的檔案 必記 ctrl shift alt n通過乙個字元快速查詢位置 必記 ctrl f在檔案內快速查詢 f3查詢下乙個 shift f3查詢上乙個 ctrl r檔案內 替換ctrl shift r指定目錄內 批量替換 ctrl shif...

Webstorm常用快捷鍵

介面操作快捷鍵 說明 ctrl shift n通過檔名快速查詢工程內的檔案 必記 ctrl shift alt n通過乙個字元快速查詢位置 必記 ctrl f在檔案內快速查詢 f3查詢下乙個 shift f3查詢上乙個 ctrl r檔案內 替換 ctrl shift r指定目錄內 批量替換 ctrl...