I dislike Eclipse's code folding feature, because the folding state isn't saved when you close the file, like Visual Studio does with its #region
directives.
Does anyone know of a plugin which saves the status of the code folding per file, so that when I open it, the code stays folded?
To enable code folding, go to the Folding Preferences page, accessible from Window | Preferences | PHP | Editor | Using Code Folding . If Code Folding is enabled, minus signs will appear in the Annotation Bar next to code blocks which can be folded.
Eclipse Web Developer ToolsIncludes the HTML, CSS, and JSON Editors, and JavaScript Development Tools from the Eclipse Web Tools Platform project, aimed at supporting client-side web development and node.
The Code Folding Preferences page is accessed from Window | Preferences | PHP | Editor | Code Folding . To configure your code folding preferences: Mark the Enable folding checkbox to enable code to be folded.
Try to use: http://code.google.com/p/coffee-bytes/
You have to download the source code, import project into Eclipse and build it. After that Export code as a deployable plug-in for Eclipse. You will have a package for installation.
In code folding will be available after setting special comments into it:
// #region
... some code ...
// #endregion
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With