Skip to content

Package VSCode color theme .json files into .vsix packages

License

Notifications You must be signed in to change notification settings

cfuendev/ct2vsix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ct2vsix Python logo

A simple tool to quickly package VSCode color theme .json files into .vsix packages instead of having to create a project and package it with yeoman.

Usage

Just execute the script with the Python interpreter:

py tools/ct2vsix.py your_colors.json

A little temp folder will be created, that's where the package will be created. During the packaging process, you will be prompted for input twice. Both times you have to agree by typing 'y' and hit enter.

WARNING  A 'repository' field is missing from the 'package.json' manifest file.
Do you want to continue? [y/N] y

WARNING  LICENSE.md, LICENSE.txt or LICENSE not found
Do you want to continue? [y/N] y

And that's it! You will find your_colors-0.1.0.vsix chilling where you ran the script and the temp folder will be gone. Now you can manually install the extension, without having to distribute in the VSCode Marketplace, which is an unnecesary and convoluted process if all you want to do is rice VSCode.

Dependencies

Since this depends on the VSCode Extension Manager (a.k.a vsce) for packaging, you must install vsce beforehand with your favorite node package manager.

npm install -g vsce
# or
yarn global add vsce
# or
pnpm install -g vsce

About

Package VSCode color theme .json files into .vsix packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages