Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Create your first VS Code extension

Create your first VS Code extension

Niklas Kiefer

February 17, 2020
Tweet

More Decks by Niklas Kiefer

Other Decks in Programming

Transcript

  1. 3

  2. 4

  3. 6 Extension Capabilities Common Capabilities Registering commands, configurations, keybindings, or

    context menu items Storing workspace or global data Displaying notification messages Using Quick Pick to collect user input Open the system file picker to let users select files or folders
  4. 7 Extension Incapabilities No DOM Access :( > Extensions have

    no access to the DOM of VS Code UI. You cannot write an extension that applies custom CSS to VS Code or adds an HTML element to VS Code UI https://code.visualstudio.com/api/extension-capabilities/overview#no-dom-access
  5. 11 There’s more • Creating (Integration) Tests • Publish to

    Marketplace • Native Commands • Source Control • CI Have a look at this Extensions Guide
  6. 12 Further Reading • VS Code Extension API Docs •

    Extension Samples • randomcatpick final extension