Visual Studio Code: Building an Extension

Visual Studio Code: Building an Extension

1h 39mIntermediate2020-02-11

Authors

Ray Villalobos

Ray Villalobos

Senior Staff Instructor at LinkedIn Learning

Course details

If you're using Visual Studio Code to create websites and applications, then you're already using the tools you need to customize Visual Studio Code itself. In this course, learn how to make Visual Studio Code do what you want by building extensions. Instructor Ray Villalobos steps through how to apply web development tools and APIs to create a new tool in Visual Studio Code, which you can customize to add your own functionality. Learn how to modify themes, automate tasks by adding commands, and even publish your extensions so that others can leverage what you've built.

Topics include:
- The different types of Visual Studio Code extensions
- Creating a theme extension
- Publishing and packaging extensions
- Creating code snippets and converting them into extensions
- Adding multiple commands to run tasks

Skills covered

Visual Studio CodeMicrosoft DevelopmentMicrosoftSoftware DevelopmentDeep Dive (X:Y)

Concepts

Introduction

  • Why build a VS Code extension
  • How to use the exercise files

Getting Started

  • VS Code extension types
  • Preparing for development
  • Scaffolding an extension

Creating Theme Extensions

  • Theme extensions structure
  • Language definitions and themes
  • Options in the theme format
  • Modifying your theme
  • Publishing and unpublishing
  • Packaging extensions

Building Other Extensions

  • Creating a code snippet
  • Converting snippets as extensions
  • Using commands
  • Finding included commands
  • Adding multiple commands

Conclusion

  • Next steps
40,000 Toman