webstrom命令大全
Ctrl + Space:
Basic code completion (the name of any class, method or variable) 基本代碼完成(任何類(lèi)、函數(shù)或者變量名稱),改為Alt+SCtrl + Shift + Enter:
Complete statement 補(bǔ)全當(dāng)前語(yǔ)句Ctrl + P:
Parameter info (within method call arguments) 參數(shù)信息 包括方法調(diào)用參數(shù)Ctrl + mouse over code
Brief Info 簡(jiǎn)單信息Ctrl + F1
Show description of error or warning at caret 顯示光標(biāo)所在位置的錯(cuò)誤信息或者警告信息Alt + Insert
Generate code…(Getters, Setters, Constructors)新建一個(gè)文件或者生成代碼,…構(gòu)造函數(shù),可以創(chuàng)建類(lèi)里面任何字段的getter與setter方法Ctrl + O
Override methods 重載方法Ctrl + I
Implement methods 實(shí)現(xiàn)方法Ctrl + Alt + T
Surround with…(if, else, try, catch, for, etc)用 * 來(lái)圍繞選中的代碼行,( * 包括 if 、 while 、 try catch 等)Ctrl + /
Comment/uncomment with line comment 行注釋/取消行注釋Ctrl + Shift + /
Comment/uncomment with block comment 塊注釋/取消塊注釋Ctrl + W
Select successively increasing code blocks 選擇代碼塊,一般是增量選擇Ctrl + Shift + W
Decrease current selection to previous state 上個(gè)快捷鍵的回退,減量選擇代碼Alt + Q
Context info 上下文信息Alt + Enter
Show intention actions and quick-fixes 意圖行動(dòng),快速見(jiàn)效Ctrl + Alt + L
Reformat code 根據(jù)模板格式對(duì)代碼格式化Tab/ Shift + Tab
Indent/unindent selected lines 對(duì)所選行進(jìn)行縮排處理/撤銷(xiāo)縮排處理Ctrl + X or Shift + Delete
Cut current line or selected block to clipboard 剪切當(dāng)前行或所選代碼塊到剪切板Ctrl + C or Ctrl + Insert
Copy current line or selected block to chipboard 拷貝當(dāng)前行或者所選代碼塊到剪切板Ctrl + V or Shift + Insert
Paste from clipboard 粘貼剪切板上的內(nèi)容Ctrl + Shift + V
Paste from recent buffers 粘貼緩沖器中最新的內(nèi)容Ctrl + D
Duplicate current line or selected block 復(fù)制當(dāng)前行或者所選代碼塊Ctrl + Y
Delete line at caret 刪除光標(biāo)所在位置行Ctrl + Shift + J
Smart line join(HTML and JavaScript only)加入智能行 (HTML 和JavaScript)Ctrl + Enter
Smart line split(HTML and JavaScript only)分離智能行 (HTML 和JavaScript)Shift + Enter
Start new line 另起一行Ctrl + Shift + U
Toggle case for word at caret or selected block 光標(biāo)所在位置大小寫(xiě)轉(zhuǎn)換Ctrl + Shift + ]/[
Select till code block end/start 選擇直到代碼塊結(jié)束/開(kāi)始Ctrl + Delete
Delete to word end 刪除文字結(jié)束Ctrl + Backspace
Delete to word start 刪除文字開(kāi)始Ctrl + NumPad+/-
Expand/collapse code block 擴(kuò)展/縮減代碼塊Ctrl + Shift+ NumPad+
Expand all 擴(kuò)張所有Ctrl + Shift+ NumPad-
Collapse 縮減所有Ctrl + F4
Close active editor tab 關(guān)閉活躍編輯標(biāo)簽
Search/replace搜索/替代相關(guān)快捷鍵
Ctrl + F
Find 當(dāng)前文件內(nèi)快速查找代碼Ctrl + Shift + F
Find in path 指定文件內(nèi)尋找路徑F3
Find next 查找下一個(gè)Shift + F3
Find previous 查找上一個(gè)Ctrl + R
Replace 當(dāng)前文件內(nèi)代碼替代Ctrl + Shift + R
Replace in path 指定文件內(nèi)代碼批量替代
Usage Search搜索相關(guān)快捷鍵
Alt + F7/Ctrl + F7
Find usages/Find usages in file 找到使用/在文件找到使用Ctrl + Shift + F7
Highlight usages in file文件中精彩使用Ctrl + Alt + F7
Show usages 顯示使用
Running運(yùn)行
Alt + Shift + F10
Select configuration and run 選擇構(gòu)架,運(yùn)行Alt + Shift + F9
Select configuration and debug 選擇構(gòu)架,修補(bǔ)漏洞Shift + F10
Run 運(yùn)行Shift + F9
Debug 修補(bǔ)漏洞Ctrl + Shift + F10
Run context configuration from editor 從編輯運(yùn)行內(nèi)容構(gòu)架Ctrl + Shift + X
Run command line 運(yùn)行命令行
Debugging Debugging相關(guān)快捷鍵
F8
Step over 不進(jìn)入函數(shù)F7
Step into 單步執(zhí)行Shift + F7
Smart step into 智能單步執(zhí)行Shift + F8
Step out 跳出Alt + F9
Run to cursor 運(yùn)行到光標(biāo)處Alt+ F8
Evaluate expression 評(píng)估表達(dá)F9
Resume program 重新開(kāi)始程序Ctrl + F8
Toggle breakpoint 切換斷點(diǎn)Ctrl + Shift + F8
View breakpoints 查看斷點(diǎn)
Navigation 定位相關(guān)快捷鍵
Ctrl + N
Go to class跳轉(zhuǎn)到指定類(lèi)Ctrl + Shift + N
Go to file 通過(guò)文件名快速查找工程內(nèi)的文件Ctrl + Alt +Shift + N
Go to symbol 通過(guò)一個(gè)字符查找函數(shù)位置Alt + Right/ left
Go to next/ previous editor tab 進(jìn)入下一個(gè)/ 上一個(gè)編輯器選項(xiàng)F12
Go back to previous tool window 進(jìn)入上一個(gè)工具窗口Esc
Go to editor(from tool window) 從工具窗口進(jìn)入編輯器Shift + Esc
Hide active or last active window 隱藏活動(dòng)窗口Ctrl + Shift + F4
Close active run/message/find/…tab 關(guān)閉活動(dòng)….標(biāo)簽Ctrl + G
Go to line 跳轉(zhuǎn)到第幾行Ctrl + E
Recent files popup 彈出最近打開(kāi)的文件Ctrl + Alt + Left/Right
Navigate back/forward 導(dǎo)航前進(jìn)/后退Ctrl + Shift + Backspace
Navigate to last edit location 向最近編輯定位導(dǎo)航Alt + F1
Select current file or symbol in any view 查找當(dāng)前選中的代碼或文件在其他界面模塊的位置Ctrl + B or Ctrl + Click
Go to declaration跳轉(zhuǎn)到定義處Ctrl + Alt + B
Go to implementation(s) 跳轉(zhuǎn)方法實(shí)現(xiàn)處Ctrl + Shift + B
Go to type declaration 跳轉(zhuǎn)方法定義處Ctrl + Shift + I
Open quick definition lookup 打開(kāi)定義快速查找Ctrl + U
Go to super-method/super-class 跳轉(zhuǎn)方法/超階級(jí)Alt + Up/Down
Go to previous/next method 在方法間快速移動(dòng)定位Ctrl + ]/[
Move to code block end/start 跳轉(zhuǎn)到編碼塊結(jié)束/開(kāi)始Ctrl + F12
File structure popup 文件結(jié)構(gòu)彈出Ctrl + H
Type hierarchy 類(lèi)型層次Ctrl + Alt + H
Call hierarchy 調(diào)用層次結(jié)構(gòu)F2/ Shift + F2
Next/previous highlighted error 跳轉(zhuǎn)到后一個(gè)/前一個(gè)錯(cuò)誤,高亮錯(cuò)誤或警告快速定位,使用這個(gè)快捷鍵可以快捷在出錯(cuò)的語(yǔ)句之間進(jìn)行跳轉(zhuǎn)。F4/Ctrl + Enter
Edit source/ View source 編輯源代碼/查看源代碼Alt + Home
Show navigation bar 顯示導(dǎo)航欄F11
Toggle bookmark 切換標(biāo)記Ctrl + F11
Toggle bookmark with mnemonic 采用記憶切換標(biāo)記Ctrl + #[0-9]
Go to numbered bookmark 跳轉(zhuǎn)到帶編號(hào)的標(biāo)記Shift + F11
Show bookmark 顯示標(biāo)記
Refactoring 重構(gòu)相關(guān)快捷鍵
F5
Copy 拷貝F6
Move 移動(dòng)Alt + Delete
Safe Delete 安全刪除Shift + F6
Rename 重新命名Ctrl + Alt + N
Inline Variable 嵌入變量Ctrl + Alt + M
Extract Method( Javascript only) 提取函數(shù)Ctrl + Alt + V
Introduce Variable 引入變量Ctrl + Alt + F
Introduce Field 引入域Ctrl + Alt + C
Introduce Constant 引入常量
VCS/Local History 版本控制系統(tǒng)/ 本地歷史相關(guān)快捷鍵
Alt + BackQuote( )
‘VCS’quick popup 快速?gòu)棾?VCSCtrl + K
Commit project to VCS 提交項(xiàng)目至VCSCtrl + T
Update project from VCS 從VCS 更新項(xiàng)目Alt + Shift + C
View recent changes 查看最新改變
General 常用的相關(guān)快捷鍵
Ctrl + Shift +A
Find action 查找并調(diào)用編輯器的功能Alt + #[0-9]
Open corresponding tool window 快速切換打開(kāi)界面模塊Ctrl + Alt + F11
Toggle full screen mode 切換全屏模式Ctrl + Shift + F12
Toggle maximizing editor 切換最大化編輯器Alt + Shift + F
Add to Favorites 將當(dāng)前文件添至收藏夾Alt + Shift + I
Inspect current file with current profile 使用當(dāng)前屬性檢查當(dāng)前文件Ctrl + BackQuote( )
Quick switch current scheme 快速轉(zhuǎn)換現(xiàn)有組合Ctrl + Alt + S
Open setting dialog 打開(kāi)設(shè)置對(duì)話框Ctrl + Tab
Switch between tabs and tool window 標(biāo)簽和工具窗的轉(zhuǎn)換(與windows快捷鍵沖突)
總結(jié)
以上是生活随笔為你收集整理的webstrom命令大全的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 浅述如何正确维护恒温恒湿试验箱
- 下一篇: 戴安液相色谱仪是一种现代化的高性能分析工