π₯ VS Code: Edit Like A Pro
π¦Έ Become A VS Code SuperHero Today: https://vsCodeHero.com
π§πΎβπ€βπ§π½ Join my Discord developer community: https://discord.gg/A9CnsVzzkZ
Letβs say youβve copied a list of βthingsβ you want to add into an unordered list on your HTML page. In this case, itβs a bunch of random emojis.
Did you know you can use multiple cursors to quickly add `li` tags to each of these??
There are a couple of ways to go about it:
1. With the cursor on the first item, you can press Ctrl+Alt+Shift+downarrow to add a cursor on each line.
2. Or, highlight all of the lines with your mouse and press Shift+Alt+I to add a cursor to the end of each line. Then arrow back the items.
Then just type the `li` opening tag. It automatically created the closing tag, so Iβll have to move the emoji over by cutting and pasting.
But this is a lot quicker than doing it one line at a time.
Bonus tip: Select each item, press Ctrl+Shift+P to open the command pallet and search for wrap and youβll see Emmet: Wrap with abbreviation. Press enter, then type `li` and Emmet will automatically wrap them all for you.
_____________________________________
π οΈ 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