wiki:BbeditLanguageModule

BBEdit MacPorts Language Module

This is a syntax coloring language module for BBEdit or TextWrangler for use when editting a MacPorts Portfile.

To Install, simply download the file and place it inside the following folder:

~/Library/Application Support/BBEdit/Language Modules/

If the "Language Modules" folder does not exist, you need to create it.

Alternately, you can create a symlink from your local MacPorts GitHub repository to that location.

To use it when editing a Portfile, simply change the language popup menu in the lower left corner of the BBEdit window to "MacPorts" and the syntax coloring should take effect.

To add new keywords, edit the plist file and add items to BBLMKeywordList. Feel free to attach fixes/improvements to this page!

Requires BBEdit 8.5+ or the freely available TextWrangler 2.2+.

Last modified 12 months ago Last modified on Dec 3, 2016, 2:01:13 AM