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

Allan Odgaard throw-away-1 at macromates.com
Sat Mar 10 06:57:21 UTC 2007


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.




More information about the textmate mailing list