Skip to content

Latest commit

 

History

History
128 lines (108 loc) · 5.01 KB

File metadata and controls

128 lines (108 loc) · 5.01 KB
layout title
../../layouts/CheatSheet.astro
VS Code Cheatsheet

Synopsis

VS Code is a free source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add additional functionality.

Terminal Shortcuts

Shortcut Description
Ctrl + ` Open Integrated Terminal
Ctrl + Shift + ` Create New Terminal
Ctrl + Shift + C Copy Selected Text
Ctrl + Shift + V Paste Copied Text
Ctrl + Shift + P Open Command Palette
Ctrl + Shift + U Toggle Upper/Lower Case
Ctrl + Shift + X Toggle Word Wrap
Ctrl + Shift + Z Redo
Ctrl + Shift + [ Fold Region
Ctrl + Shift + ] Unfold Region
Ctrl + Shift + Enter Insert Line Below
Ctrl + Shift + Backspace Delete Line
Ctrl + Shift + Home Go to Beginning of File
Ctrl + Shift + End Go to End of File
Ctrl + Shift + PageUp Scroll Page Up
Ctrl + Shift + PageDown Scroll Page Down
Ctrl + Shift + Left Select to Beginning of Word
Ctrl + Shift + Right Select to End of Word
Ctrl + Shift + Up Select to Beginning of Line
Ctrl + Shift + Down Select to End of Line
Ctrl + Shift + Alt + Up Move Line Up
Ctrl + Shift + Alt + Down Move Line Down

Editor Shortcuts

Shortcut Description
Ctrl + Space Trigger Suggest
Ctrl + Enter Insert Line Below
Ctrl + Backspace Delete Word Left
Ctrl + Delete Delete Word Right
Ctrl + Home Go to Beginning of Line
Ctrl + End Go to End of Line
Ctrl + PageUp Scroll Page Up
Ctrl + PageDown Scroll Page Down
Ctrl + Left Move to Beginning of Word
Ctrl + Right Move to End of Word
Ctrl + Up Move to Beginning of File
Ctrl + Down Move to End of File

File Shortcuts

Shortcut Description
Ctrl + N New File
Ctrl + O Open File
Ctrl + S Save File
Ctrl + P Quick Open
Ctrl + W Close File
Ctrl + F4 Close File
Ctrl + K / F Close All Files
Ctrl + K / Ctrl + W Close All Files
Ctrl + K / Ctrl + F Format Document
Ctrl + K / Ctrl + O Open Folder
Ctrl + K / Ctrl + T Toggle Terminal
Ctrl + K / Ctrl + X Close Terminal

Search Shortcuts

Shortcut Description
Ctrl + F Find
Ctrl + H Replace
Ctrl + Shift + F Find in Files
Ctrl + Shift + H Replace in Files
Ctrl + Shift + G Find Next
Ctrl + Shift + J Find Previous
Ctrl + Shift + Alt + F Replace in Files
Ctrl + Shift + Alt + G Replace Next

Window Shortcuts

Shortcut Description
Ctrl + Shift + E Open Explorer
Ctrl + Shift + F Open Search
Ctrl + Shift + G Open Source Control

View Shortcuts

Shortcut Description
Ctrl + B Toggle Sidebar
Ctrl + Shift + E Toggle Explorer
Ctrl + Shift + F Toggle Search
Ctrl + Shift + G Toggle Source Control
Ctrl + Shift + D Toggle Debug
Ctrl + Shift + X Toggle Extensions
Ctrl + Shift + U Toggle Output
Ctrl + Shift + J Toggle Terminal
Ctrl + Shift + V Toggle Markdown Preview

Debug Shortcuts

Shortcut Description
F5 Start Debugging
F9 Toggle Breakpoint
F10 Step Over
F11 Step Into
Shift + F11 Step Out

Extension Shortcuts

Shortcut Description
Ctrl + Shift + X Open Extensions
Ctrl + Shift + P Open Command Palette

Git Shortcuts

Shortcut Description
Ctrl + Shift + G Open Source Control
Ctrl + Shift + P Open Command Palette