VS 코드 단축키
종합 Visual Studio 모든 플랫폼에서 향상된 생산성을 위한 코드 단축키 및 워크플로우.
일반 단축키
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | Ctrl+Shift+P
| Cmd+Shift+P
| Show Command Palette | |
| | Ctrl+P
| Cmd+P
| Quick Open (Go to File) | |
| | Ctrl+Shift+N
| Cmd+Shift+N
| New Window | |
| | Ctrl+Shift+W
| Cmd+Shift+W
| Close Window | |
| | Ctrl+N
| Cmd+N
| New File | |
| | Ctrl+O
| Cmd+O
| Open File | |
| | Ctrl+S
| Cmd+S
| Save | |
| | Ctrl+Shift+S
| Cmd+Shift+S
| Save As | |
| | Ctrl+K S
| Cmd+K S
| Save All | |
| | Ctrl+W
| Cmd+W
| Close File | |
| | Ctrl+K Ctrl+W
| Cmd+K Cmd+W
| Close All | |
| | Ctrl+Z
| Cmd+Z
| Undo | |
| | Ctrl+Y
| Cmd+Shift+Z
| Redo | |
- 연혁
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | Ctrl+G
| Cmd+G
| Go to Line | |
| | Ctrl+Shift+O
| Cmd+Shift+O
| Go to Symbol | |
| | Ctrl+T
| Cmd+T
| Show All Symbols | |
| | F12
| F12
| Go to Definition | |
| | Alt+F12
| Option+F12
| Peek Definition | |
| | Shift+F12
| Shift+F12
| Show References | |
| | Ctrl+K F12
| Cmd+K F12
| Open Definition to Side | |
| | Ctrl+Alt+-
| Ctrl+Cmd+-
| Go Back | |
| | Ctrl+Shift+-
| Ctrl+Shift+Cmd+-
| Go Forward | |
| | Ctrl+M
| Cmd+M
| Toggle Tab Moves Focus | |
관련 기사
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | Ctrl+X
| Cmd+X
| Cut Line (empty selection) | |
| | Ctrl+C
| Cmd+C
| Copy Line (empty selection) | |
| | Alt+↑/↓
| Option+↑/↓
| Move Line Up/Down | |
| | Shift+Alt+↓/↑
| Shift+Option+↓/↑
| Copy Line Up/Down | |
| | Ctrl+Shift+K
| Cmd+Shift+K
| Delete Line | |
| | Ctrl+Enter
| Cmd+Enter
| Insert Line Below | |
| | Ctrl+Shift+Enter
| Cmd+Shift+Enter
| Insert Line Above | |
| | Ctrl+Shift+\
| Cmd+Shift+\
| Jump to Matching Bracket | |
| | Ctrl+]
| Cmd+]
| Indent Line | |
| | Ctrl+[
| Cmd+[
| Outdent Line | |
| | Home/End
| Home/End
| Go to Beginning/End of Line | |
| | Ctrl+Home
| Cmd+↑
| Go to Beginning of File | |
| | Ctrl+End
| Cmd+↓
| Go to End of File | |
Multi-Cursor 및 선택
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | Alt+Click
| Option+Click
| Insert Cursor | |
| | Ctrl+Alt+↑/↓
| Cmd+Option+↑/↓
| Insert Cursor Above/Below | |
| | Ctrl+U
| Cmd+U
| Undo Last Cursor Operation | |
| | Shift+Alt+I
| Shift+Option+I
| Insert Cursor at End of Each Line Selected | |
| | Ctrl+L
| Cmd+L
| Select Current Line | |
| | Ctrl+Shift+L
| Cmd+Shift+L
| Select All Occurrences of Current Selection | |
| | Ctrl+F2
| Cmd+F2
| Select All Occurrences of Current Word | |
| | Shift+Alt+→
| Shift+Option+→
| Expand Selection | |
| | Shift+Alt+←
| Shift+Option+←
| Shrink Selection | |
| | Shift+Alt+(drag mouse)
| Shift+Option+(drag mouse)
| Column (box) Selection | |
검색 및 교체
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | Ctrl+F
| Cmd+F
| Find | |
| | Ctrl+H
| Cmd+Option+F
| Replace | |
| | F3
| Cmd+G
| Find Next | |
| | Shift+F3
| Cmd+Shift+G
| Find Previous | |
| | Alt+Enter
| Option+Enter
| Select All Occurrences of Find Match | |
| | Ctrl+D
| Cmd+D
| Add Selection to Next Find Match | |
| | Ctrl+K Ctrl+D
| Cmd+K Cmd+D
| Move Last Selection to Next Find Match | |
| | Alt+C/R/W
| Option+C/R/W
| Toggle Case-Sensitive/Regex/Whole Word | |
풍부한 언어 편집
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | Ctrl+Space
| Cmd+Space
| Trigger Suggestion | |
| | Ctrl+Shift+Space
| Cmd+Shift+Space
| Trigger Parameter Hints | |
| | Shift+Alt+F
| Shift+Option+F
| Format Document | |
| | Ctrl+K Ctrl+F
| Cmd+K Cmd+F
| Format Selection | |
| | F12
| F12
| Go to Definition | |
| | Alt+F12
| Option+F12
| Peek Definition | |
| | Ctrl+K F12
| Cmd+K F12
| Open Definition to the Side | |
| | Ctrl+.
| Cmd+.
| Quick Fix | |
| | Shift+F12
| Shift+F12
| Show References | |
| | F2
| F2
| Rename Symbol | |
| | Ctrl+K Ctrl+X
| Cmd+K Cmd+X
| Trim Trailing Whitespace | |
| | Ctrl+K M
| Cmd+K M
| Change File Language | |
파일 관리
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | Ctrl+Tab
| Cmd+Tab
| Open Next | |
| | Ctrl+Shift+Tab
| Cmd+Shift+Tab
| Open Previous | |
| | Ctrl+K P
| Cmd+K P
| Copy Path of Active File | |
| | Ctrl+K R
| Cmd+K R
| Reveal Active File in Explorer | |
| | Ctrl+K O
| Cmd+K O
| Show Active File in New Window | |
공지사항
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | F11
| Cmd+Ctrl+F
| Toggle Full Screen | |
| | Shift+Alt+0
| Shift+Option+0
| Toggle Editor Layout (horizontal/vertical) | |
| | Ctrl+=
| Cmd+=
| Zoom In | |
| | Ctrl+-
| Cmd+-
| Zoom Out | |
| | Ctrl+0
| Cmd+0
| Reset Zoom | |
| | Ctrl+B
| Cmd+B
| Toggle Sidebar Visibility | |
| | Ctrl+Shift+E
| Cmd+Shift+E
| Show Explorer / Toggle Focus | |
| | Ctrl+Shift+F
| Cmd+Shift+F
| Show Search | |
| | Ctrl+Shift+G
| Cmd+Shift+G
| Show Source Control | |
| | Ctrl+Shift+D
| Cmd+Shift+D
| Show Debug | |
| | Ctrl+Shift+X
| Cmd+Shift+X
| Show Extensions | |
| | Ctrl+Shift+H
| Cmd+Shift+H
| Replace in Files | |
| | Ctrl+Shift+J
| Cmd+Shift+J
| Toggle Search Details | |
| | Ctrl+Shift+U
| Cmd+Shift+U
| Show Output Panel | |
| | Ctrl+Shift+V
| Cmd+Shift+V
| Open Markdown Preview | |
| | Ctrl+K V
| Cmd+K V
| Open Markdown Preview to the Side | |
디버그
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | F9
| F9
| Toggle Breakpoint | |
| | F5
| F5
| Start/Continue | |
| | Shift+F5
| Shift+F5
| Stop | |
| | F11
| F11
| Step Into | |
| | Shift+F11
| Shift+F11
| Step Out | |
| | F10
| F10
| Step Over | |
| | Ctrl+K Ctrl+I
| Cmd+K Cmd+I
| Show Hover | |
통합 맨끝
| | Windows/Linux | macOS | Description | |
| --- | --- | --- |
| | Ctrl+`` |
Cmd+| Show Integrated Terminal | |
| | `Ctrl+Shift+
| Cmd+Shift+`` | Create New Terminal | |
| |
Ctrl+C|
Cmd+C| Copy Selection | |
| |
Ctrl+V|
Cmd+V| Paste into Active Terminal | |
| |
Ctrl+↑/↓|
Cmd+↑/↓| Scroll Up/Down | |
| |
Shift+PgUp/PgDn|
Shift+PgUp/PgDn| Scroll Page Up/Down | |
| |
Ctrl+Home/End|
Cmd+Home/End` | Scroll to Top/Bottom | |
일반 작업 흐름
프로젝트 설정
카지노사이트
연장 관리
카지노사이트
Workspace 구성
카지노사이트
최고의 연습
생산성 팁
- 명령 Palette (
Ctrl+Shift+P
)을 사용하여 모든 명령에 빠른 액세스 - 대량 변경을위한 마스터 멀티 커서 편집
- 빠른 코딩을 위한 IntelliSense 활용
- 자주 사용되는 작업에 대한 사용자 정의 keybinding 설정
- Project-specific 구성에 대한 workspace 설정 사용
회사연혁
- 파일 탐색기 사용 (
Ctrl+Shift+E
) 빠른 탐색 - 적절한 폴더 구조로 파일 구성
- 파일에 대한 검색 (
Ctrl+Shift+F
) - Leverage Git 통합 버전 제어
- 언어 별 기능에 대한 확장
작업 흐름
- 전략적으로 Breakpoints 설정
- runtime 평가를 위한 debug 콘솔 사용
- custom debug 시나리오에 대한 launch.json 구성
- 복잡한 디버깅을 위한 상태 Breakpoint 활용
- 명령 줄 디버깅에 대한 통합 터미널 사용
성능 최적화
- 사용하지 않는 확장
- workspace-specific 설정 사용
- 큰 프로젝트를 위한 파일 제외
- 자원 집중 프로젝트를 위한 원격 개발 사용
- 특정 워크플로우 설정 최적화