🌐
Visual Studio Code
code.visualstudio.com › api › get-started › your-first-extension
Your First Extension | Visual Studio Code Extension API
November 3, 2021 - Open with `code` Inside the editor, open src/extension.ts and press F5 or run the command Debug: Start Debugging from the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)). This will compile and run the extension in a new Extension Development ...
🌐
Microsoft Learn
learn.microsoft.com › en-us › shows › visual-studio-toolbox › creating-a-visual-studio-code-extension
Creating a Visual Studio Code Extension | Microsoft Learn
Hasan shows how to create a Visual Studio Code extension. Chapters 00:00 - Introduction 01:50 - What do you need to install first? 03:30 - Creating a new extension using the Visual Studio Code Extension Generator 05:00 - Examining the extension project and code 07:45 - Running and debugging the extension 09:00 - Modifying the extension to create a new tab 11:00 - Using HTML to display text in the tab 12:45 - Using Javascript to change colors in the tab 16:45 - Passing messages in the extension 20:20 - Publishing an extension 21:20 - Creating an organization and a personal access token in Azure
Discussions

The Rollercoaster of Building a VSCode Extension – AMA
Thank you for the lessons learned! I am the developer for the MeerkatIO extension and I am currently working on that delicate dance with web views. Do you have any recommended references or samples you worked from that I may have missed? More on reddit.com
🌐 r/vscode
9
50
May 8, 2024
Anyone use VSCode? What's your Top Tools/Extensions?
Yes. Add Claude. All you need More on reddit.com
🌐 r/vibecoding
18
5
January 31, 2026
What VSCode extensions are your favorites? Which ones do you consider mandatory for your workflows?
The remote (ssh|wsl|docker) extensions by far. But it almost isn't fair including those since they are developed by Microsoft, and described in the official docs. Past that indent-rainbows is pretty important. I work with a lot of yaml, python, and so on where getting indention right is essential. The ansible plugin is pretty important since I use ansible for lots of the stuff I do. More on reddit.com
🌐 r/vscode
27
41
March 16, 2023
Best Vs code extension in 2024 for web dev
Auto rename tag's functionality is built into vscode now. More on reddit.com
🌐 r/webdev
81
160
September 1, 2024
🌐
Visual Studio Code
code.visualstudio.com › api
Extension API | Visual Studio Code Extension API
November 3, 2021 - Visual Studio Code has a rich extension API. Learn how to create your own extensions for VS Code.
🌐
Visual Studio Code
code.visualstudio.com › api › extension-guides › overview
Extension Guides | Visual Studio Code Extension API
November 3, 2021 - While the Extension Capabilities section offers high-level overviews of what an extension can do, this section contains a list of detailed code guides and samples that explains how to use a specific VS Code API. ... Thoroughly commented source code. A gif or image showing the usage of the sample extension. Instructions for running the sample extension.
🌐
Microsoft Learn
learn.microsoft.com › en-us › visualstudio › extensibility › starting-to-develop-visual-studio-extensions
Start developing Visual Studio extensions - Visual Studio (Windows) | Microsoft Learn
October 30, 2025 - You need to install the Visual Studio SDK in addition to Visual Studio in order to develop Visual Studio extensions. You can install the Visual Studio SDK as part of regular setup, or you can install it later on.
🌐
Syncfusion
syncfusion.com › blogs › blazor › creating extensions for visual studio code: a complete guide
Creating Extensions for Visual Studio Code: A Complete Guide | Syncfusion Blogs
July 22, 2025 - I hope you found this article useful. Now you know how to create a Visual Studio Code project template, build a palette extension to use that project template, and publish the extension on the VS Code Marketplace for other developers to use.
🌐
GitHub
microsoft.github.io › vscode-essentials › en › 10-create-an-extension.html
Create Your First Extension · Visual Studio Code - The Essentials
For this example, we will create an extension that adds a command to the command palette. Choose the first option, then fill in the requested fields as follows: Then open the generated project in VS Code, and open the file package.json. This file contains information about your extension, like its name, version, description, etc.
🌐
Codesphere
codesphere.com › articles › build-your-own-vs-code-extension
Build your own VS Code extension
February 27, 2025 - This tutorial serves as a comprehensive guide for creating a Visual Studio Code extension from scratch. We utilized the template provided to build an extension that interacts with a running Llama.cpp instance on localhost:8080.
Find elsewhere
🌐
freeCodeCamp
freecodecamp.org › news › making-vscode-extension
How to Make Your Own VS Code Extension
June 4, 2020 - This article will cover basic steps ... VS Code extension. Along the way I'll share what I learned from making one for the first time. I am not an expert at this yet, but I can truly say that nothing is as hard as it seems. ? If you opened this article, you have probably at least heard about VS Code (or Visual Studio Code). If not, it's basically a light-weight code editor developed by ...
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-create-your-first-visual-studio-code-extension
How To Create Your First Visual Studio Code Extension | DigitalOcean
June 9, 2021 - Go ahead and debug your newly developed extension. Then, open up the command palette and run Create Boilerplate (remember we changed the name). After running the command, you’ll see the newly generated index.html file and a message to let the user know: To learn more about what APIs there are to use and how to use them, read through the Visual Studio Code Extension API documentation.
🌐
Opensource.com
opensource.com › article › 20 › 6 › vs-code-extension
How to write a VS Code extension | Opensource.com
Add missing features by writing your own extension for the popular code editor. ... Visual Studio Code (VS Code) is a cross-platform code editor created by Microsoft for Linux, Windows, and macOS. Unfortunately, Microsoft's version of VS Code is released under the Microsoft Software License, which is not an open source license.
🌐
DEV Community
dev.to › symflower › getting-started-with-visual-studio-code-extension-development-56g2
Getting started with Visual Studio Code extension development - DEV Community
March 16, 2022 - In the GUI, go to “Extensions” and click the three horizontal dots at the top of the left sidebar. Click “Install from VSIX…” and select your VSIX file. And that’s it!
🌐
DEV Community
dev.to › dusan100janovic › create-a-visual-studio-code-extension-1i7c
Building a Visual Studio Code Extension to Generate Files from Templates - DEV Community
September 9, 2024 - Create the Visual Studio Code extension project (research the docs, and set up the basics). Implement a command to generate files based on a template. Add this command to the context menu, available when right-clicking on directories.
🌐
InfoWorld
infoworld.com › home › software development › development tools
How to create your own Visual Studio Code extension | InfoWorld
January 30, 2020 - Visual Studio Code extensions are written in JavaScript, as is much of Visual Studio Code. If you don’t know about the Node.js JavaScript runtime, or JavaScript itself, read up on them first. You can optionally use TypeScript to develop Visual Studio Code extensions, but we’ll use JavaScript here since it’s more widely known.
🌐
Snyk
snyk.io › blog › modern-vs-code-extension-development-tutorial
Modern VS Code extension development tutorial: Building a secure extension | Snyk
October 2, 2023 - It takes the extension generator a few moments to scaffold your project. Once complete, it asks you if you would like to open the project in whatever edition of VS Code is available on your system. Confirm this by clicking Enter. This opens the project's source code in a new VS Code window: Please note: In this tutorial, Visual Studio Code 1.79, npm 9.5.1, and Yeoman 4.3.1 are used.
🌐
Reddit
reddit.com › r/vscode › the rollercoaster of building a vscode extension – ama
r/vscode on Reddit: The Rollercoaster of Building a VSCode Extension – AMA
May 8, 2024 -

Hey everyone!

In the last several months, I built a VSCode extension, which you can check out right here. It's called Sherlock - i18n inspector and helps people do i18n/internationalization in their projects. It replaces the famous i18n-ally extension, which hasn't been updated in months and seems unmaintained.

This journey was packed with twists and turns, so I thought I'd drop some lessons learned and open up a discussion for anyone diving into similar projects.

First and foremost, the VSCode extension API is awesome. It was overall a breeze to work with, and the documentation is helpful. Also, if you jump into the vscode Issues on GitHub, they will answer. Huge +1.

But, there were also challenges, and I tried my best to summarize the main ones.

Going Functional: We decided to roll with functional programming. It made our code cleaner and more predictable but integrating with APIs not built for it was like fitting a square peg in a round hole (looking at you, `Tree View API`). It definitely made us think twice about how to handle external libraries without tossing our FP principles out the window.

WebView's: We leaned heavily on WebViews for the snazzy parts of the UI, and let me tell you, it's a wild ride :'). They're super powerful, but the communication setup between the extension and the WebView content is a delicate dance. We had to get really creative with message handling to keep things running smoothly. Also, it seems we are among the first to successfully ship lit Web Components into a WebView because I literally couldn't find anything regarding this topic.

Lifecycle: Keeping track of the extension's lifecycle was a kind of hard. Initializing, adapting to workspace changes, and shutting down without leaving a mess required more attention to detail than I anticipated. (for people not familiar, you basically need to register commands for your actions and a lot of other things).
It's like keeping plates spinning—drop one, and things get messy fast. We are still figuring things out on this end.

Testing: Setting up E2E tests? It took us several days. Trying to mimic real user interactions in a VSCode environment was tougher than expected. We mixed unit tests, integration tests, and a bunch of manual poking around to get it right.

Would love to hear from any of you who've tackled these challenges or are thinking about it. Got any stories or tips?


Disclaimer: This is not to blame anyone's work involved. We're happy to be involved in such a vibrant extension ecosystem & happy to contribute to it by sharing our experience.

🌐
Medium
charleswan111.medium.com › step-by-step-guide-to-building-a-vscode-extension-52e2c59e8ee2
Step-by-Step Guide to Building a VSCode Extension | by Charles Wan | Medium
January 27, 2025 - my-vscode-extension/ │ ├── .vscode/ # Debugging configuration ├── src/ # Source code (for TypeScript projects) │ └── extension.ts ├── package.json # Extension metadata and dependencies ├── tsconfig.json # TypeScript configuration ├── README.md # Extension description └── CHANGELOG.md # Changes between versions
🌐
Medium
medium.com › @vivek888chavan › how-i-created-my-first-vs-code-extension-0a46610ef1cf
How I Created My First VS Code Extension | by Vivekchavan | Medium
March 21, 2025 - If you’re thinking about creating your own extension, start small, find an open-source project to reference, and build on top of it. Would love to hear your thoughts or feature requests!
🌐
Snyk
snyk.io › blog › modern-vs-code-extension-development-basics
Modern VS Code extension development: The basics | Snyk
September 14, 2023 - In this part of our Modern VS Code extension development series, we'll discuss various extension types, delve into the typical architecture of VS Code extensions, and learn about some best practices for VS Code extension development. This article serves as your primer, laying a solid foundation before we dive deeper in the next post. In the Visual Studio Code Marketplace, extensions and plugins are gathered into groups known as extension types or categories (based on their different functions and features). The easiest way to access these categories is via the web version of the marketplace, but you can also access them through Visual Studio Code's Extensions view UI using the @category: tag in the search bar:
🌐
Medium
sandydev.medium.com › creating-your-first-vs-code-extension-ae930c89d5b3
From Idea to Reality: Creating Your First VS Code Extension | Medium
July 29, 2023 - From Idea to Reality: Creating Your First VS Code Extension How to create your own visual studio code extension with step-by-step guide + code examples Introduction In today’s fast-paced world of …