I was very excited about this when I first heard about it, but I'm curious as to why ImageMagick is required for it to work properly?
I haven't developed an extension for Sublime before, so I'm almost certain theirs a good valid reason as to why it's needed, but can't Sublime already parse colours, for the theme colours and whatnot?
Is there some reason an extension couldn't just use Sublimes built in colour stuff to look at the hex code on a line and place that into the sidebar?
Again, I've never created an extension for Sublime before, and I have heard it's got a few limitations in regards to what can be done. I'm not trying to nock the developer of this extensions, just curious as to the reasoning to use ImageMagick is all. :)
Totally agree with the hesitance in adding a dependency for something so trivial.
Fortunately, it's not only possible, it's been around since ST2 in the form of ColorHighlighter.
Check out the two alternatives I presented a bit down in this thread.
These look good -- is there variable support for preprocessors?
At least, LiveCSS has
Thank god I read your comment. 'ColorHighlighter' is awesome!
Thanks for your feedback!
Do these support ST3? Couldn't find either in ST3's package control.
At least ColorHighlighter supports ST3... I don’t remember if I installed it through package manager or I added the GitHug repository, but it works.
I really do love the idea, but until it supports preprocessor variables, it’s not that helpful to me. Luckily, I did read that preprocessor variable support is on the roadmap…
Julian, LiveCSS has preprocessor support.
I've installed this and now Sublime's package control is dead.
I know this is a bit old, but do you know if there is a way to do this with Sublime Text 2?