CODEARTS IDE-基本编辑

时间:2024-04-16 15:05:23

基本编辑

命令

键(CodeArts IDE键盘映射)

键(IDEA键盘映射)

命令ID

行剪切

Shift+Delete

Ctrl+X

Ctrl+X

Shift+Delete

editor.action.clipboardCutAction

行复制

Ctrl+Insert

Ctrl+C

Ctrl+Insert

Ctrl+C

editor.action.clipboardCopyAction

粘贴

Shift+Insert

Ctrl+V

Shift+Insert

Ctrl+V

editor.action.clipboardPasteAction

行删除

Ctrl+Shift+K

Ctrl+Shift+K

editor.action.deleteLines

在下面插入行

Ctrl+Enter

Shift+Enter

Ctrl+Shift+Enter

editor.action.insertLineAfter

在上面插入行

Ctrl+Shift+Enter

Ctrl+Alt+Enter

editor.action.insertLineBefore

下移行

Alt+Down

Shift+Alt+Down

Ctrl+Shift+Down

editor.action.moveLinesDownAction

上移行

Alt+Up

Shift+Alt+Up

Ctrl+Shift+Up

editor.action.moveLinesUpAction

向下复制行

Shift+Alt+Down

Ctrl+D

editor.action.copyLinesDownAction

向上复制行

Shift+Alt+Up

Shift+Alt+Up

editor.action.copyLinesUpAction

撤销

Ctrl+Z

Ctrl+Z

undo

重做

Ctrl+Shift+Z

Ctrl+Y

Ctrl+Shift+Z

Ctrl+Y

redo

将选择添加到下一个查找匹配项

Ctrl+D

Alt+J

editor.action.addSelectionToNextFindMatch

将上一个选择移动到下一个查找匹配项

Ctrl+K Ctrl+D

Ctrl+K Ctrl+D

editor.action.moveSelectionToNextFindMatch

撤消上一次光标操作

Ctrl+U

Shift+Alt+J

cursorUndo

在选定的每行末尾插入光标

Shift+Alt+I

Shift+Alt+I

editor.action.insertCursorAtEndOfEachLineSelected

选择当前选择的所有出现位置

Ctrl+Shift+L

Ctrl+Shift+Alt+J

editor.action.selectHighlights

选择当前单词的所有出现位置

Ctrl+F2

F2

Shift+F6

editor.action.changeAll

选择当前行

Ctrl+L

Ctrl+L

expandLineSelection

将光标插入下方

Ctrl+Alt+Down

Ctrl+Alt+Down

editor.action.insertCursorBelow

将光标插入上方

Ctrl+Alt+Up

Ctrl+Alt+Up

editor.action.insertCursorAbove

跳转到匹配的括号

Ctrl+Shift+\

Ctrl+Shift+\

editor.action.jumpToBracket

缩进线

Ctrl+]

Ctrl+]

editor.action.indentLines

突出线

Ctrl+[

Ctrl+[

editor.action.outdentLines

转到行首

Home

Home

cursorHome

转到行尾

End

End

cursorEnd

转到文件末尾

Ctrl+End

Ctrl+End

cursorBottom

转到文件开头

Ctrl+Home

Ctrl+Home

cursorTop

向下滚动行

Ctrl+Down

Ctrl+Down

scrollLineDown

向上滚动

Ctrl+Up

Ctrl+Up

scrollLineUp

向下滚动页

Alt+Pagedown

Alt+Pagedown

scrollPageDown

向上滚动页

Alt+Pageup

Alt+Pageup

scrollPageUp

折叠(折叠)区域

Ctrl+Shift+[

Ctrl+-

Ctrl+Numpad-

editor.fold

展开(展开)区域

Ctrl+Shift+]

Ctrl+=

Ctrl+Numpad+

editor.unfold

折叠(折叠)所有子区域

Ctrl+K Ctrl+[

Ctrl+Alt+-

Ctrl+Alt+Numpad-

editor.foldRecursively

展开(展开)所有子区域

Ctrl+K Ctrl+]

Ctrl+Alt+=

Ctrl+Alt+Numpad+

editor.unfoldRecursively

折叠(折叠)所有区域

Ctrl+K Ctrl+0

Ctrl+Shift+-

Ctrl+Shift+Numpad-

editor.foldAll

展开(展开)所有区域

Ctrl+K Ctrl+J

Ctrl+Shift+=

Ctrl+Shift+Numpad+

editor.unfoldAll

添加行注释

Ctrl+K Ctrl+C

Ctrl+K Ctrl+C

editor.action.addCommentLine

删除行注释

Ctrl+K Ctrl+U

Ctrl+K Ctrl+U

editor.action.removeCommentLine

切换行注释

Ctrl+/

Ctrl+/

Ctrl+Numpad/

editor.action.commentLine

切换块评论

Shift+Alt+A

Ctrl+Shift+/

Ctrl+Shift+Numpad/

editor.action.blockComment

寻找

Ctrl+F

Ctrl+F

actions.find

代替

Ctrl+H

Ctrl+R

editor.action.startFindReplaceAction

找下一个

F3

Enter

F3

editor.action.nextMatchFindAction

查找上一个

Shift+F3

Shift+Enter

Shift+F3

editor.action.previousMatchFindAction

选择所有出现的查找匹配项

Alt+Enter

Alt+Enter

editor.action.selectAllMatches

Toggle查找区分大小写

Alt+C

Alt+C

toggleFindCaseSensitive

Toggle查找正则表达式

Alt+R

Alt+R

toggleFindRegex

Toggle查找整个单词

Alt+W

Alt+W

toggleFindWholeWord

切换自动换行

Alt+Z

Alt+Z

editor.action.toggleWordWrap

support.huaweicloud.com/usermanual-codeartside/codeartside_01_0304.html