VS Code: Easy Refactoring!

Channel:
Subscribers:
296,000
Published on ● Video Link: https://www.youtube.com/watch?v=E5G6N78mMAc



Duration: 0:32
10,126 views
754


🦸 Become A VS Code SuperHero Today: https://vsCodeHero.com
πŸ§‘πŸΎβ€πŸ€β€πŸ§‘πŸ½ Join my Discord developer community: https://discord.gg/A9CnsVzzkZ
🚒 Deploy for FREE on Vercel: https://vercel.com/ambassadors/codestackr

These days I love using async await for promises instead of chaining .thens in JavaScript.

What if you come across an older code base that has a bunch of functions with .thens and .catches.

And you would just love to convert all of those to async await, but that would take forever, right?!

Actually, it’s pretty easy. Just select the function and either click the lightbulb or press Ctrl+. and choose β€œconvert to async function”.

It even includes a try / catch. Couldn’t get any easier than that!
_____________________________________

πŸ› οΈ Tools I use:
🟠 codeSTACKr Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
🟠 STACKr Code Font (Exclusive to my VS Code Course - https://vsCodeHero.com)
🟠 SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions
_____________________________________

πŸ’– Show support!
PayPal: https://paypal.me/codeSTACKr
_____________________________________

πŸ‘€ Watch Next:
Playlist: Web Development For Beginners - https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt
_____________________________________

🌐 Connect With Me:
Website: https://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr
Facebook: https://facebook.com/codeSTACKr
_____________________________________

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

#codeSTACKr #vscode #learntocode







Tags:
visual studio code
vs code
code refactor
visual studio code tutorial
visual studio code java
visual studio code python
visual studio code javascript
visual studio code setup
vs code shortcuts
refactor
refactoring code
refactoring
refactoring react code
refactoring python
refactoring javascript
refactoring javascript code