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 (2)
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.