July 11, 2011 | PHP Scripting, TextMate, WordPress
So, WordPress 3.2 has been out for a little while now and I’ve just gotten around to updating the bundle. My apologies, I’ve just been super swamped with a new job in a new city. But that’s some whining for another post.
After much fiddling, the updated WordPress TextMate Bundle is here and it has been updated with a much better function definition display. I’ve ditched the old function scraper that was an abomination of grep & regex matches and replaced it with doxygen and some ruby abomination to provide much more information about the function or method being inspected.
I’m pretty sure there’s a lingering issue with the parsing and display of special characters in the doxygen output (which I blame squarely on strange handling by doxygen) that I haven’t handled yet. There may be HTML Entities missing from the documentation here and there.
Also improved is that the function definition search is contextually sensitive. It’ll only look for methods when in object scope (ie:
$object->method();) and only look for functions when in regular php scope (ie:
function();). There’s also a prompt to select the method that you’re actually after when multiple matches are found.
So, as always there’s something that can be improved upon with the bundle, but its moving forward and getting better with each revision. I guess that’s something, right? RIGHT?
So, fire up GetBundles or head on over to the WordPress TextMate Bundle’s Github Page to update your bundle!