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.
Best Vs code extensions you use?
Easy-LESS, and CSS Variable Autocomplete The last one is a big-time saver. More on reddit.com
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
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
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
Videos
24:51
How To Create And Deploy A VSCode Extension - YouTube
32:48
Creating a Visual Studio Code Extension - YouTube
23:24
Full Tutorial | Build A VSCode Extension - YouTube
52:36
Build a Useful VS Code Extension in 50 Minutes (Step-by-Step) - ...
Building Your First Extension in VS Code
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.
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%
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.
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
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
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.