Il giorno 26 ago 2019, alle ore 11:56, Umberto Cerrato <umbertocerrato@outlook.it> ha scritto:
Hi,
Yeah I knew that and in my properties file I wrote like you did. I already sent the mail then.
Anyway thank you.
About the source, I didn’t know that! (About it can match the language also if the extension is different)
And I didn’t know you can list them all together with quotes neither.
Thanks
U
Il giorno 26 ago 2019, alle ore 10:01, Allan Odgaard <mailinglist@textmate.org> ha scritto:
On 23 Aug 2019, at 16:14, Umberto Cerrato wrote:
I found a solution.
[ *{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The thing in the square brackets is a file system glob, which is what you currently use, but the one above also match files like fooc and foocpp (as there is no dot in the glob).
So instead you should want to use:
[ *.{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
As an alternative to a file system glob, it is possible to use a “scope selector” which would be source.c and source.c++, for example:
[ 'source.c, source.c++' ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The advantage with this is that it will target all C and C++ files, even if they do not have a .c or .cpp extension.
_______________________________________________
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
Da: Umberto Cerrato <umbertocerrato@outlook.it>
Oggetto: [TxMt] Re: Different Themes based on file type
Data: 26 agosto 2019 11:56:47 CEST
A: "[textmate]" <textmate@lists.macromates.com>
Rispondi a: TextMate users <textmate@lists.macromates.com>
Hi,
Yeah I knew that and in my properties file I wrote like you did. I already sent the mail then.
Anyway thank you.
About the source, I didn’t know that! (About it can match the language also if the extension is different)
And I didn’t know you can list them all together with quotes neither.
Thanks
U
Il giorno 26 ago 2019, alle ore 10:01, Allan Odgaard <mailinglist@textmate.org> ha scritto:
On 23 Aug 2019, at 16:14, Umberto Cerrato wrote:
I found a solution.
[ *{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The thing in the square brackets is a file system glob, which is what you currently use, but the one above also match files like fooc and foocpp (as there is no dot in the glob).
So instead you should want to use:
[ *.{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
As an alternative to a file system glob, it is possible to use a “scope selector” which would be source.c and source.c++, for example:
[ 'source.c, source.c++' ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The advantage with this is that it will target all C and C++ files, even if they do not have a .c or .cpp extension.
_______________________________________________
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
Da: Umberto Cerrato <umbertocerrato@outlook.it>
Oggetto: [TxMt] Re: Different Themes based on file type
Data: 26 agosto 2019 11:56:47 CEST
A: "[textmate]" <textmate@lists.macromates.com>
Rispondi a: TextMate users <textmate@lists.macromates.com>
Hi,
Yeah I knew that and in my properties file I wrote like you did. I already sent the mail then.
Anyway thank you.
About the source, I didn’t know that! (About it can match the language also if the extension is different)
And I didn’t know you can list them all together with quotes neither.
Thanks
U
Il giorno 26 ago 2019, alle ore 10:01, Allan Odgaard <mailinglist@textmate.org> ha scritto:
On 23 Aug 2019, at 16:14, Umberto Cerrato wrote:
I found a solution.
[ *{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The thing in the square brackets is a file system glob, which is what you currently use, but the one above also match files like fooc and foocpp (as there is no dot in the glob).
So instead you should want to use:
[ *.{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
As an alternative to a file system glob, it is possible to use a “scope selector” which would be source.c and source.c++, for example:
[ 'source.c, source.c++' ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The advantage with this is that it will target all C and C++ files, even if they do not have a .c or .cpp extension.
_______________________________________________
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
Da: Umberto Cerrato <umbertocerrato@outlook.it>
Oggetto: [TxMt] Re: Different Themes based on file type
Data: 26 agosto 2019 11:56:47 CEST
A: "[textmate]" <textmate@lists.macromates.com>
Rispondi a: TextMate users <textmate@lists.macromates.com>
Hi,
Yeah I knew that and in my properties file I wrote like you did. I already sent the mail then.
Anyway thank you.
About the source, I didn’t know that! (About it can match the language also if the extension is different)
And I didn’t know you can list them all together with quotes neither.
Thanks
U
Il giorno 26 ago 2019, alle ore 10:01, Allan Odgaard <mailinglist@textmate.org> ha scritto:
On 23 Aug 2019, at 16:14, Umberto Cerrato wrote:
I found a solution.
[ *{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The thing in the square brackets is a file system glob, which is what you currently use, but the one above also match files like fooc and foocpp (as there is no dot in the glob).
So instead you should want to use:
[ *.{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
As an alternative to a file system glob, it is possible to use a “scope selector” which would be source.c and source.c++, for example:
[ 'source.c, source.c++' ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The advantage with this is that it will target all C and C++ files, even if they do not have a .c or .cpp extension.
_______________________________________________
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
Da: Umberto Cerrato <umbertocerrato@outlook.it>
Oggetto: [TxMt] Re: Different Themes based on file type
Data: 26 agosto 2019 11:56:47 CEST
A: "[textmate]" <textmate@lists.macromates.com>
Rispondi a: TextMate users <textmate@lists.macromates.com>
Hi,
Yeah I knew that and in my properties file I wrote like you did. I already sent the mail then.
Anyway thank you.
About the source, I didn’t know that! (About it can match the language also if the extension is different)
And I didn’t know you can list them all together with quotes neither.
Thanks
U
Il giorno 26 ago 2019, alle ore 10:01, Allan Odgaard <mailinglist@textmate.org> ha scritto:
On 23 Aug 2019, at 16:14, Umberto Cerrato wrote:
I found a solution.
[ *{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The thing in the square brackets is a file system glob, which is what you currently use, but the one above also match files like fooc and foocpp (as there is no dot in the glob).
So instead you should want to use:
[ *.{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
As an alternative to a file system glob, it is possible to use a “scope selector” which would be source.c and source.c++, for example:
[ 'source.c, source.c++' ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The advantage with this is that it will target all C and C++ files, even if they do not have a .c or .cpp extension.
_______________________________________________
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
Da: Umberto Cerrato <umbertocerrato@outlook.it>
Oggetto: [TxMt] Re: Different Themes based on file type
Data: 26 agosto 2019 11:56:47 CEST
A: "[textmate]" <textmate@lists.macromates.com>
Rispondi a: TextMate users <textmate@lists.macromates.com>
Hi,
Yeah I knew that and in my properties file I wrote like you did. I already sent the mail then.
Anyway thank you.
About the source, I didn’t know that! (About it can match the language also if the extension is different)
And I didn’t know you can list them all together with quotes neither.
Thanks
U
Il giorno 26 ago 2019, alle ore 10:01, Allan Odgaard <mailinglist@textmate.org> ha scritto:
On 23 Aug 2019, at 16:14, Umberto Cerrato wrote:
I found a solution.
[ *{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The thing in the square brackets is a file system glob, which is what you currently use, but the one above also match files like fooc and foocpp (as there is no dot in the glob).
So instead you should want to use:
[ *.{c,cpp} ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
As an alternative to a file system glob, it is possible to use a “scope selector” which would be source.c and source.c++, for example:
[ 'source.c, source.c++' ]
tabSize = 4
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
The advantage with this is that it will target all C and C++ files, even if they do not have a .c or .cpp extension.
_______________________________________________
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