TorqueScript language module for BBEdit
by Sherman Pendley · 12/29/2008 (11:21 am) · 6 comments
Download Code File
BBEdit is a popular text editor for Macintosh. This provides basic syntax highlighting of keywords, comments, and strings. It also displays functions and datablocks in the symbols list, and enables code folding for them.
To install it, simply drop the .plist file in either /Library/Application Support/BBEdit/Language Modules/ to provide it for all users, or in ~/Library/Application Support/BBEdit/Language Modules/ for a single user.
It was written and tested using BBEdit 8.7 - users who have BBEdit 9 or TextWrangler, please comment here about any problems you encounter, or about the lack of them.
BBEdit is a popular text editor for Macintosh. This provides basic syntax highlighting of keywords, comments, and strings. It also displays functions and datablocks in the symbols list, and enables code folding for them.
To install it, simply drop the .plist file in either /Library/Application Support/BBEdit/Language Modules/ to provide it for all users, or in ~/Library/Application Support/BBEdit/Language Modules/ for a single user.
It was written and tested using BBEdit 8.7 - users who have BBEdit 9 or TextWrangler, please comment here about any problems you encounter, or about the lack of them.
#2
01/27/2009 (2:47 pm)
Right here! The .plist file is the one and only file in this resource. :-)
#3
02/10/2009 (5:32 pm)
Seems to be working fine with TextWrangler 2.3. You can only put it in the Home Library, as there is no TextWrangler entry for all users. Also, I had to add the Language Modules folder, but this should only apply to users who HAVEN'T installed other Languages.
#4
08/28/2009 (8:10 am)
Just tested it with TextWrangler 3.0, and it seems to work fine. As Jake mentioned, I had to create the "Language Modules" folder in the ~/Library/Application Support/TextWrangler directory, and then install the plist there.
#5
10/06/2009 (9:26 am)
Just tried this with TextWrangler 3 and it's very nice apart from one problem - it doesn't distinguish between functions and variables. Any chance you could get it to highlight words starting with $ and % different to normal functions?
#6
10/06/2009 (12:33 pm)
@Conor - As far as I can tell, that's something that TW and BBEdit can't be made to do very easily. Variable names aren't highlighted in Perl, C, or C++ either, and there doesn't appear to be any way to make it happen from what BareBones calls a "codeless" language module.
Torque Owner Guy Nesher
Would love to use BBEdit.