Alright fellow code warriors, buckle up! Whether you're a front-end fanatic or a back-end boss, Visual Studio Code (VS Code) is probably your home base. But let's be real, VS Code without extensions is like pizza without toppings. ๐ Meh.
So grab your coffee โ (or energy drink ๐ง), sit back, and let me introduce you to 20 VS Code extensions that will make your coding life easier, faster, and honestly, way more fun.
Trust me, you'll want these in your arsenal. Let's jump right in! ๐โโ๏ธ
1. Live Server ๐
Sick of refreshing your browser every 10 seconds? Live Server automatically reloads your page every time you save a file. You're basically a web wizard with this one. ๐งโโ๏ธ
๐ Live Server
Why You'll Love It:
- ๐ Live reload for HTML/CSS/JavaScript files.
- ๐ Zero refresh key presses. Your fingers will thank you.
2. Prettier ๐จ
Tired of fighting with your code formatting like you're in a UFC match? Prettier is your tag-team partner, it keeps your code neat and tidy with no effort. ๐ฅ
๐ Prettier - Code Formatter
Why You'll Love It:
- โจ Auto-formats your code on save.
- ๐ Kicks sloppy code's butt.
3. ESLint ๐ค
JavaScript can be a wild west ๐ sometimes. ESLint is the sheriff, keeping law and order in your code by flagging errors and enforcing good practices.
๐ ESLint
Why You'll Love It:
- ๐งน Keeps your JavaScript clean.
- โก Flags errors faster than you can say, "Where's that semicolon?"
4. Better Comments ๐
Let's face it, comments can be boring... but not with Better Comments! This extension spices up your comments with colors, so you can make TODOs, warnings, or highlight important stuff in your code more... well, visible.
๐ Better Comments
Why You'll Love It:
- ๐จ Color-coded comments.
- ๐ฅ Make your code notes pop!
5. Indent-Rainbow ๐
If you've ever lost track of which level of indentation you're in (seriously, Python, why are you like this?), Indent-Rainbow comes to the rescue by coloring each indentation level.
๐ Indent-Rainbow
Why You'll Love It:
- ๐ Colors everywhere!
- ๐ต๏ธโโ๏ธ Avoids the dreaded "where does this block even end?"
6. Material Icon Theme ๐จ
Your VS Code sidebar is more confusing than a maze? ๐ต Material Icon Theme gives it a beautiful, organized facelift with icons that actually make sense.
๐ Material Icon Theme
Why You'll Love It:
- ๐ผ๏ธ Custom icons for every file type.
- ๐ Feels like organizing your messy code closet into a designer wardrobe.
7. Path Intellisense ๐ง
Manually typing out file paths is so 2005. Path Intellisense autocompletes your file paths, so you don't have to remember if that "styles.css" file was in src
, public
, or assets
. ๐ฅ
๐ Path Intellisense
Why You'll Love It:
- ๐ Faster imports and file referencing.
- ๐ฏ No more typo-prone file paths.
8. Auto Rename Tag ๐
Have you ever renamed an opening HTML tag and forgot to change the closing tag? I feel your pain. Auto Rename Tag does it for you! ๐
๐ Auto Rename Tag
Why You'll Love It:
- ๐ Keeps your HTML in sync.
- โฑ๏ธ Because nobody has time to manually change both tags.
9. Peacock ๐ฆ
Working on multiple projects? Keep them organized with Peacock, which changes the color of your VS Code workspace so you can quickly see which project you're working on (and keep that mental breakdown at bay). ๐
๐ Peacock
Why You'll Love It:
- ๐จ Different colors for different projects.
- ๐ Looks stylish, too!
10. Rainbow Brackets 2 ๐ฏ
If you write JavaScript (or any other code with a million brackets), Rainbow Brackets 2 will help you keep track of them by coloring matching pairs. No more getting lost in a sea of parentheses and curly braces. ๐
๐ Rainbow Brackets 2
Why You'll Love It:
- ๐ Pairs brackets with matching colors.
- ๐ Reduces "where does this bracket even close?" moments.
11. HTML Boilerplate ๐
Starting an HTML project and hate typing out the basic structure every time? HTML Boilerplate has you covered with a fully-formed HTML5 template ready to go.
๐ HTML Boilerplate
Why You'll Love It:
- ๐ Speeds up your HTML setup.
- ๐ง Saves time and brain cells.
12. Thunder Client โก๏ธ
Who needs Postman when you've got Thunder Client right inside VS Code? Test APIs without ever leaving your editor. ๐ถ
๐ Thunder Client
Why You'll Love It:
- ๐ชถ Lightweight, fast API testing.
- ๐ฐ Easy to use, even for a first-timer.
13. GitLens ๐
GitLens supercharges your Git experience, letting you see who made changes to a line of code, when they did it, and even why. Spy on your own commit history like a boss! ๐ต๏ธโโ๏ธ
๐ GitLens
Why You'll Love It:
- ๐ฐ๏ธ Deep dive into your code's history.
- ๐งโโ๏ธ Become a Git master without even trying.
14. CSS Peek ๐
Ever wonder where a specific CSS class is defined? CSS Peek lets you hover over an HTML class or ID and jump right to the corresponding CSS definition. Like magic. ๐ฉโจ
๐ CSS Peek
Why You'll Love It:
- ๐ซ No more switching between files!
- ๐ CSS debugging just got a whole lot easier.
15. Cobalt Next Theme ๐จ
Let's face it, dark mode isn't just coolโit's a lifestyle. Cobalt Next gives you a sleek, clean theme that's easy on the eyes and makes your code look gorgeous. ๐
๐ Cobalt Next
Why You'll Love It:
- ๐ Beautiful, dark theme.
- ๐ Because your editor deserves to look as good as your code.
16. Cody ๐ง
Meet Cody, your AI-powered buddy that can help you write code, explain tricky snippets, and even help you debug. You know how Tony Stark has JARVIS? Well, this is the coding version. ๐ฆธโโ๏ธ
๐ Cody
Why You'll Love It:
- ๐ค AI that writes and fixes code alongside you.
- ๐ฏโโ๏ธ It's like having a coding buddy who's always right.
17. Debugger for Chrome ๐
This extension allows you to debug JavaScript code running in Google Chrome, without leaving VS Code. Handy, right?
๐ Debugger for Chrome
Why You'll Love It:
- ๐ฆธโโ๏ธ Debugging without switching windows.
- ๐ฆ It's like being Batman, but for code.
18. SVG ๐ผ
Working with SVG files but tired of switching windows just to view them? The SVG extension gives you in-editor previews, so you can see your vector images without the hassle.
๐ SVG
Why You'll Love It:
- ๐ผ๏ธ Live preview of SVG files directly in VS Code.
- ๐๏ธ No need for external tools to view or edit your vectors.
19. Todo Tree ๐ณ
If you leave TODOs all over your code (who doesn't? ๐), Todo Tree will gather them into one tree view, so you never forget to come back and fix that hacky solution.
๐ Todo Tree
Why You'll Love It:
- ๐ Organizes your messy TODOs.
- โ Now you'll actually come back to that code.
20. REST Client ๐
Want to send HTTP requests but don't want to leave VS Code? The REST Client extension lets you test APIs directly from your editor, like an API magician. ๐ฉโจ
๐ REST Client
Why You'll Love It:
- ๐งช Test your APIs directly in VS Code.
- ๐จโ๐ป Super convenient for backend devs.
Wrapping it Up ๐
Well, there you have it! ๐ These 20 VS Code extensions are must-haves for every web developer who wants to save time, boost productivity, and have a bit of fun while doing it.
Now go forth, install all the things, and watch your coding experience level up faster than you can say "merge conflicts."
Happy coding! ๐ป๐
Thanks for reading!
Made with ๐ by Hadil Ben Abdallah.
Top comments (3)
Good tips. Thanks. However,
Bracket Pair Colorizer 2
is deprecated.Yeah, you're right, sorry about that. There is
Rainbow Brackets 2
instead ofBracket Pair Colorizer 2
. I will correct it in the article.Debugger for Chrome has been deprecated for years and years. It was actually written by the Microsoft Edge Team, so using marketplace.visualstudio.com/items... is the better option