[TxMt] Changing language for a specific file

Nate Cavanaugh nate at shift22.com
Tue Jan 8 18:38:26 UTC 2008

Thanks for all the help guys, it's much appreciated.

Quick question, do you know if this is possible with TabMate *without*
modelines? I'm working on a huge code base with multiple users and strict
coding standards and the modelines aren't allowed to sit in SVN, which means
I have to copy the mode lines every time I edit the file, in which case, I
might as well just manually change the language.

Anyone know of a work around (even if it's a work around in SVN)?

Hans-Jörg Bibiko wrote:
> On 05.01.2008, at 20:36, Nate Cavanaugh wrote:
>> Hi there,
>> Thanks for that, however, I am already doing that. The problem is  
>> that this
>> change is now stuck for all JSP files, and everytime I need to use  
>> one or
>> the other I have to keep switching the language back and forth.
>> I guess what I am asking is, is there a way to set those few  
>> specific files
>> to use CSS and the rest to use JSP automatically, so that every  
>> time I open
>> them I don't have to manually switch?
> Håkan Waara wrote the plugin TabMate which does this exactly on basis  
> of a modeline inside of a document specifying TABSIZE, language, etc.
> Unfortunately the link to that plugin is broken. Hopefully Håkan  
> reads this.
> If not, has someone a copy of it? Otherwise we can try to rewrite it.
> On the other hand, I believe that Allan mentioned something in this  
> list to support such things in TM 2.0.
> --Hans
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

View this message in context: http://www.nabble.com/Changing-language-for-a-specific-file-tp14630274p14695880.html
Sent from the textmate users mailing list archive at Nabble.com.

More information about the textmate mailing list