Hi,
how can I set mediawiki to be the default file type/scope? I have the following setings in .tm_properties but it doesn't seem to work. Thanks!
[ *.txt ] fileType = "source.mediawiki"
[ attr.untitled ] fileType = 'source.mediawiki'
text.html.mediawiki
have a look at existing items in the mediawiki bundle to learn more
t
On 15 Dec 2012, at 11:24 AM, Saiwing Yeung yangshirongbit@gmail.com wrote:
Hi,
how can I set mediawiki to be the default file type/scope? I have the following setings in .tm_properties but it doesn't seem to work. Thanks!
[ *.txt ] fileType = "source.mediawiki"
[ attr.untitled ] fileType = 'source.mediawiki'
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Thanks! That was easy.
On 2012-12-15 15:57:30 +0000, Timothy Bates said:
text.html.mediawiki
have a look at existing items in the mediawiki bundle to learn more
t
On 15 Dec 2012, at 11:24 AM, Saiwing Yeung yangshirongbit@gmail.com wrote:
Hi,
how can I set mediawiki to be the default file type/scope? I have the following setings in .tm_properties but it doesn't seem to work. Thanks!
[ *.txt ] fileType = "source.mediawiki"
[ attr.untitled ] fileType = 'source.mediawiki'
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
On Dec 15, 2012, at 12:24, Saiwing Yeung yangshirongbit@gmail.com wrote:
[…] I have the following setings in .tm_properties […]
For future reference, look in the Preferences window before going to .tm_properties. Here you’ll find a “New document type” with an easy to use drop-down menu :)
Settings in .tm_properties eclipse what you set in the Preferences window and is more suited for when you want to change things for a single folder, specific file types, or similar (or when the setting hasn’t yet made it to the UI).