Search code examples
phpeclipsejavadoczend-studiophpdoc

How to hide all javadoc (phpdoc) blocks in Eclipse IDE?


I want to hide all phpdoc information. When I click to "-" as shown in the image below I can hide but I have to do it for each phpdoc block. Is there a way to hide all phpdoc information.

enter image description here


Solution

  • You can have it hidden by default by going to
    Window --> Preferences
    Go to Java --> Editor --> Folding
    Select to hide comments by default. You may need to change Java to your language (php)