[TxMt] Way to remember what language I'm using

Michael Jackson mjijackson at gmail.com
Sat Mar 10 22:27:45 UTC 2007


On Mar 9, 2007, at 11:57 PM, Allan Odgaard wrote:

> On 10. Mar 2007, at 06:43, Michael Jackson wrote:
>
>> Ah yes. Some of the files that I work on actually do have the same  
>> extension, but I'd like them to be highlighted in different  
>> languages. For example, sometimes I generate CSS files with php.  
>> The file will be named something like: style.css.php. What I would  
>> like to do is tell TextMate that, even though this file has a php  
>> extension, it's really CSS,
>
> If you go to the bundle editor and locate the CSS language grammar,  
> you can put ‘css.php’ in the file types array, that should make it  
> treat files with this double extension as CSS.
>

This doesn't work for me. Has anybody else done something similar and  
gotten it to work?


More information about the textmate mailing list