phpnetbeansfolding

NetBeans: Code folds do not appear on one of my PHP files


I'm using the NetBeans IDE. Normally, every PHP file in my project has code folds:

code folds appear

However, one PHP file in my project doesn't have code folds:

code folds do not appear

The file has no syntax errors. I've tried restarting NetBeans and reopening the project and the folds still do not appear. What could it be?

More info:


Solution

  • Follow the following steps:

    1) open netbeans 2) select tool => options 3) select Editor tab and General sub tab 4) and check code fold check box

    Find attached image for detail.


    enter image description here