LayaAir 代碼模式快捷鍵

常用快捷鍵(General)

按 鍵(Press)功能( Function)

Ctrl + Shift + P,F(xiàn)1顯示命令面板Show Command? Palette

Ctrl + P快速打開Quick Open

Ctrl + Shift + N新窗口/實(shí)例New window/instance

Ctrl + Shift + W關(guān)閉窗口/實(shí)例Close window/instance

Ctrl+X剪切行(空選定)Cut line? (empty selection)

Ctrl+C復(fù)制行(空選定)Copy line? (empty selection)

Alt+ ↑ / ↓向上/向下移動行Move line up/down

Shift+Alt + ↓ / ↑向上/向下復(fù)制行Copy line up/down

Ctrl+Shift+K刪除行Delete line

Ctrl+Enter在下面插入行Insert line? below

Ctrl+Shift+Enter在上面插入行Insert line? above

Ctrl+Shift+\跳到匹配的括號Jump to? matching bracket

Ctrl+] / [縮進(jìn)/縮進(jìn)行Indent/outdent line

Home轉(zhuǎn)到行首Go to beginning? of line

End轉(zhuǎn)到行尾Go to end of? line

Ctrl+Home轉(zhuǎn)到文件開頭Go to? beginning of file

Ctrl+End轉(zhuǎn)到文件末尾Go to end of? file

Ctrl+↑ / ↓向上/向下滾動行Scroll line up/down

Alt+PgUp / PgDown向上/向下滾動頁面Scroll page up/down

Ctrl+Shift+[折疊(折疊)區(qū)域Fold? (collapse) region

Ctrl+Shift+]展開(未折疊)區(qū)域Unfold? (uncollapse) region

Ctrl+K Ctrl+[折疊(未折疊)所有子區(qū)域Fold? (collapse) all subregions

Ctrl+K Ctrl+]展開(未折疊)所有子區(qū)域Unfold? (uncollapse) all subregions

Ctrl+K Ctrl+0折疊(折疊)所有區(qū)域Fold? (collapse) all regions

Ctrl+K Ctrl+J展開(未折疊)所有區(qū)域Unfold? (uncollapse) all regions

Ctrl+K Ctrl+C添加行注釋Add line? comment

Ctrl+K Ctrl+U刪除行注釋Remove line? comment

Ctrl+/切換行注釋Toggle line? comment

Shift+Alt+A切換塊注釋Toggle block? comment

Alt+Z切換換行Toggle word wrap

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

友情鏈接更多精彩內(nèi)容