Codeless Language Module for IDL for BBEdit/TextWrangler [message #87785] |
Thu, 27 February 2014 03:01  |
wallabadah
Messages: 28 Registered: November 2005
|
Junior Member |
|
|
Hi All,
This may be of interest if you're developing with IDL on Mac OS X.
A while back I made up a codeless language for the IDL language for BBEdit and TextWrangler. It provides syntax highlighting, autocompletion of keywords, function lookups, code folding, and other cool stuff. I've updated it for IDL 8.3, and made it available with a bit of a write up at http://hintspace.blogspot.com.au/2014/02/bbedittextwrangler- codeless-language.html
There's also some info about using Exuberant Ctags to scan your source tree, allowing BBEdit or TextWrangler to provide lookup for procedure definitions in your code.
Hopefully some of you will find these useful - please let me know if you can suggest any improvements or find some mistakes!
cheers,
Will.
|
|
|
Re: Codeless Language Module for IDL for BBEdit/TextWrangler [message #87882 is a reply to message #87785] |
Sat, 01 March 2014 21:53   |
kagoldberg
Messages: 26 Registered: November 2012
|
Junior Member |
|
|
You and I code the same way. I've been using BBEdit and the X Windows command line for IDL for many years now, and I'm quite happy with it. I've carried that all the way up to Mac 10.9.2 and IDL 8.3.
Unfortunately, I wasn't about to get your module to work. I'm wondering if I'm missing a step.
I have been using an IDL.plist file from John Gruber (Version 1.0.1, 8 Sep 2004), which is installed in my ~/Applications/BBEdit.app/Contents/Language Modules/ folder. That works for syntax coloring, but isn't up to date. I removed that, and then installed your "IDL Configuration.plist" into ~/Library/Application Support/BBEdit/Language Modules/
Funny thing is, I already had an IDL Configuration.plist file there, that was your "21 Sep 05" version. But neither that nor this worked, and the text is all black after restarting BBEdit. Is there another step where we connect the .pro preferences with your Language Module?
Thanks
|
|
|
Re: Codeless Language Module for IDL for BBEdit/TextWrangler [message #87922 is a reply to message #87882] |
Mon, 03 March 2014 18:00  |
wallabadah
Messages: 28 Registered: November 2005
|
Junior Member |
|
|
Hi K,
It sounds like the .plist file is not getting loaded. If you open a new text file, are you able to choose IDL as the language in the pop-up menu at the bottom of the window?
I've got the .plist file at "~/Library/Application Support/BBEdit/Language Modules/IDL Configuration.plist", and it works. I have not needed to set a custom extension mapping in Preferences->Languages, as this comes automagically from the plist file.
I've never messed with anything inside the application bundle - maybe this could be an issue?
I'd recommending you try removing any old IDL language module(s), leaving only the new one. You could also try quitting BBEdit, and watching the Console output when you restart it. BBEdit may write something useful to the system log when it starts up that could help solve the problem (/Applications/Utilities/Console->system.log).
I'm keen to help you get this to work - let me know if you want to continue off-group.
Will.
|
|
|