Wolfram Technology Guide: Real-Time Code Annotation  previous | next 
Full-Function Editor for .m Package Files
Mathematica allows you to use all Mathematica's code-editing and organization features, but generate plaintext .m files.