niyati-n / VSCodeCheatsheet

A VSCode Editor cheatsheet for pragrammers and basic editing key shortcuts with detailed examples.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VSCode

VSCode Cheatshet

            made-with-Markdown made-for-VSCode Ask Me Anything ! MIT license

                ForTheBadge built-by-developers


Table Of Content

Programmer

VSCode Ctrl+Shift+P, F1

This key shortcut will show the Command Palette that provides access to many commands.

VSCode Ctrl+,

This key shortcut will redirect user to User Settings.

VSCode Shift+Alt + ↓ / ↑

This key shortcut can copy current line. If ↑ is pressed , it displays the copied result upwards and else ↓ downward.

VSCode Ctrl+Shift+K

This key shortcut can delete line where the cursor is located.

VSCode Ctrl+Shift+\

This key shortcut is helpful in Jumping to matching bracket.

VSCode Ctrl+] / [

This key shortcut is to Indent/Outdent line

VSCode Home / end

This key shortcut is to go Home - beginning OR End - ending of line.

VSCode Ctrl + Shift +[ / ]

This key shortcut is to Fold (Collapse) OR Unfold (Uncollapse) region.

VSCode Ctrl+K Ctrl+C/ctrl+U

This key shortcut is to Add line comment and Delete line comment.

VSCode Ctrl+Shift+ M

This key shortcut is to Show problem panel OR Pop up problem panel in TERMINAL.

VSCode Alt + Click and Ctrl+Alt+ ↑ / ↓ and Ctrl+U

This key shortcut is to Insert cursor, Insert cursor above / below Undo last cursor operation .

VSCode Ctrl + L

This is key shortcut is to Select current line.

VSCode Ctrl+F2

This key shortcut is to Select all occurrences of current word.

VSCode Shift+ Alt + → /←

This key shortcut it to Expand OR Shrink Selection

VSCode Ctrl + Space

This key shortcut is to Trigger Suggestion.

VSCode Shift+Alt+F

This key shortcut is Format document.

VSCode Shift+F12

This key shortcut is to Show References.

VSCode Ctrl+K M

This key shortcut is to change file language.

VSCode Ctrl+\ or Ctrl + 1 / 2 /3

This key shortcut is to Split editor and Focus into 1st, 2nd or 3rd editor group.

VSCode Ctrl+ /

This key shortcut is for comment language specific.

VSCode Ctrl+K P and Ctrl+K R

This key shortcut is to Copy path of active file and Reveal active file in Explorer.

VSCode F9

This key shortcut to Toggle breakpoint.

VSCode Ctrl+K Ctrl+S

This key shortcut is to see all Keyboard Shortcuts.


Basic

Shortcut Description
Ctrl+Shift+K Delete line
Ctrl+Enter Insert line below
Ctrl+Shift+Enter Insert line above
Shift+Alt+A Toggle block comment
Alt+Z Toggle word wrap
Ctrl+. Quick Fix
Ctrl+F4,Ctrl+W Close editor

Navigation

Shortcut Description
Ctrl+T Show all Symbols
Ctrl+G Go to Line
Ctrl+P Go to File
Ctrl+Shift+O Go to Symbol

Search and Replace

Shortcut Description
Ctrl+F Find
Ctrl+H Replace
F3 / Shift+F3 Find next/previous
Alt+Enter Select all occurences of Find match

Display

Shortcut Description
Ctrl+Shift+E Show Explorer / Toggle focus
Ctrl+Shift+F Show Search
Ctrl+Shift+G Show Source Control
Ctrl+Shift+D Show Debug
Ctrl+Shift+X Show Extensions
Ctrl+Shift+H Replace in files
Ctrl+Shift+J Toggle Search details
Ctrl+Shift+U Show Output panel
Ctrl+Shift+V Open Markdown preview



If this repository is useful fo you , do star this repository.

Thanks!

About

A VSCode Editor cheatsheet for pragrammers and basic editing key shortcuts with detailed examples.

License:MIT License