I would like to fold {} brackets i.e if/else, for, while, foreach... sections in eclipse pdt. How can i do it. I don't see any options in settings.
Asked
Active
Viewed 3,035 times
0
-
As far as I know, there's no such built-in functionality for PHP code formatting :( – Kel Oct 25 '10 at 06:22
-
Coffee-Bytes for Eclipse 3.6 & higher: http://stackoverflow.com/questions/8534542/what-code-folding-plugins-work-on-eclipse-3-6 – Yaqub Ahmad Jan 03 '12 at 07:50
2 Answers
4
Eclipse PDT doesnt posses it Try Aptana instead of Eclipse PDT it provides basic-intermediary folding support

aWebDeveloper
- 36,687
- 39
- 170
- 242
-
I've always used Aptana, never knew PDT (or Eclipse!) didn't support such a fundamental feature. – BoltClock May 22 '11 at 17:24
-
-
4The feature is available in Zend Studio, which is based off Eclipse + PDT. However, Zend also maintains PDT for Eclipse, so they don't want PDT to be competing their overpriced Zend Studio. – bear Jun 23 '11 at 19:41
-1
Use Notepad++, it has the best folding. To be most productive have 2 screens open one with Eclipse and another with Notepad++ with the same code. It is much faster to edit in notepad++ however Eclipse provides much better functionality for debugging, code checks, etc..

Kavin Mehta
- 810
- 10
- 18