본문 바로가기
프로그래밍/기타

맥 VisualStudioCode 단축키

by kastori 2022. 1. 5.
반응형

- VSCode의 키 바인딩 문서를 참고 하여 만들었습니다. 오역이 있을 수 있습니다.
 

Visual Studio Code Key Bindings

Here you will find the complete list of key bindings for Visual Studio Code and how to change them.

code.visualstudio.com

 

Basic Editing

Command key Command id
절단 선(빈 선택) ⌘X editor.action.clipboardCutAction
줄 복사(빈 선택) ⌘C editor.action.clipboardCopyAction
붙여 넣기 ⌘V editor.action.clipboardPasteAction
라인 삭제 ⇧⌘K editor.action.deleteLines
아래에 줄 삽입 ⌘Enter editor.action.insertLineAfter
위제 줄 삽입 ⇧⌘Enter editor.action.insertLineBefore
줄 아래로 이동 ⌥↓ editor.action.moveLinesDownAction
줄을 위로 이동 ⌥↑ editor.action.moveLinesUpAction
줄 아래로 복사 ⇧⌥↓ editor.action.copyLinesDownAction
라인 복사 ⇧⌥↑ editor.action.copyLinesUpAction
실행 취소 ⌘Z undo
원상태로 돌리다 ⇧⌘Z redo
다음 찾기 일치 항목에 선택 항목 추가 ⌘D editor.action.addSelectionToNextFindMatch
마지막 선택 항목을 다음 일치 항목 찾기로 이동 ⌘K ⌘D editor.action.moveSelectionToNextFindMatch
마지막 커서 작업 실행 취소 ⌘U cursorUndo
선택한 각 줄 끝에 커서 삽입 ⇧⌥I editor.action.insertCursorAtEndOfEachLineSelected
현재 선택 항목의 모든 항목 선택 ⇧⌘L editor.action.selectHighlights
현재 단어의 모든 항목 선택 ⌘F2 editor.action.changeAll
현재 라인 선택 ⌘L expandLineSelection
커서 아래 삽입 ⌥⌘↓ editor.action.insertCursorBelow
커서 위에 삽입 ⌥⌘↑ editor.action.insertCursorAbove
일치하는 대괄호로 이동 ⇧⌘\ editor.action.jumpToBracket
들여쓰기 ⌘] editor.action.indentLines
내어 쓰기 ⌘[ editor.action.outdentLines
시작 줄로 이동 Home cursorHome
행의 끝으로 이동 End cursorEnd
파일 끝으로 이동 ⌘↓ cursorBottom
파일 시작으로 이동 ⌘↑ cursorTop
스크롤 다운 ⌃PageDown scrollLineDown
스크롤 업 ⌃PageUp scrollLineUp
페이지 아래로 스크롤 ⌘PageDown scrollPageDown
페이지 위로 스크롤 ⌘PageUp scrollPageUp
접기 영역 ⌥⌘[ editor.fold
펼치기 영역 ⌥⌘] editor.unfold
모든 소구역 접기 ⌘K ⌘[ editor.foldRecursively
모든 소구역 펼치기 ⌘K ⌘] editor.unfoldRecursively
모든 하위 지역 접기 ⌘K ⌘0 editor.foldAll
모든 하위 영역 펼치기 ⌘K ⌘J editor.unfoldAll
줄 주석 추가 ⌘K ⌘C editor.action.addCommentLine
줄 주석 제거 ⌘K ⌘U editor.action.removeCommentLine
토글 라인 코멘트 ⌘/ editor.action.commentLine
토글 주석 추가 ⇧⌥A editor.action.blockComment
찾기 ⌘F actions.find
바꾸다 ⌥⌘F editor.action.startFindReplaceAction
다음 찾기 Enter editor.action.nextMatchFindAction
이전 찾기 ⇧Enter editor.action.previousMatchFindAction
일치 찾기의 모든 항목 선택 ⌥Enter editor.action.selectAllMatches
토글 대소문자 구분 찾기 ⌥⌘C toggleFindCaseSensitive
토글 정규식 찾기 ⌥⌘R toggleFindRegex
토글 전체 단어 찾기 ⌥⌘W toggleFindWholeWord
포커스 설정을 위한 Tab 키 사용 전환 ⌃⇧M editor.action.toggleTabFocusMode
랜더링 공백 전환 unassigned toggleRenderWhitespace
줄 바꿈 전환 ⌥Z editor.action.toggleWordWrap

 

Rich Languages Editing

Command Key Command id
트리거 제안 ⌃Space editor.action.triggerSuggest
트리거 매개 변수 힌트 ⇧⌘Space editor.action.triggerParameterHints
문서 형식 지정 ⇧⌥F editor.action.formatDocument
형식 선택 ⌘K ⌘F editor.action.formatSelection
정의로 이동 F12 editor.action.revealDefinition
호버 표시 ⌘K ⌘I editor.action.showHover
픽 정의 ⌥F12 editor.action.peekDefinition
측면 정의 열기 ⌘K F12 editor.action.revealDefinitionAside
빠른 수정 ⌘. editor.action.quickFix
참조로 이동 ⇧F12 editor.action.goToReferences
심볼 이름 바꾸기 F2 editor.action.rename
다음 값으로 바꾸기 ⇧⌘. editor.action.inPlaceReplace.down
이전 값으로 바꾸기 ⇧⌘, editor.action.inPlaceReplace.up
AST 선택 확장 ⌃⇧⌘→ editor.action.smartSelect.expand
축소 AST 선택 ⌃⇧⌘← editor.action.smartSelect.shrink
후행 공백 자르기 ⌘K ⌘X editor.action.trimTrailingWhitespace
언어 모드 변경 ⌘K M workbench.action.editor.changeLanguageMode

 

나머진 추후 업데이트 예정..

반응형

댓글