My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
My First VS Code Extension

My First VS Code Extension

Arjun Komath's photo
Arjun Komath
·Feb 25, 2018

Finally, after playing around with VS Code a lot, I decided I should publish a plugin. I had a few ideas in mind, mostly minor helpers that would help me in my work.

So, I started off with a simple yet useful extension. I work with Javascript code every day, it could be React or NodeJS, mostly microservices build on AWS Lambda. I used to manually add comment blocks to the top of the files, describing what, when, whys etc of the file, so that whenever a new developer goes through the code, it will be more readable and he/she can get started with code easily and quickly. To automate this process I created the JS File header extension, which on activating will add a comment block to the top of your file and you can update the content. It also automatically adds the author details, created at and last modified at information (which is updated whenever you save the file).

Its published on the VS Code marketplace and available for download, you can download it here: marketplace.visualstudio.com/items?itemName..

If you feel like contributing to the project, I'm more than welcome, checkout the code in github: github.com/arjunkomath/js-file-header-vscode

Cheers!