[TxMt] Re: Matlab bundle

Allan Odgaard mailinglist at textmate.org
Thu Jan 17 06:47:19 UTC 2013


On Jan 15, 2013, at 3:00 PM, K.-Michael Aye <kmichael.aye at gmail.com> wrote:

> How can I control then which extensions load what bundle?

If you always want .m files to open as Matlab then you don’t have to do anything besides making the choice (or correction) once, and TextMate will remember that for all future .m files.

Should you however wnat .m files to be Objective-C for some Objective-C project you can create a .tm_properties file in the root of that project containing:

    [ *.m ]
    fileType = source.objc

That will make all .m files contained in that folder (and subfolders) be Objective-C, while still globally treating .m files as Matlab.



More information about the textmate mailing list