#VSC Extension Quick Start
- This folder contains all of the files necessary for your color theme extension.
package.json
- this is the manifest file that defines the location of the theme file and specifies the base theme of the theme.themes/Violet Dream-color-theme.json
- the color theme definition file.
- Press
F5
to open a new window with your extension loaded. - Open
File > Preferences > Color Themes
and pick your color theme. - Open a file that has a language associated. The languages' configured grammar will tokenize the text and assign 'scopes' to the tokens. To examine these scopes, invoke the
Developer: Inspect Editor Tokens and Scopes
command from the Command Palette (Ctrl+Shift+P
orCmd+Shift+P
on Mac).
- Changes to the theme file are automatically applied to the Extension Development Host window.
- The token colorization is done based on standard TextMate themes. Colors are matched against one or more scopes.
To learn more about scopes and how they're used, check out the color theme documentation.
- Have the vsce package globally installed with the command
npm i -g vsce
. - Upgrade the version inside the
package.json
file. - Commit and Push to the repository.
- Once changes are done, run the command
vsce package
. - Upload the newly .vsix file to VSC Marketplace.