VS Code Cheatsheet

A comprehensive reference guide for Visual Studio Code shortcuts, commands, extensions, and productivity tips. Master your coding environment with these essential shortcuts and features.

Basic Shortcuts
Open Command Palette Ctrl + Shift + P
Quick Open File Ctrl + P
Toggle Sidebar Ctrl + B
Toggle Terminal Ctrl + `
Toggle Panel Ctrl + J
New File Ctrl + N
Save File Ctrl + S
Save All Ctrl + K S
Editing Shortcuts
Copy Line Up Shift + Alt +
Copy Line Down Shift + Alt +
Move Line Up Alt +
Move Line Down Alt +
Delete Line Ctrl + Shift + K
Indent Line Ctrl + ]
Outdent Line Ctrl + [
Toggle Comment Ctrl + /
Multi-Cursor
Add Cursor Above Ctrl + Alt +
Add Cursor Below Ctrl + Alt +
Add Cursor at Line End Shift + Alt + I
Add Next Match Ctrl + D
Add All Matches Ctrl + Shift + L
Column Selection Shift + Alt + Drag
Navigation
Go to File Ctrl + P
Go to Symbol Ctrl + Shift + O
Go to Line Ctrl + G
Go to Definition F12
Peek Definition Alt + F12
Go to Implementation Ctrl + F12
Go to References Shift + F12
Navigate Back Alt +
Search & Replace
Find Ctrl + F
Replace Ctrl + H
Find in Files Ctrl + Shift + F
Replace in Files Ctrl + Shift + H
Find Next F3
Find Previous Shift + F3
Select Next Match Ctrl + D
Editor Management
Split Editor Ctrl + \
Focus on Editor Group Ctrl + 1, 2, 3
Move Editor Left/Right Ctrl + Shift + PageUp/PageDown
Close Editor Ctrl + W
Close All Editors Ctrl + K W
Reopen Closed Editor Ctrl + Shift + T
Essential Extensions
Material Theme
Beautiful themes for VS Code
Material Icon Theme
Adds icons to files and folders
Prettier
Code formatter for multiple languages
ESLint
JavaScript linter for code quality
GitLens
Supercharge Git capabilities
Live Server
Launch local development server
Productivity Tips

Emmet Abbreviations

Type `!` and press Tab to generate HTML5 boilerplate

Quick Fix

Press Ctrl + . to see quick fixes for errors

Format Document

Press Shift + Alt + F to format entire document

Zen Mode

Press Ctrl + K then Z for distraction-free coding

Toggle Word Wrap

Press Alt + Z to wrap long lines

Minimap

Toggle minimap in settings for better overview of code

Debug Shortcuts
Toggle Breakpoint F9
Start Debugging F5
Step Over F10
Step Into F11
Step Out Shift + F11
Continue F5
Stop Debugging Shift + F5
Window Management
New Window Ctrl + Shift + N
Close Window Ctrl + Shift + W
Toggle Full Screen F11
Zoom In Ctrl + +
Zoom Out Ctrl + -
Reset Zoom Ctrl + 0

What is CodeSikhoWithAJ?

CodeSikhoWithAJ is a coding education platform dedicated to teaching programming skills to everyone who wants to learn. Our mission is to make coding accessible and help people start their journey in the tech industry.

Founded by Ajeet Yadav, CodeSikhoWithAJ provides comprehensive tutorials, practical examples, and hands-on projects to help you master web development and other programming skills.

Trusted by developers at:

Google
Microsoft
Facebook
Amazon
Netflix
Twitter