A bit more intrusive, but you can select a color and press CMD+SHIFT+C to display a color picker.
Thanks, I didn't know about this. It's a little cumbersome as you say, but it's better than nothing :-)
Also, I think displaying them in their own color could clash with theme
colors and make the string invisible. Unless some border and/or background is added.
I think you're right. I cant remember what editor I saw which uses this... maybe Atom or Sublime, and also vim with a plugin.
These plugins are also able to parse SASS includes, so they could interpret variables like $main_border_color I suspect this degree of parsing would never be possible in TM though, without quite a lot of core code changes
Koen
Verstuurd vanaf mijn iPhone
Op 24 mei 2016 om 05:47 heeft Carpii UK carpii.uk@gmail.com het
volgende geschreven:
I've seen various editors which can parse CSS or SASS files for rgb
color variables and then show the font in the same color
Is there any bundle which is able to do this for textmate?
I'm not entirely sure the bundle API is able to support such a feature. If not, could it be done with a plugin?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate