How is This Article Different?
Recently, I've seen lots of posts about VS Code extensions. But did you know that many of the posts are outdated? How, you might ask? They were only shared yesterday! Well, let me explain.
Many posts in the listicle format are AI-generated. ChatGPT's training makes it tend to write about a few general topics when you ask it βwrite an article for my coding blogβ. If you want an easy way to tell if something is probably AI generated, try GPT Zero.
Above, you can see GPT generating an article for me. The first thing you should notice is that GPT generated an article about VS Code extensions. Perhaps now would be a good time to clarify that this article is not AI generated. π I must be perfectly honest β it took quite a few attempts to get an article about VS Code. GPT-4 is more 'creative', but after a few tries, sure enough, the GPT-3.5-Turbo whipped up an article about VS Code extensions.
Now, the second and very important thing you should notice is the year in the title β 2021. Maybe these extensions were relevant then, but 'then' is over β it's not 2021 anymore. I have nothing against AI generated content as long as it is factually correct, but that's just the problem. AI content is often not correct! If you remove the effort of writing an article by using AI, the least you should do is put in the bit of effort it takes to make sure your article is true.
But I digress; this is an article about the best VS Code extensions in 2024, not my opinions on AI! I hope this article is actually helpful to you. I've tested and researched each extension listed here; plus, I checked to see if each extension is deprecated or outdated due to built-in VS Code features.
So, let's dive in! π
1. Codeium
ext install Codeium.codeium
Codeium is one of the best free AI tools I've ever used!
Features:
- Unlimited single and multi-line code completions
- In-IDE AI Chat
- Support for more than 70 programming languages.
- Codebase and context for smarter completions (the AI knows all about your code!)
2. WakaTime
ext install WakaTime.vscode-wakatime
WakaTime is a super cool website / extension that keeps track of the time you spend programming. It provides insights about the languages you spend the most time on, your coding trends, set goals, and more!
3. Live Share
ext install MS-vsliveshare.vsliveshare
Live Share for VS Code is an extension by Microsoft that makes it really easy for people to collaborate with you on code. Unlike Git, where you create branches, pull requests, etc., you can edit code and chat live with your co-workers using Live Share.
From the Live Share extensions description: ""
Visual Studio Live Share enables you to collaboratively edit and debug with others in real time, regardless what programming languages you're using or app types you're building. It allows you to instantly (and securely) share your current project, and then as needed, share debugging sessions, terminal instances, localhost web apps, and more! Developers that join your sessions receive all of their editor context from your environment (e.g. language services, debugging), which ensures they can start productively collaborating immediately, without needing to clone any repos or install any SDKs.
Thank you, @robbenzo24, for helping me with this article!
You can even see your co-worker's selections and their cursor position!
4. CodeSnap
ext install adpyke.codesnap
CodeSnap makes it easy to take those awesome code screenshots (useful when you can't use syntax highlighting somewhere online, or when you need professional looking code).
Here's a sample (from our Codeium factorial function π€):
This extension doesn't particularly enhance your productivity, but it has saved me a lot of time (I'm picky about how I present my code)!
You can use CodeSnap by selecting code, right-clicking, and choosing 'CodeSnap'. Downloading the image was a bit hard for me to figure out. π€ͺ
Click this icon once the preview pane opens:
A download dialog will appear, and you can save the image wherever you wish!
5. Code Spell Checker
ext install streetsidesoftware.code-spell-checker
This extension is a must-have for me! I'm pretty picky (most of the time) about my spelling. This extension will highlight your spelling errors (that might be a nightmare for some of youβ¦) and show possible correct spellings in the 'Quick Fix' menu.
If you're a fan of impeccable spelling, be sure to give this extension a try!
β¨ Install Code Spell Checker
6. Better Comments
ext install aaron-bond.better-comments
The better comments extension makes it easy to tell what each of your comments are for.
You can use these rules, or even add your own in settings:
!
: Alert
?
: Query
TODO
: TODO (duhβ¦)
*
: Important
//
: Strike-through
I tried it out in JavaScript to see how it worked:
Here's an example comment config in the extension settings:
{
"tag": "!",
"color": "#FF2D00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
}
I made my own for underlining comments using the _
indicator. Here's how it turned out:
Note: If you change the extension settings, you may need to reload the window (CTRL + SHIFT + P > Developer: Reload Window) for the changes to apply.
This is honestly one of the most useful ones for me, excluding AI extensions.
7. Postman
ext install Postman.postman-for-vscode
Note: The Postman extension requires a free Postman account.
Postman is awesome! I use it all the time to generate API docs and test my various APIs. I was quite pleased to find that they had a VS Code extension, so I don't have to go back and forth between windows now.
After installing the extension and signing in, I can see all my request, and easily make API requests in VS Code:
You can also use the Postman browser extension to intercept API requests made by websites and modify or copy them in your code editor or the Postman app. Super handy!
Features:
- Sync requests and environments with your account
- Make
GET
,POST
, etc. requests, WebSocket connections, and more - Synchronize request cookies from your browser
- Generate API docs from your Postman API request (collections)
That's it, guys! Hopefully you found this article interesting and useful. Let me know what you think in the comments.
Check out my next article here!
Top 5 AI Models YOU Can Run Locally on YOUR Device! π€―
Best Codes γ» Sep 17
Every part of this article is hand-written, no AI used! I might have made a few mistakes. If you find any, point them out to me in the comments! Article by BestCodes.
Top comments (56)
I mostly wrote this post because I was sad to see a lot of clickbait, low effort, or misinformation posts spreading. It may seem a bit redundant, but this is a real, accurate post written by a human β it would be nice if you can support it by liking it. π
Thank you!
Thanks very much. I am so tired of seeing those AI-generated posts, even on Twitter (X now). Those poor, low effort content creators are shameless
Glad I could help. π
ikr, all the ai JUNK is driving me crazy, i can't find good content anymore
Junk in general drives me crazy. As long as AI content is good, I'm fine with it, but unchecked effortless garbage is not only annoying but also harmful.
yeah
Not only they unchecked the content, they also repeated in posting them week to week π
That's also bothersome. :D
Often, the same post contains the same extension more than once as well. π
Thanks for the feedback, everybody. :D
I don't know man. Not sure how Code Snap helps me to develop faster. Would have loved some extensions that actually help and an explanation why. For example
I hope you get the idea. Every extension is still debatable, but these are actually ones that help you develop faster (as your title suggests)
As I said in my post:
I also like all the extensions you suggested. :)
Ah nevermind then. I must have overread this and focused to much on the title :D Fair point then
:) I can see where you're coming from. I might make some edits just to make things a bit clearer.
Thanks for the feedback!
Remove postman (paid) and replace by ThunderClient (free for private use and just excellent with a tremendous support)
Postman is free.
Not really postman.com/pricing/
It's worked fine for me:
One thing I would love about codesnap is to be able to configure the background/padding size. But anyway it's already very much usable and appreciated.
Yeah, it would be nice. I think there are some variants of it that might be more customizable, but I like CodeSnap because it's simple.
Absolutely :)
I dont like the postman plugin at all, I use the REST Client plugin.
Running api calls from a plain text file means I can easily add them to git along with the source code.
Cool! I'll check that out.
Thank you so much for sharing, awesome list! I would like to recommend one more, that shows errors inline with the code. It works flawlessly with JS/TS and Go.
marketplace.visualstudio.com/items...
I checked out Error Lens and I love it! I might have to add that one in if I make another post.
Love this!!!!
Glad you enjoyed! :D
Cool, some plugins I have never heard of,thanks for listing some new things.
Glad you liked it :)
Postman is banned from my job.
Codeium looks interesting. It supports a ton of languages.
Why is Postman it banned?
Codeium is nice! :D
It was really informative π―/π―.
Awesome, thank you!
ππ Thanks
Glad you enjoyed. :)
Thanks for the article. I will have to try Codeium and Live Share.
One hint for you, in the codesnap section,
Factorial != Fractal
:)
Thank you!
Thanks for the hint. π€ͺ
awesome, i love it!!
Thanks! Glad you enjoyed!
π
π I can smile bigger :D
Hey liked your article even I have also written a similar article you can check here
dev.to/prankurpandeyy/10-vs-code-e...
Thanks for sharing!
i'm gonna look at it
interesting perspective on all the listicles right now maybe it could a bit nicer but i do agree and good job!!
Thanks for the following up so quickly! I'll try to edit the post to be a bit nicer. Are there any specific areas for improvement?
Some comments may only be visible to logged-in visitors. Sign in to view all comments.