Hi, I need a simple Dreamweaver extension written for my own use.
It just needs to do one thing: auto-collapse PHP and Perl functions in any file when the file is opened. (PERL and PHP can be in files with any file extension so this should run when any file is opened.)
PHP functions will look like: function (...) {...}
Perl like: sub {...}
You'll have to deal with nested curly brackets using a counter.
Dreamweaver provides an API supporting collapsing selection so I imagine it's a matter of searching for each function, figuring out where it ends, selecting the whole area (beginning at the end of the first line) and then calling [login to view URL] and moving on.
For anyone experienced with Dreamweaver extensions, this is probably a 10 minute task. I'm willing to pay up to $30 for the convenience.