VSCode Shortcuts ⚡

7 Essential VSCode Shortcuts that you should learn by heart.

Save time and become super-efficient while coding.

🧵👇
Search text through all files.

By hitting ctrl + shift + F, we can quickly open the sidebar and search through all files.
Open the command palette.

Instead of clicking around, spending time looking for something somewhere in the menu, simply use ctrl + shift + P to open the command palette.

Now invoke the desired functionality by using a command instead.
Smart Select -> Grow

If you place the cursor inside a scope and press shift + alt + right-arrow, VSCode will select the entire scope for you.

It also works with if-statements, while, etc.
Anything with brackets.
Multiple Cursors

If you put the cursor at a desired place, and then press shift + alt + arrow-down, you will get multiple cursors.

When you start typing, the text will be produced at each cursor.

You can also add multiple cursors with alt + mouse click.
Multiple Selections

If you highlight a word and then press ctrl + D, VSCode will search and highlight matching words.

Press ctrl + D multiple times to make multiple selections.

Each matching will result in multiple cursors, just like in the example above.
Move a line (up and down).

If you place your cursor at a desired line and press alt + arrow-up/down, you will move this line up and down.

Any line that you are passing on the way, will be swapped.
Fold (and unfold) code

Place your cursor inside a function, scope, between HTML brackets, etc.

Now hit ctrl + shift + [ to fold the code.
Hit ctrl + shit + ] to unfold.
Learn these 7 keyboard shortcuts by heart, and not only will you save a ton of time - you will also leave your keyboard less thus putting less strain on your shoulder.

Do you know any cool shortcuts that should get added to this list?

Please share below 🙏
I hope you enjoyed reading!

Take a second to like and retweet this thread.
In that way, people from your own network get to enjoy as well.

Thank you 🙏

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Simon Høiberg

Simon Høiberg Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @SimonHoiberg

14 Dec
20 of my most popular JavaScript Tips 💡

Thread 🧵👇
Pass arguments as an object.

The meaning becomes much more clear from the names of the properties.
Also, the order doesn’t matter anymore.

Trust me - your teammates will be happy 🙌
Extending the standard built-ins is considered bad practice.

Create your own utility class instead 🙌
(...And share it on NPM, if it's useful to others).
Read 23 tweets
7 Dec
Want to start a business?

Keep it simple!
Become a solopreneur and start on your own.

🔸 You can get started almost for free.
🔸 You don't need to quit your regular job.

Here are 5 ideas + strategies you can use to get started 🚀

🧵👇
⚠️ Disclaimer:
You're not gonna be rich overnight.
Building up a business requires hard work.

The good news is - it's probably easier than you think 😉

Keep reading 👇
If you're interested in this topic, be sure to check the video version of this thread as well. I go into much more details here 👇

Read 30 tweets
6 Dec
⚡ I created my first NFT ⚡

It's now for sale 💸

And it's a special NFT as well 👇🧵
I am dedicated to reaching 100K subscribers on YouTube in 2022!

The owner of this NFT will get a 1-minute shoutout in one of my YouTube videos, once I get there!

Let me explain 👇
Do you want to own this NFT?
Then drop an offer here 👇

It is listed for sale until January 1st, 2022 🚀

opensea.io/assets/matic/0…
Read 5 tweets
9 Nov
10 Awesome Developer Tools ⭐️
Start using these in 2021.

🔸 Visual Studio Code
🔸 Postman
🔸 Oh My Zsh
🔸 GitHub Copilot
🔸 GitHub CLI
🔸 GitHub Desktop
🔸 GitHub Actions
🔸 Slack
🔸 Cypress
🔸 CodeSandbox
🔸 Visual Studio Code
code.visualstudio.com
🔸 Postman
postman.com
Read 11 tweets
19 Oct
Are you a content creator?
And are you serious about what you do?

Then take a look at these 5️⃣ creator tools you should start using!

All created by the indie hacker community 😍

👇🧵
1️⃣ Snappify

Awesome tool to create beautiful code snippets.

Made by @dominiksumer and @AnkiCodes.
snappify.io
2️⃣ BrandBird

Create amazing-looking visuals for social media.
Fast and easy 🚀

Made by @d__raptis
brandbird.app
Read 6 tweets
18 Oct
Do you also love JavaScript? 😍

Here are 8 of my best JavaScript Threads.

All collected into one SUPER THREAD
🧵👇
Read 9 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(