[TxMt] Treating one file extension as another

Charilaos Skiadas skiadas at hanover.edu
Sun Mar 4 22:32:47 UTC 2007


On Mar 4, 2007, at 4:55 PM, Nick Hodulik wrote:

> Is there an easy way to tell TextMate to treat one file extension  
> as another file type? For example, when doing Drupal development,  
> lots of Drupal modules end in .module, but they are really PHP  
> files. How does one go about telling TextMate how to do this?
>
Next time you have a .module file open, set its language to PHP by  
pressing ctrl-shift-opt-P. TM will remember it next from now on.

> Thanks...
>
> n.
> --
> Nick Hodulik   : :   hodulik.com

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College







More information about the textmate mailing list