Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can I set up DW to display PHPDoc in code hints?

Community Beginner ,
Dec 27, 2010 Dec 27, 2010

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

TOPICS
Server side applications
2.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 28, 2010 Dec 28, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 28, 2010 Dec 28, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 28, 2010 Dec 28, 2010
LATEST

Go back to Designer mode and split with code...Look for a glitch where you

used PHP and find correct code in help manual.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines