tobiastimm / code-theme-converter

Convert any Visual Studio Code Theme to Sublime Text 3 or IntelliJ IDEA
MIT License
141 stars 11 forks source link

--as-tm-theme or -T option is ignored #57

Closed adamhsparks closed 1 year ago

adamhsparks commented 2 years ago

I've tried using the --as-tm-theme and -T options. Neither one results in a tmTheme file.

code2subl git@github.com:enkia/tokyo-night-vscode-theme.git --as-tm-theme
Fetching repo
Converting 3 themes
🎉 Successfully converted the vscode theme for sublime text!
Converting Tokyo Night Light
Converting Tokyo Night
Converting Tokyo Night Storm

Results in

ls Tokyo\ Night\ Light/
Tokyo Night Light.sublime-color-scheme  Tokyo Night Light.sublime-theme

No matter what I do. Am I misunderstanding how to use this tool? I expected a .tmTheme instead of .sublime-color-scheme as per the documentation.

ArtAndreev commented 1 year ago

It's fixed in master branch, but release isn't made. You can do the following:

  1. clone the repo git clone https://github.com/tobiastimm/code-theme-converter.git;
  2. cd code-theme-converter;
  3. install node if you don't have it, run npm i;
  4. npm run build;
  5. cd bin
  6. ./code2subl.js --as-tm-theme <your repo>. The output will be there too.
adamhsparks commented 1 year ago

Thank you!