Hello,

I found a solution.

[ *{c,cpp} ]
tabSize          = 4
theme            = 71D40D9D-AE48-11D9-920A-000D93589AF6

Hope it will be useful to someone :)

Best

Il giorno 23 ago 2019, alle ore 15:51, Umberto Cerrato <umbertocerrato@outlook.it> ha scritto:

Hi,

I found the Global.tmProperties file. It does work. This is my “configuration”:

[ source.c ]
theme            = "71D40D9D-AE48-11D9-920A-000D93589AF6"
tabSize
= 4

However, I didn’t manage to have this configuration to work for other formats too. e.g. [ *.c,*.cpp ] does not work neither do [ source.c, source.cpp ] and [ text.c, text.cpp ]. What am I missing?

Best, u

Il giorno 23 ago 2019, alle ore 15:11, Umberto Cerrato <umbertocerrato@outlook.it> ha scritto:

Thank you Rob, I’ll try asap!

Best

Il giorno 23 ago 2019, alle ore 14:14, Rob McBroom <mailinglist0@skurfer.com> ha scritto:

On 23 Aug 2019, at 7:45, Umberto Cerrato wrote:

Is there a function to make TextMate 2 opens a certain file type using a specific theme? e.g. there is the default theme and then you can set TM to open html files using another theme.

This is what I have in ~/.tm_properties to make certain types open with a light theme.

[ text.plain,text.html,text.mail ]
theme = "3A9E8876-6DBD-4696-871F-95D340F8BA27"
As you can see, you need to provide the UUID for the theme, not the name.

-- 
Rob McBroom


_______________________________________________
TextMate mailing list
TextMate@lists.macromates.com
https://lists.macromates.com/listinfo/textmate


_______________________________________________
TextMate mailing list
TextMate@lists.macromates.com
https://lists.macromates.com/listinfo/textmate


_______________________________________________
TextMate mailing list
TextMate@lists.macromates.com
https://lists.macromates.com/listinfo/textmate