> <persquare(a)mac.com> wrote:
> Perhaps not exactly what you are looking for, but there is a bundle (by Hilton Lipschitz) for specifying themes in plain text files as comma separated values (CSV): <https://github.com/hiltmon/textmate-theme-csv>
> Additional blog writeup here: <http://hiltmon.com/blog/2013/02/22/multiple-themes-in-textmate-2/>
>
> I have a fork of the code with some additional features over at <https://github.com/persquare/textmate-theme-csv>
> In particular, you can set the gutter color(s), and it can do rudimentary highlighting of color codes by assigning them a scope with the color code appended at the end. In practice, it is only useful if you, like me, like to work with a limited set of colors since they need to be added to the theme used when editing themes... (makes your head spin, I know ;) Attached screenshot should clarify what it looks like.
>
> While not as easy to use as a GUI, plain text files allows you to easily track (and backtrack) changes to your theme(s).
Thanks, I’ll check it out. :)
> "Allan Odgaard" <mailinglist(a)textmate.org> wrote:
> Are you not seeing any styling of Markdown?
>
> Out-of-the-box there should be larger font size for headings, use of
> bold and italic, etc.
Yeah, out of the box Markdown does get highlighting, some themes work better than others. I’m trying to get granular control over the markdown highlighting so I can control all of the Atx-style headings (#, ##, ###, ####, #####, ######), bold, italic, and lists. I’ve been looking online but can’t find much info on how to target these things in a theme, especially the headings. In larger files I’d like to have a theme where I can tab indent headings and the content after them so it’s easier to follow.
The themes I find typically just have this, which controls all headings:
name = 'Heading';
scope = 'markup.heading, punctuation.definition.heading.markdown';
I would also like to see some kind of visual theme/grammar editor built into Textmate. I’m not a programmer so creating a theme or a new grammar isn’t easy for me (if not impossible). I’ve been able to modify some themes, but it would be nice to have a simple GUI (possibly with a feedback window of sample text) so I’d be able to even create themes for a new language without knowing the crazy grammar syntax (or even a new grammar for that matter). I’m sure it would be an involved process, but definitely worth it to me, even if it slowly grew over time. It would be nice to have simple options in a UI, and maybe even the ability to place your cursor in an open file which would allow you to edit the highlighting for that part of the grammar.
On a related topic, I’d love to see an enhanced Markdown theme (if one doesn’t exist). I’m using Markdown more and more for general notes and some html. Would be nice to have some highlighting for bold, em, links, lists, maybe even variations for # heading levels, tabbed indents for heading levels and associated content, etc.
thanks
Hi,
when I put my cursor in the word "transform" and select enclosing typing pairs, it selects the whitespace too, for some reason:
If I don't have the opening curly brace on it's own line, it works correctly:
Any ideas?
Fabian
Thanks Graham. The uuidgenerator worked great. That was the missing key in the theme files.
<graham.p.heath(a)gmail.com> wrote:
> If you rename the file to themeName.plist from themeName.tmTheme, you can
> open it with Xcode. You should then see a tree with "Root" and under that,
> various fields.
>
> There should be a uuid field, if not you can add it.
>
> To get the key, you just run "uuidgen" in your Terminal. If that sounds
> scary, https://www.uuidgenerator.net/ will make you one.
Thanks. I tried adding some themes from that site to Textmate but I get an error that they are “malformed.”
"The bundle item lacks mandatory keys in its property list file.”
Any idea of what needs to be fixed in this files to get them to work?
> <me(a)igorkozlov.me> wrote:
>
> Try this one. It also has some Markdown themes. Many themes there are optimized for Sublime Text, but should for in TextMate too.
> https://tmtheme-editor.herokuapp.com/
>