This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I commonly have a field decl such as private static final String[] MODULE_DIRS = { "modules", "modules/eager", "modules/autoload", "lib", "core", }; and would like to be able to fold it to concentrate on more important code. But the Java editor provides no code fold handle in this case. It would be useful. Of course, not every field decl needs a fold, but I suggest supplying one if there is an array initializer contained in the decl, or perhaps other complex structures (e.g. anon inner class). Workaround would be to manually type in a custom fold declaration, but that is messy and no one would figure it out.