Categories


Archives


Recent Posts


Categories


BBEdit PHP Function-Parameter Auto-Complete

astorm

Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

A new PHP tool for those discriminating BBEdit users out there.

In the following disk image there’s a Unix filter named PHP Prototype.pl. Select any php function name in your BBEdit document, run the filter, and the function parameters will be filled in automatically. Omitted from the function list are those PHP features that use object references (such as the DOM functions). These will stay omitted until I’m clever enough to think of a way to deal with them.

Speaking of clever, I’ve also included a modified version of the Daring Fireball BBEdit Select Word script to use with the above filter. After replacing line 1 with a path to your copy of PHP Prototype, invoking the script will automatically select the word at or prior to the insertion point, and automatically run the Unix Filter.

Let me know if you find these at all useful, or if you run into any problems.

Copyright © Alana Storm 1975 – 2023 All Rights Reserved

Originally Posted: 25th May 2005

email hidden; JavaScript is required