Personal VS Code+Hashnode extension (using RSS)

Personal VS Code+Hashnode extension (using RSS)

Just another VS Code Extension


3 min read

Intro πŸ’»

RSS is a web feed that allows users and applications to access updates to websites in a standardized, computer-readable format.

Visual Studio Code is full of amazing extensions that make our life simple. I was curious about how these extensions are made and published in the marketplace.

I decided to look up the docs that VS Code offers to make extensions. This document is really thorough and very well documented. We install the yo library and generator code library to start with.

What I Have Made? ⚑️

The extensions can be made using JavaScript or TypeScript. I have used JavaScript to make a Hashnode Blogs Search extension which only searches my blogs within VS Code and opens it on the browser on command. I have used the rss.xml file instead of Hashnode API in the project.

async function activate(context) {
  // you can replace the rss.xml file with yours to get your blogs
  const res = await axios.get("");
  const articles = xmlParser.parse( => {
    return {
      label: article.title,

My project structure looked like this:


We have to work on extension.js as it will have all our code.

How to? πŸ’‘

  1. First open VSCode and press Ctrl+Shift+P on your keyboard(after installing the extension).

  2. Type in 'Search Hashnode Blog' in the space and press enter.

  3. Choose a Blog

Requirement/Dependencies πŸ€–

  1. Hashnode Blog Account

  2. npm and NodeJS

  3. VS Code API

  4. Axios Package

  5. XML-Parser Package

  6. Microsoft Workspace Account

Publishing extension πŸŽ†

  • We will install the library by
  • We can only publish extensions using Personal Access Tokens

Visual Studio Code uses Azure DevOps for its Marketplace services. This means that authentication, hosting, and management of extensions are provided through Azure DevOps.

vsce can only publish extensions using Personal Access Tokens. You need to create at least one in order to publish an extension.

  • After that we will create an Azure DevOps account here

  • We will create an organization and then generate the Personal Access Tokens.

  • To manage extensions we will open and fill out all the necessary information. Remember the id of your publisher that will be shown on the web. The highlighted one is the id.


  • We will go to the official document under Create to the publisher and follow the commands
  • You can publish an extension using vsce with the publish command:

This command will ask for the personal access token, if you haven't already provided it with the vsce login command above.

  • Modify the
``` to remove all the errors that occurred while publishing because this Readme file is what shows up in your extension. 

After it is verified in the marketplace our extension gets onto the VS Code.

**Our Extension Is LIVE!!**  

*It can be downloaded by anyone across the entire world.*


**Links:** πŸ“Œ
- [My GitHub Repo](
- [My Extension Marketplace](
- [VS Code Offical Docs](

Did you find this article valuable?

Support Anirudh Panda by becoming a sponsor. Any amount is appreciated!