comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Codeless Language Module for IDL for BBEdit/TextWrangler
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Codeless Language Module for IDL for BBEdit/TextWrangler [message #87785] Thu, 27 February 2014 03:01 Go to next message
wallabadah is currently offline  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 Go to previous messageGo to next message
kagoldberg is currently offline  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 Go to previous message
wallabadah is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with long integer color when saving a cgwindow to file
Next Topic: Hymap NVDI

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:16:08 PDT 2025

Total time taken to generate the page: 0.00468 seconds