

Go ahead and debug your newly developed extension.


You can use the built-in Terminal for Visual Studio Code to use npx to run local copies of yo and generator-code and then run the command yo code to initialize your new project:Īt this point, Yeoman will run the Code generator. generator-code - a Yeoman generator for writing Visual Studio Code extensions.yo - a command-line interface for Yeoman.To get started with developing VS Code Extensions, you’ll need two different npm packages: The Visual Studio Code team created a generator for creating extensions, which generates all of the necessary starter files to begin creating your extension. This tutorial was verified with Node v14.4.0, npm v6.14.5, yo v3.1.1, and generator-code v1.2.16. Node.js installed on your machine following How To Install Node.js and Create a Local Development Environment.Download and install the latest version of Visual Studio Code.To complete this tutorial, you will need: In this article, you’ll create your first Visual Studio Code extension. When you can’t find an extension that does exactly what you need, it is possible to create your own. It offers extensions that you can install through the Visual Studio Code Marketplace for additional features in your editor. Visual Studio Code is a code editor from Microsoft available on Windows, Linux, and macOS.
