Two days ago I started doing some programming on Drupal. Although it went good, I soon realized how confusing and hard it is to work without code coloring, which is missing for .module extentions. So, what do you think I did? Yes, I made my way to my favorite search engine -- Google -- and found a page at drupal.org about the subject. It basically said that there are two ways for me to go:
a) installing an extension that will do the coloring plus will suggest function names and stuff. Cool... I didn't even check the other option because I was sure that one was the best.
The extension... did not work. And not only for me because, browsing through drupal.org, I noticed someone saying that there was a bug in this extension as far as code coloring is concerned.
So, now I was forced to check the other option which basically about editing a file MMDocumentTypes.xml (in Windows usually located in program files/adobe/dreamweaver CS*/configuration). Here appeared a problem: no matter how hard I tried it just didn't work.
Only after 15 minutes I realized that I hadn't turned off the extension thing!
As it is easy to figure out, the extention created its own MMDocumentTypes.xml file, so editing the one found in configuration/documentTypes took no effect.
It's very simple. All you need to do is add desired extensions. For example:
From
To
Cheers