I had trouble finding a good folding plugin for eclipse Indigo. The installation details are inserted below. In short: download the archive, extract plugins and features folders to the appropriate plugins and features folders in eclipse.
USAGE:
in User Defined Regions tab use e.g.:
Start identifier: region End identifier: endregion
In code:
//region SomeName
your code
//endregion SomeName
Installation instructions:
- Install plugin
- Unpack the downloaded file eclipse-folding-plugin.tar.gz
- Copy the contents of the:
- features folder => eclipse features folder
- plugins folder => eclipse plugins folder
- Configure plugin in Eclipse:
- Select "Windows->Preferences"
- Select "Java->Editor->Folding"
- Check the "Enable folding" option
- Select "Coffee Bytes Java Folding" in the "Select folding to use:" option
- Check "User Defined Regions" in the "General Fold Setting:" option
Thanks for publishing a working plugin for Indigo!
ReplyDeleteSource is available here:
ReplyDeletehttp://code.google.com/p/coffee-bytes/source/browse/
but the project is now dead (last commit was 2006).
I used the plugin for java, so it worked for me....
Thank you very much...
ReplyDelete^_^
It satisfied me...
thank you very much! it's helpful!
ReplyDeleteDo you think this editor ( the user defined region folding) could be tailored or shoe-horned to work with CDT C++ editor ??!!
ReplyDeleteThanks! Been looking for something like this for java for ages. This is confirmed working on Ubuntu 11.04 w/ Eclipse 3.7 Indigo
ReplyDeleteI dont find step 4: option "select folding to use".
ReplyDeleteanybody can help me?
when clicking "Folding" all the options are checkboxes: Enable folding, comments, header comments, inner types, members, imports. dont have the option above.
thanks
I just ran into this issue. If you are running under Windows 7, right click on the Eclipse icon and run it as an admin. Then follow the instructions. You can run it normally afterward.
Deletethanks, but what is the password of admin? how can i know?
DeleteWell buddy, if you don't know your own admin password, how could you expect that we do...
DeleteI think the admin password is usually the name of your first Pet..!
DeleteAlso, if you are running Win7 64-bit, you may need to make sure that eclipse is running from the Program Files (x86) folder, to ensure that it is treated as a 32-bit application.
DeleteExtra thanks!
ReplyDeletevery nice... thank you very much........
ReplyDeleteAlmost like in VS ;)
ReplyDeleteCheers.
Thanks! this is very helpful.
ReplyDeletenice feature, thanks
ReplyDeleteIt works. Great Job.
ReplyDeleteThanks a lot for this plugin! Works fine in INDIGO.
ReplyDeleteWill it work in 4.2 Juno?
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteOk, we are getting this error in Eclipse Juno for Java http://stackoverflow.com/questions/11260868/eclipse-juno-assertion-failed-problems-occurred-when-invoking-code-from-plug
ReplyDeleteAny solution ? the assertion failed is really annoying bug :(
ReplyDeleteSame error: assertion failed
ReplyDeleteThanks
Google for file "com.cb.eclipse.folding_1.0.7.jar", this seems to be updated version of "com.cb.eclipse.folding_1.0.6.jar" plugin file or something.... I've installed it about hour ago, so far no problems encountered
ReplyDeletenevermind, it does appear also with this one :/
ReplyDeleteYes, unfortunately it appears but a lot rare than 1.0.6.
ReplyDeleteI hope it will be fixed.
Thanks so much!! I am happy! YEAH,
ReplyDeletesame error: Assertion failed :(
ReplyDeleteConfirmed to work in JBoss Developer Studio 5.01 (based on Eclipse 3.7)
ReplyDeleteIf JBDS was installed under root (i.e. under /usr/local/jbdevstudio) you need to copy the files as root and run JBDS/Eclipse once as root as well.
Awsome
ReplyDeleteTHANKS MAN. ITS WORKING.
ReplyDeleteThank you!
ReplyDeleteDoes anybody get some news about this annoying "assertion failed" bug ? :\
ReplyDeleteI don't really want to remove coffee byte plugin, but this bug is really annoying.
Let me know the link to download com.cb.eclipse.folding_1.0.7.jar
ReplyDeletehttp://files.cnblogs.com/cruisoring/com.cb.eclipse.folding_1.0.7.zip
DeleteThanks for posting this. Much appreciated.
ReplyDeleteFrom my testing the plugin seems to work perfectly in 4.2.0 (Juno) too :).
Please anyone has an error fix?
ReplyDeleteThanks a lot! It just works! :-D
ReplyDeleteDoes't work with eclipse 4.2.0 Juno ,
ReplyDeleteNothing happened
thanks a lot!
ReplyDeleteCheers!
ReplyDeletethank you . God bless you.
ReplyDeleteGreat post. Thank you
ReplyDeleteIf you feel lazy to even type region add this to
Window -> Preferences -> Java -> Editor -> Templates
Code:
// region ${Name}
${line_selection}${cursor}
// endregion ${Name}
Implementation: Alt + Shift + H and then Select template.
Good tip!
ReplyDeleteAmazing THANKS so much using with Android Developer Tools Build: v21.1.0-569685. Works like a treat awesome job. Thanks very much for sharing
ReplyDelete