visual-studio-code-shortcuts-linuxquery

Hi viewers, In this tutorial i will show you most used visual studio code shortcuts.

Basic Editing

ShortcutsMeaning
Ctrl + XCut line (empty selection)
Ctrl + CCopy line (empty selection)
Ctrl + VPaste line (empty selection)
Alt + ↑ / ↓Move line up/down
Ctrl + Shift + KDelete line
Ctrl + EnterInsert line below
Ctrl + Shift + EnterInsert line above
Ctrl + ↑ / ↓Scroll line up/down
Alt + ZToggle word wrap

Search and replace

ShortcutsMeaning
Ctrl + FFind
Ctrl + HReplace
F3 / Shift + F3Find next/previous
Alt + EnterSelect all occurences of Find match
Ctrl + DAdd selection to next Find match

File management

ShortcutsMeaning
Ctrl + NNew File
Ctrl + OOpen File…
Ctrl + SSave
Ctrl + Shift + SSave As…
Ctrl + K SSave All
Ctrl + F4Close
Ctrl + K Ctrl + WClose All
Ctrl + Shift + TReopen closed editor
Ctrl + K EnterKeep preview mode editor open
Ctrl + TabOpen next
Ctrl + Shift + TabOpen previous
Ctrl + K PCopy path of active file
Ctrl + K RReveal active file in Explorer
Ctrl +K OShow active file in new window/instance

Leave a Reply

Your email address will not be published. Required fields are marked *