VS Code Useful Shortcuts

VS Code Useful Shortcuts

Table of contents

No heading

No headings in the article.

I know there are many developers like me who enjoy doing things in a simpler way soooooo, I decided to put compile some VScode shortcuts and share with the community. Note that these shortcuts may differ in osx.

Editor -

  • Copy (selected) text: Ctrl+C

  • Pase text: Ctrl+V

  • Cut text: Ctrl+X

  • Copy and paste current line to Up/Below: Shift+Alt+(Down/Up)

  • Delete current line: Ctrl+Shift+K

  • Search in File: Ctrl+F

  • Search and Replace in File: Ctrl+H

  • Replace all findings: Ctrl+Alt+Enter

  • Fold All: Ctrl+K, Ctrl+0

  • Unfold All: Ctrl+K, Ctrl+J

  • Format Document: Ctrl+Alt+F

  • Go Back: Alt+LeftArrow

  • Go Forward: Alt+RightArrow

  • Quick Fix: Ctrl+.

  • Go To Definition: F12

    Terminal

  • Create new terminal instance: Ctrl+Shift+C

    Workspace

  • Open File: Ctrl+O

  • Open Folder: Ctrl+K, Ctrl+O

    Tasks, Debug and more

  • Get Build Tasks: Ctrl+Shift+B

  • Run launch (debug) config: F5

  • Show all Commands: F1

Hope you've gained knowledge from this article??? Don't hesitate to like and share... ๐Ÿ˜Š ๐Ÿ˜Š You can reach out to me on twitter @princessmaggy7. ๐Ÿ˜Š

ย