Home Download Buy Blog Forum Support

(osx|windows|linux) Color Scheme Editor (BETA)

(osx|windows|linux) Color Scheme Editor (BETA)

Postby facelessuser on Mon Apr 01, 2013 9:13 pm

This is a color scheme editor (tmTheme file editor) for Sublime Text (only tested on ST3 so far).

The editor live edits your theme file so you can watch the colors change in your editor. To protect against unwanted changes, the theme file is copied over to a temp directory (User/ColorSchemeEditorTemp), and set as your default theme before opening in the editor. If you would like to edit the original directly (as long as it is not inside a sublime-package archive), this can be disabled, and the editor will edit the theme file directly. When it saves the tmTheme file, it will also create a tmTheme.JSON file as well.

Transparent colors are also supported, but built in color pickers on systems don't usually have alpha support, so you have to add the alpha byte on manually via the text box. The editor will simulate how sublime will display the transparency color for you inside the editor.

  • Delete Record: press the delete key when selecting a row
  • Insert Record: press CMD + i OSX or CTRL + i Win/Linux
  • Move Setting (not for global settings): alt + up or alt + down
  • Edit Item: double left click or enter

Current Bugs
  • None

Questions:
Why are binaries so big?
Binaries are larger than you would think needed for this because these are python code compiled into binaries. They contain what they need from python so you don't have to have python installed on your system. Binaries on some platforms will be larger than others.

Source Code for Editor:
https://github.com/facelessuser/ColorSc ... GUI_Source
I will post instruction on how I compile it later.

I think most everything else is straight forward, so let's get to the good stuff...

Installation
  • Install the plugin from github (binaries for editor not included): https://github.com/facelessuser/ColorSchemeEditor
  • Download the binary for your platform and place it on your computer (the plugin is setup to look in your User folder, but you can change that in the settings file of the plugin to look elsewhere if desired)
  • Commands are available in the command palette

Windows
Image
Download: Windows 0.0.8

OSX
Image
Download: OSX 0.0.8

Linux
Image
Download: Ubuntu 12.10 32 Bit 0.0.8
Last edited by facelessuser on Sun Apr 14, 2013 10:33 pm, edited 15 times in total.
facelessuser
 
Posts: 1446
Joined: Tue Apr 05, 2011 7:38 pm

Re: (osx|windows|linux) Color Scheme Editor (BETA)

Postby facelessuser on Mon Apr 01, 2013 10:09 pm

OSX added
facelessuser
 
Posts: 1446
Joined: Tue Apr 05, 2011 7:38 pm

Re: (osx|windows|linux) Color Scheme Editor (BETA)

Postby ctruett on Tue Apr 02, 2013 5:49 am

Looks great! Now how do I access your plugin from within ST3?
ctruett
 
Posts: 11
Joined: Fri Mar 19, 2010 7:28 pm

Re: (osx|windows|linux) Color Scheme Editor (BETA)

Postby facelessuser on Tue Apr 02, 2013 6:15 am

If you added the commands to Default.sublime-commands, then you access it via the command palette. You can also create shortcuts if you prefer.
facelessuser
 
Posts: 1446
Joined: Tue Apr 05, 2011 7:38 pm

Re: (osx|windows|linux) Color Scheme Editor (BETA)

Postby facelessuser on Tue Apr 02, 2013 6:18 am

updated bugs list on OP.
facelessuser
 
Posts: 1446
Joined: Tue Apr 05, 2011 7:38 pm

Re: (osx|windows|linux) Color Scheme Editor (BETA)

Postby ctruett on Tue Apr 02, 2013 6:22 am

facelessuser wrote:If you added the commands to Default.sublime-commands, then you access it via the command palette. You can also create shortcuts if you prefer.


Oh wow, I feel silly now. I thought that was a syntax screenshot and skipped over it. Thanks!
ctruett
 
Posts: 11
Joined: Fri Mar 19, 2010 7:28 pm

Re: (osx|windows|linux) Color Scheme Editor (BETA)

Postby FaFiNoS on Tue Apr 02, 2013 9:04 am

Hi. Unfortunately is something wrong with OSX version. Plugin starting (icon appears in the dock) and quitting immediately. Tested on two different MAC's but both with OSX 10.8.2 and ST3 3022.
FaFiNoS
 
Posts: 6
Joined: Mon Apr 01, 2013 3:38 pm

Re: (osx|windows|linux) Color Scheme Editor (BETA)

Postby facelessuser on Tue Apr 02, 2013 1:35 pm

FaFiNoS wrote:Hi. Unfortunately is something wrong with OSX version. Plugin starting (icon appears in the dock) and quitting immediately. Tested on two different MAC's but both with OSX 10.8.2 and ST3 3022.


Can you give me some more info? How are you launching the program? If you click the program and try to run the program outside of Sublime Text, does it do anything differently?
facelessuser
 
Posts: 1446
Joined: Tue Apr 05, 2011 7:38 pm

Re: (osx|windows|linux) Color Scheme Editor (BETA)

Postby FaFiNoS on Tue Apr 02, 2013 1:51 pm

I am trying to launch app inside ST and from outside ST. Inside ST from Command Palette "Edit Color.....". There is no questions, messages, etc. icon appearing and disappearing in the dock. That's all. Outside ST from Finder or Path Finder. App asking me for theme file. If I chose it icon in the dock disappearing and thats all. Nothing happen more.
FaFiNoS
 
Posts: 6
Joined: Mon Apr 01, 2013 3:38 pm

Re: (osx|windows|linux) Color Scheme Editor (BETA)

Postby facelessuser on Tue Apr 02, 2013 1:56 pm

It sounds like when run outside of ST3, the program runs, but fails for some reason. Can you post the theme file you are trying to load when it asks you to select it? Maybe I am not handeling something proper...I need to add some kind of debugging to the app.

Also, what is the file path to the file? Maybe I am not handling some non-ascii path stuff?

When run from Sublime, do you see any errors in the console window in Sublime?
facelessuser
 
Posts: 1446
Joined: Tue Apr 05, 2011 7:38 pm

Next

Return to Plugin Announcements

Who is online

Users browsing this forum: Google [Bot] and 5 guests