Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

do you know if I can assign a specific highlighting to some files or extensions with textMate?

For example, I have a example.module file and I want to assign a php highlighting to it.


share|improve this question
Notepad ++ has this built in and really easy to use. I suggest converting. – Daisetsu Jun 24 '10 at 19:00
@Daisetsu: Notepad++ is for Windows. TextMate is for Mac. That seems like a very bad suggestion. – mipadi Jun 24 '10 at 19:55
@mipadi ahh, I didn't realize. Thanks for the correction. – Daisetsu Jun 24 '10 at 22:41
up vote 3 down vote accepted

Yes, in the bottom status bar on TextMate, there is a list of languages. Select the one you want to use -- it'll apply to all files with the same file extension.

alt text

share|improve this answer
great, totally ignored :) thanks – Patrick Jun 26 '10 at 16:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.