VS Code Keyboard Shortcuts Cheatsheet

By IncludeHelp Last updated : November 03, 2024

Explore this comprehensive VS Code Shortcuts Cheatsheet for quick learning and easy reference to essential keyboard shortcuts and commands to make your development easy in VS Code.

VS Code Shortcuts Cheatsheet

Table of Contents

VS Code General Shortcuts

Save file

OS Command
Control + S
Command + S

VS Code File Operations Shortcuts

New File

OS Command
Control + N
Command + N

Open File

OS Command
Control + O
Command + O

Close File

OS Command
Control + F4
Command + W

VS Code User Settings Shortcuts

User Settings

OS Command
Control + ,
Command + ,

VS Code Basic Editing Shortcuts

Cut line (empty selection)

OS Command
Control + X
Command + X

Copy line (empty selection)

OS Command
Control + C
Command + C

Move line down

OS Command
Alt + ↓
Option + ↓

Move line up

OS Command
Alt + ↑
Option + ↑

Copy line up

OS Command
Shift + Alt + ↑
Shift + Option + ↑

Copy line down

OS Command
Shift + Alt + ↓
⇧ + ⌥ + ↓

Delete line

OS Command
Ctrl + Shift + K
Shift + Command + K

Insert line below

OS Command
Control + Enter
Command + Enter

Insert line above

OS Command
Control + Shift + Enter
Command + Shift + Enter

Jump to matching brackets

OS Command
Control + Shift + \
Shift + Command + \

Indent line

OS Command
Control + ]
Command + ]

Outdent line

OS Command
Control + [
Command + [

Go to beginning of file

OS Command
Control + Home
Command + ↑

Go to end of file

OS Command
Control + End
Command + ↓

Toggle line comment

OS Command
Control + /
Command + /

Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.