How to enable comment layout in Eclipse PDT?

How to enable collapse of comment code for PHP scripts in Eclipse?

I have a lot of code, of which the first 30 lines of each script are a GNU license ... very annoying.

It seems like it somehow broke down in Helios, but by default it was executed from Ganymede.

+5
source share
2 answers

I fix that the PHPDoc option resets all multi-line comments.

Note. After inclusion, you must close and reopen the file so that all comment blocks are folded.

eg.

/**
 * This is a function that does something
 *
 * @param $a Some variable
 */
function doesSomething($a) {
}

ends as follows

 * This is a function that does something
function doesSomething($a) {
}
+3
source

"" > "PHP" > "" > " "

+1

All Articles