Earid

VS Code Shortcut

14/08/2022

by Earid

1.Show suggestion
CTRL + SPACE

Jump to line
CTRL + G

Copy line up/down
SHIFT + ALT + DOWN/UP
Similar to the last one, but this will copy a line up or down 🖨

Remove current line
CTRL + SHIFT + K

Go to symbol
CTRL + O
Opens up a list of symbols in the current file. This especially comes in handy when you have a large class and need to jump to a particular method 🦘

Trigger parameter hints
CTRL + SHIFT + SPACE
Similar to the last one, but this one will trigger parameter hints for a method of function if you lose them. Definitely helpful for long parameter lists! 📈

Reveal in file explorer
CTRL + K, R

10. Select all occurrences of current selection
CTRL + SHIFT + L
Lastly, this one will select all occurrences of the current/active selection. Very useful for file-wide replacements 📑

Toggle the comments
CTRL + /
You, can comment any lines of code by simply using this shortcuts.

Delete single line code
CTRL + X

Fold and unFold code
CTRL + J / CTRL + `

More

https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf

Facebook
X
LinkedIn
Email
Pinterest
WhatsApp

VS Code Shortcut