Copy link to clipboard
Copied
In my current project I have hundreds of files and many functions and classes (the project is mixed procedural and OOP style). I can't possible remember the details of every function and class. Instead of looking at the file i was hoping that I could get code hints to display the PHPDoc of the files. But no.
DW does display the PHP manual for PHP functions and classes though (which is nice). Any ideas?
Thanks
Copy link to clipboard
Copied
cragthehack wrote:
I can't possible remember the details of every function and class. Instead of looking at the file i was hoping that I could get code hints to display the PHPDoc of the files. But no.
Unfortunately, Dreamweaver doesn't support PHPDoc comments. It would be a nice addition, so I suggest you file a feature request through the form at http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform. The more people ask for a feature, the more likely it is to be implemented in a future release.
Although DW CS5 doesn't support PHPDoc, it does provide code hints for custom functions and classes. The hints are automatically generated if the definition file is directly included in the current page. For definition files that are included indirectly or dynamically, set up Site Specific Code Hints. The following video I created for Adobe TV shows how to set them up: http://tv.adobe.com/watch/learn-dreamweaver-cs5/using-php-code-hinting-in-dreamweaver-cs5/ (it's towards the end of the video).
If you give your function and class arguments meaningful names, the basic code hints provided this way can be very effective.
Copy link to clipboard
Copied
Thanks. Yes, I know about the Site Specific Code Hints. It's all setup. I was just wanting to see more docs. I'll post a request on that form you linkd.
Thanks.
Copy link to clipboard
Copied
Go back to Designer mode and split with code...Look for a glitch where you
used PHP and find correct code in help manual.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more