🌐
Visual Studio Code
code.visualstudio.com β€Ί api β€Ί get-started β€Ί your-first-extension
Your First Extension | Visual Studio Code Extension API
November 3, 2021 - You can find the source code of this tutorial at: https://github.com/microsoft/vscode-extension-samples/tree/main/helloworld-sample. The Extension Guides topic contains other samples, each illustrating a different VS Code API or Contribution Point, and following the recommendations in our UX Guidelines. In this guide, we mainly describe how to develop VS Code extension with TypeScript because we believe TypeScript offers the best experience for developing VS Code extensions.
🌐
Visual Studio Code
code.visualstudio.com β€Ί api β€Ί extension-guides β€Ί overview
Extension Guides | Visual Studio Code Extension API
November 3, 2021 - Here are the guides on the VS Code website, including their usage of the VS Code API and Contribution Points. Don't forget to refer to the UX Guidelines to learn the user interface best practices for creating extensions.
Discussions

Best Vs code extensions you use?
Easy-LESS, and CSS Variable Autocomplete The last one is a big-time saver. More on reddit.com
🌐 r/Frontend
68
68
December 10, 2023
What is your favourite vs code extension?
Live Share. It just works, it’s fast, and it even lets you share the terminal. More on reddit.com
🌐 r/vscode
88
117
April 13, 2024
What VS Code extensions do you actually enjoy/use
Peacock. You can use it to change a color of vscode based on a project. Useful if you are working with multiple projects at the same time. More on reddit.com
🌐 r/webdev
85
178
June 17, 2024
Top VS Code Extensions That Make Your Life Easier as a Programmer
Ok fine, but here are some way better ones Excalidraw Git Graph Thunder Client (rest client) ToDo Tree Headwind (tailwind class sorter) And of course Gruvbox Theme More on reddit.com
🌐 r/programming
108
337
April 25, 2024
🌐
Snyk
snyk.io β€Ί blog β€Ί modern-vs-code-extension-development-tutorial
Modern VS Code extension development tutorial: Building a secure extension | Snyk
October 2, 2023 - In our first modern VS Code extension development blog post, we covered the basics of VS Code development, including the architecture and the various types you can create. This article will help you apply that knowledge by showing you how to create and code your very own VS Code extension. In this tutorial, you'll learn how to build a multifunctional extension for VS Code that will teach you how to implement different types of extensions.
🌐
freeCodeCamp
freecodecamp.org β€Ί news β€Ί making-vscode-extension
How to Make Your Own VS Code Extension
June 4, 2020 - By Pramono Winata I just made my first VS Code extension. And it felt good! This article will cover basic steps to help you create your own VS Code extension. Along the way I'll share what I learned from making one for the first time. I am not an
🌐
GitHub
github.com β€Ί microsoft β€Ί vscode-extension-samples
GitHub - microsoft/vscode-extension-samples: Sample code illustrating the VS Code extension API. Β· GitHub
You can read, play with or adapt from these samples to create your own extensions. ... You need to have node and npm installed on your system to run the examples. It is recommended to use the node version used for VS Code development itself which is documented here Β· git clone https://github.com/Microsoft/vscode-extension-samples
Starred by 10K users
Forked by 3.9K users
Languages Β  TypeScript 79.1% | JavaScript 15.1% | Rust 3.4% | CSS 1.4% | Jupyter Notebook 0.8% | HTML 0.2%
🌐
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.
🌐
Udemy
udemy.com β€Ί development
Visual Studio Code Extension Development
November 28, 2017 - Discover how to develop Visual Studio Code extensions with a lightweight, cross-platform editor that supports many languages, benefits from an active community, and is easy to hook up through documentation.
Rating: 3.7 ​ - ​ 55 votes
🌐
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 - This article provides the complete steps to create and use extensions in Visual Studio Code to boost your productivity in creating web projects.
Find elsewhere
🌐
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 - Extension name: Provide a name for your extension. Directory: Choose where to create the project. ... 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
🌐
Codesphere
codesphere.com β€Ί articles β€Ί build-your-own-vs-code-extension
Build your own VS Code extension
February 27, 2025 - The VS Code extension will be a TypeScript project, and for the webview, we will use Svelte as the frontend framework. We have prepared a VS Code extension development template so that you can clone this repository and get started right away: GitHub repository: https://github.com/codesphere-cloud/vscode-extension-template
🌐
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 the "Modern VS Code Extension Development" series, you'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.
🌐
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
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 ...
🌐
Opensource.com
opensource.com β€Ί article β€Ί 20 β€Ί 6 β€Ί vs-code-extension
How to write a VS Code extension | Opensource.com
Next, look at src/extension.ts, which should look something like this: // The module 'vscode' contains the VSCodium extensibility API // Import the module and reference it with the alias vscode in your code below import * as vscode from "vscode"; const fs = require("fs"); const path = require("path"); // this method is called when your extension is activated // your extension is activated the very first time the command is executed export function activate(context: vscode.ExtensionContext) { // Use the console to output diagnostic information (console.log) and errors (console.error) // This li
🌐
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 - > hello-world@0.0.1 vscode:prepublish /src/hello-world > npm run compile > hello-world@0.0.1 compile /src/hello-world > tsc -p ./ ERROR Make sure to edit the README.md file before you package or publish your extension.
🌐
GitHub
microsoft.github.io β€Ί vscode-essentials β€Ί en β€Ί 10-create-an-extension.html
Create Your First Extension Β· Visual Studio Code - The Essentials
let disposable = vscode.commands.registerCommand('vscode-overflow.search', async () => { // Retrieve the selected text let query = vscode.window.activeTextEditor?.document.getText(vscode.window.activeTextEditor.selection); if (!query) { // Ask the user to enter a question query = await vscode.window.showInputBox({ placeHolder: 'question', prompt: 'Search on StackOverflow' }); } const uri = vscode.Uri.parse(`https://stackoverflow.com/search?q=${query}`); // Open the browser with the search await vscode.commands.executeCommand('vscode.open', uri); Now, press F5 to test your extension.
🌐
Medium
medium.com β€Ί @maffelu β€Ί developing-a-vs-code-extension-that-work-with-js-ts-files-as-asts-57d0eed22823
Developing a VS Code Extension that work with JS/TS files as ASTs | by Magnus ferm | Medium
June 18, 2024 - It all starts in the auto generated src/extension.ts file where we initiate a subscription to the command event. If we start by cleaning up all the comments in the file, we are left with something like this: import * as vscode from "vscode"; export function activate(context: vscode.ExtensionContext) { console.log('Congratulations, your extension "ad-hoc-doc" is now active!'); let disposable = vscode.commands.registerCommand( "ad-hoc-doc.addDocumentation", () => { vscode.window.showInformationMessage("Hello World from ad-hoc-doc!"); } ); context.subscriptions.push(disposable); } export function deactivate() {}
🌐
Swiftorial
swiftorial.com β€Ί tutorials β€Ί vs code β€Ί extensions β€Ί creating extensions
Creating Extensions | Extensions | Vs Code Tutorial
August 22, 2025 - Open the src/extension.ts file. Here is how to create a simple command that displays a message box. ... import * as vscode from 'vscode'; export function activate(context: vscode.ExtensionContext) { let disposable = vscode.commands.registerCommand('extension.helloWorld', () => { vscode.win...
🌐
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 - In this article, you’ll create your first Visual Studio Code extension. ... Download and install the latest version of Visual Studio Code. Node.js installed on your machine following How To Install Node.js and Create a Local Development Environment. This tutorial was verified with Node v14.4.0, npm v6.14.5, yo v3.1.1, and generator-code v1.2.16.
🌐
Brandonscott
brandonscott.me β€Ί posts β€Ί writing-and-publishing-your-first-visual-studio-code-extension
Writing and Publishing Your First Visual Studio Code Extension
β”œβ”€β”€ src # Source folder for the extension's TypeScript files β”‚ β”œβ”€β”€ test # Generated extension test suite β”‚ └── extension.ts # Entrypoint for the extension, defines activate/deactivate functions β”œβ”€β”€ .vscodeignore # Configuration file to exclude files/directories from the packaged extension β”œβ”€β”€ package.json # Package manifest file defining its name, author, dependencies, as well as extension-specific configurations: commands, activation events, and settings.
🌐
Medium
medium.com β€Ί @aleksandrasays β€Ί developing-vs-code-extensions-b6debc865a55
Developing VS Code extensions. This article is based on the talk I… | by Aleksandra Sikora | Medium
February 15, 2019 - VS Code Extension API gives me access to the currently active editor so that I can get to the content of the associated text document. ... Then I need to get some information about the file and the logs. I have a function that in a nutshell, for each console log, returns an object consisting of the number of bad words, the purified version, and the vscode.Range, which has two attributes: start and end position of the console log.