BBEdit

Ada 2012 Language Module for BBEdit 9.x and TextWrangler 2.x

Download a gzip'd tar file containing the module.

Here is an Ada 2012 Language Module for BBEdit 9.x+ programming editor from Bare Bones Software. The module adds several Ada specific features including syntax coloring, procedure/function navigation and comment handling. The module now ignores block comments correctly.

To install the module, just unzip/untar the file and put it in your Language Modules folder. You may have to create the directory if it doesn't already exist, or substitute TextWrangler for BBEdit:

tar -zxvf AdaLM.tgz

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

mv Ada2012.plist ~/Library/Application\ Support/BBEdit/Language\ Modules/.

You'll need to restart BBEdit for the new features to become available. Although the comment settings could be inferred from the module, any change would revert each time you restarted BBEdit. You need to configure the feature manually. Go to Preferences -> Languages -> Installed languages. You should see the Ada module listed; it was put there when the Ada Language Module was loaded. Click on Options, and put '--' in the Comment Start field; leave the Comment End field empty. Select any number of lines, and choose Un/Comment Selection from the Text menu. Select the command again (or ⌘-Z) to reverse the effect.

While you're int the Options dialog, add a Reference URL template such as http://www.google.com/search?hl=en&q=__SYMBOLNAME__ for searching from the context menu.

While you're in Preferences -> Languages, select ".ads" in Suffix-mappings and note that it is an include file. This causes the green "Counterpart" button to toggle between the spec or body of the frontmost document.

Here's what the Ada 2012 module looks like. The meaning of the various elements, formerly documented in Appendix D of the BBEdit manual, is now here.

Copyright 2005, 2007, 2009, 2013 John B. Matthews

Distributed without warranty under the terms of the GNU Public License.

Last updated 5-Jan-2019

Ada2012.plist