DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Top 10 VS code keyboard shortcuts to boost your productivity
Amrin
Amrin

Posted on • Originally published at coderamrin.hashnode.dev

Top 10 VS code keyboard shortcuts to boost your productivity

So, you use VS code.
Are you using it properly?

If you are doing most of the tasks by clicking the mouse I think you are not using it properly.

Using a mouse doesn't seem like a time waste but, in reality, if you are using the mouse all the time you are wasting a ton of time.

To use the full potential of VS code you need to use keyboard shortcuts. Shortcuts will save you a ton of time when you code for hours. πŸ•΅οΈ

So, Today I’ll share the top ten vs code keyboard shortcuts that will boost your productivity.

let’s get started:

Note: if you prefer video, check it out here.

#1. Ctrl + X

With this shortcut, you can cut a line of code without selecting.

And then you can paste it anywhere with Ctrl + V.

#2. shift + Alt + Down Arrow

You can duplicate a line without selecting it.

#3. shift + up or down arrow

With this shortcut, you can select a big block of text or code.

#4. Alt + up or down arrow

With this shortcut, you can move a line-up or down without selecting.

#5. Ctrl + p

It opens up the search bar, from there you can easily open any files from your project.

#6. Ctrl + G

It opens up a search bar where you can type a line number then, you’ll go to that specific line.

#7. Ctrl + Shift + p

It opens up the command pallet, from there you can go to settings and many more.

#8. Ctrl + `

You can easily open up the terminal with this command.

#9. CTRL + B

With this shortcut you can easily toggle the sidebar, you won’t need to close it manually.

#10. CTRL + Tab

With shortcuts, you can easily toggle between tabs.

Conclusion

These are the shortcuts, I use all the time.
What's your favourite VS code shortcut?
Let me know in the comment below.

If you are still lurking here πŸ˜ƒ

check out my newsletter where I share 5 web development resources each Saturday.

Are you on Twitter? let’s connect coderamrin

Top comments (10)

Collapse
 
thejourneyville profile image
benny

Ooh cool, thanks for this post! Any plans for mac version? :)

Collapse
 
coderamrin profile image
Amrin

it's the same. just use the Cmd ⌘ key where I listed Ctrl, and so on :)

Collapse
 
thejourneyville profile image
benny

Got it, thanks a million!

Thread Thread
 
coderamrin profile image
Amrin

Have a good one Benny

Collapse
 
webdeasy profile image
Lorenz

2,3 and 4 are new for me, thanks for sharing! 😊

Collapse
 
coderamrin profile image
Amrin

wow that's amazing.
thanks for reading

Collapse
 
wasiqahmdzai profile image
Mohammad Wasiq

Amazing!

Collapse
 
coderamrin profile image
Amrin

Thanks Mohammad

Collapse
 
z3zel profile image
Zezel

Perfect I was searching the 2, now I've found it !

Collapse
 
coderamrin profile image
Amrin

awesome.

Timeless DEV post...

How to write a kickass README

Arguably the single most important piece of documentation for any open source project is the README. A good README not only informs people what the project does and who it is for but also how they use and contribute to it.

If you write a README without sufficient explanation of what your project does or how people can use it then it pretty much defeats the purpose of being open source as other developers are less likely to engage with or contribute towards it.