Click on the appropriate link below to download a zip file containing the IDL syntax-coloring plug-in for BBEdit and TextWrangler. This is an Apple preferences list (.plist) XML file. Many thanks to Will Powell of Macquarie University, Australia for putting this together.
-
-
Since TextWrangler is free, we recommend that TextWrangler users download the latest version of TextWrangler and use Version 2.0 of the plug-in.
The syntax-coloring plug-in adds basic syntax coloring to either BBEdit or TextWrangler. To use it, unzip the downloaded file and and put the file IDL Configuration.plist into ~/Library/Application Support/BBEdit/Language Modules/ or ~/Library/Application Support/TextWrangler/Language Modules/, depending on which program you have. You may also need to go into the Preferences panel for BBEdit or TextWrangler and do two things: turn on syntax coloring in the Editor Defaults pane and make sure that IDL is linked to .pro files in the Languages pane.
Version 2.0 of the plug-in will identify the start and end point of functions and procedures, so TextWrangler can display them in its popup menu and allow you to use the 'Go to Function Start' and 'Go to Function End' menu commands. This allows you to navigate long source files which contain multiple routines much more easily. When used with BBEdit, you can also do Code Folding - which hides routines from view while you're not interested in them.
The plug-in does not provide full, context-sensitive, syntax coloring, but it does highlight strings, comments, and built-in procedure and function names.