VSCode extensions every web developer should know in 2022
The community is one of the reasons why Visual Studio Code is the most popular code editor. Any product can become successful if it has a strong community behind it. The VSCode community has created numerous extensions to make development easier and to boost developer productivity. In this article, I'll share a few extensions that I've found helpful for web developers.
Let's get started
1. PWA studio
If you're building a Progressive Web App (PWA), PWA studio will come in handy.
- Start building your PWA from scratch with their starter template.
- Convert the existing app into a PWA.
- Package your PWA for different stores like Microsoft store, Apple app store, and more.
- Generate service workers and icons for different devices in order for your web app to be store-ready.
2. Import cost
Performance is an important aspect of a web application. The use of large npm packages reduces performance. The import cost extension displays the package size for each third-party import in a file. So that you may make better decisions about using third-party packages and adjust the way you import from third-party packages.
Do you hate documenting your code? No problem! Mintlify Doc Writer helps you generate nice documentation with a single click.
- Just highlight the code and hit
npm intellisense autocompletes npm modules in import statements.
5. REST Client
We have to use external tools like Postman to build or test REST APIs, which might be burdensome for small REST APIs or if you just want to test an endpoint quickly. As a solution, you may use the REST client vscode addon to test APIs right from the code editor. Handy! Handy!!
One of the most stressful movements for a developer is writing console log messages. In log statements, we often write shit. But, this extension allows you to create meaningful log messages with a single shortcut.
- Install the extension.
- Select a varible.
That's it! A logging statement will be added to the next line of the selected variable.
What makes you a good developer? - Writing comments. This plugin aims to make those remarks easier to read. Your comments can be divided into TODOs, Alerts, Highlights, and Queries.
In our react applications, we frequently write boilerplate code. We also hate writing boilerplate code. This extension consists of various of react/redux/react-native/graphql code snippets that can be inserted using simple prefixes.
9. CSS peek
CSS becomes increasingly jumbled as your codebase expands. Eventually, it becomes difficult to debug CSS and see the CSS for a class or id. CSS peep comes to the rescue. Simply hold
CTRL and hover over any class or id, and the extension will display CSS for that class or id.
What is your favorite VSCode extension? Share in the comments 👇.
I hope you found these extensions helpful. Subscribe to my newsletter to stay updated and never miss my upcoming articles.
LEAVE A COMMENT OR START A DISCUSSION
11 min read
Let's learn about APIs and how to create and sell one
If you are in tech, then you may have heard this popular term called "API". Some people use APIs for fun, some for money, and some for their applications. There are N ways you can use APIs. In this blog, let's learn what exactly is an API, how you can build your own API, and how you can monetize your API.
3 min read
Web 2.0 app architecture Vs Web 3.0 app architecture
If you are switching from web2 to web3 or if you want to learn web3 then you may have doubts about how web3 is different from web2? Are there any similarities? Can I directly jump into web3 without knowing web2 stuff?. So, in this blog, get answers to your questions by learning the architectures of both.