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....
So, where can I download this plugin?
DeleteThank 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.
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!
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
ReplyDeleteGreat work, easy to use and reliable. love it!
ReplyDeleteThank you for sharing it with us, helped me a lot.
Doesn't work in kepler... There's no + sign to fold...
ReplyDeleteplease kepler
ReplyDeleteda
DeleteNice product, the plugin works for me most of the time.
ReplyDeleteHowever ,the plugin gives error when interpreting this source line:
private String stringValue; //
i.e. when an empty comment is after a closed Java element.
Afterwards, the saved file cannot be re-opened in Eclipse. The error message: "Could not open the editor: String index out of range: 31"
Exception details:
java.lang.StringIndexOutOfBoundsException: String index out of range: 31
at java.lang.String.charAt(Unknown Source)
at com.cb.eclipse.folding.java.calculation.UserDefinedRegionHelper.isSentinel(UserDefinedRegionHelper.java:53)
at com.cb.eclipse.folding.java.calculation.UserDefinedRegionHelper.isOpeningSentinel(UserDefinedRegionHelper.java:29)
at com.cb.eclipse.folding.java.calculation.CommentHelper.isUserDefinedSentinel(CommentHelper.java:145)
...
It seems that both version 1.0.6 and version 1.0.7 contain the original UserDefinedRegionHelper.java (in SVN trunk) and omits the fix added in revision r9 to SVN branch "fixes_04_09_27"
The fixed version of the source file can be found here:
https://code.google.com/p/coffee-bytes/source/browse/branches/fixes_04_09_27/src/com/cb/eclipse/folding/java/calculation/UserDefinedRegionHelper.java
I've extracted jar from sources
DeleteAvailable at http://www.damiencuvillier.com/doc/com.cb.eclipse.folding_1.0.6.jar
You'll have to replace this file in eclipse/plugins folder
A million thanks, this works on Eclipse Juno SR2.
ReplyDeleteWorks with Kepler too
ReplyDeleteworks in Helios
ReplyDeleteworks in adt-bundle-windows-x86_64-20130917 on win7/64!
ReplyDeletethank you!
Robert
Confirmed working with the latest ADT Bundle as well. Thanks a ton!
DeleteWould it be possible to add a "First Line Filtering" option for those of us who prefer C-style braces? (Both braces on their own line.) Never liked those hidden braces on the same line as the control statement.
ReplyDeleteyou rock, thank you !
ReplyDeleteThanks, even works in Eclipse on Windows 8.1!
ReplyDeleteThanks!
ReplyDeleteConfirmed working in ADT v22.3-887826 OS X. Thanks very much!
ReplyDeleteI just installed this today with Eclipse Kepler (Eclipse IDE for Java Developers, Version: Kepler Service Release 1, Build id: 20130919-0819), and even the Version 1.0.6 of the jar seems to be working fine for region folding. Hope it stays that way :-)
ReplyDeleteIt would be cool if only "name" was visible, not "[start] name".
ReplyDeleteWorks great, except for 1 little issue:
ReplyDeleteIn the 'User Defined Regions' Tab in the settings, there's a 'Initially Collapse' checkbox that doesn't do anything.
Either all blocks collapse or none do, depending on the 'Initially Collapse' setting in the 'General' Tab.
(I'm using Kepler on Ubuntu)
Thank you. You helped me a lot.
ReplyDeleteI can confirm that it works on Kepler with Windows XP and EGit.
ReplyDeleteFor those saying plus signs don't show up, make sure User Defined Regions (last check box on General tab) is enabled, then close and reopen the source code file. It works in IBM Rational Application Developer 8 on Windows 7, 64 bit.
ReplyDeleteI installed as you said but the option will not collapse the region. I must be doing something dumb.
ReplyDeleteHello everyone. I faced with problem. I use eclipse 4.3_x64 for java. I download and put files into eclipse but there is now "Select folding to use" option at all in folding settings. I tried to run eclipse as administrator but it didn't helped. Does anyone know what is wrong?
ReplyDeleteAccording to Defenestrator May 5th it works with kepler, which is 4.3. I cannot seem to get it to work in 4.4 Luna, any suggestions? I tried several options:
ReplyDelete- /plugins
- /dropins
- various downloads, only te jar, a version with a plugin and a features folder etc.
Thank you very much for sharing this. Seems to be working fine in Eclipse 4.4 Luna (2014).
ReplyDeleteAll I did was to copy the contents from the features and plugins directories inside the tarball to the respective eclipse installation directories, then configure the plugin in the Preferences Window as advised in the post. Note that if you want regions defined with line comments like you can define in Intellij Idea, you have to name the regions both in the opening and in the closing tags.
I'm using this at eclipse 4.4.2 and work's fine.
ReplyDeleteThank you.
Works for me as well...
Deletejust use 'Region', 'EndRegion' in the start and end identifier fields
worked for me thanks :)
ReplyDeleteDoesn't seem to work in 4.5. Mars
ReplyDeleteNevermind, I derped. Works
DeleteWhat did you do wrong? I may be having the same problem.
DeleteWhat did you do wrong? I may be having the same problem.
DeleteNow if only we could get something like this for Scala...
ReplyDeleteAh... simplicity saver. Thank you.
ReplyDeleteconfirmed working on eclipse MARS.1
ReplyDeleteI cannot select the plugin as folding option in Mars.2.
DeleteHas anyone a solution for this?
It works for Spring as well! very useful. Thank you very much!
ReplyDeleteThanks,
ReplyDeleteWorked for me in Mars (Version: Mars.2 Release (4.5.2))
The trick is to go to Advance settings and specify [start] and [end] region identifiers. :)
I don't even get the combo box to select the folding plugin, so I'm not able to select the Advanced tab. Everything worked easy and fine in luna.
DeleteDon't know what was wrong with my Mars installation. I have neon now and everything is fine again. :)
DeleteEclipse Neon not working
ReplyDeleteThis comment has been removed by the author.
DeleteSame for me.
DeleteIt works on Eclipse NEON, but you need to have typical folder structure.
DeleteTo get it works you need to do:
- When you use "Eclipse Installer" you need to deselect "Bundle Pool" option
or
- When you use zipped eclipse installation method - the folder structure is fine.
Where do I see wether I'm using bundle pool? I got the installation variant. Folder structure seems "normal". I got typical folders like "dropins" and "plugins". But the plugin still don't work.
DeleteTom how did you get it working? I copied the folders in but nothing happened!
DeleteThis comment has been removed by the author.
DeleteWorked for me on eclipse neon installation.
ReplyDeleteinside dropin folder, follow this folder structure:
[your eclipse installation]/dropins/features
[your eclipse installation]/dropins/plugins
Copy coffee folding plugin files in the above directories. I have also put the coffee folding plugin in [your eclipse installation]/plugins folder.
Hope it works for you guys as well.
I tried that but nothing happened
DeleteDid you change any setting?
What exactly did you pu into the plugins folder?
Is there any key related to folding?
Okay.
DeleteNo I did not change any setting. I just selected coffee folding plugin in folding preferences of eclipse.
In plugins folder, I have put coffee folding plugin jar.
About key, you can define your own setting in preferences.
Try the following structure:
[your eclipse installation]/dropins/eclipse/features
[your eclipse installation]/dropins/eclipse/plugins
Copy coffee folding plugin files in the above directories. If it still doesn't work, try the below structure as well without removing the above structure:
[your eclipse installation]/plugins
[your eclipse installation]/plugins/features
Copy respective files in their respective folder.
It worked for me after reading through eclipse documentation & 45 minutes of trial-error. I hope it works for you now. If it does, please let other know what worked for you.
How do I select it in te folding preferences? Mine look like this: https://1drv.ms/i/s!AlxQqhhuk4vPiYxm5xj69gXD4wsu2A
DeleteI've already copied all the files everywhere!
No, it should not look like this. From the screenshot I can say eclipse did not load the plugin.
Deletewat the fuck?
ReplyDeleteworks on 4.6.1 (Neon.1:))))))
ReplyDeleteI tried this in neon, in [User Defined Region] tab the [Start identifier] and [End Identifier] where set and added. However, the folding does not work. What is it's syntax it ignores the "//" and also the space? Does it need space?
ReplyDeleteI created an update site for the old coffee bytes code folding plugin that works with Eclipse Neon:
ReplyDeletehttps://github.com/stefaneidelloth/EclipseFolding/raw/master/com.cb.platsupp.site
how do I use it? could you provide a little instruction in the readme?
DeleteHelp > Install New Software... > Add...
DeleteFill Form with the name you want and the provided url
Let be guided by Eclipse!
(I'm on Mac. Menus may change on Windows)
After restarting Eclipse, there is a new combo under Preferences > Java > Editor > Folding that let you choose between "Default Java Folding" and "Coffee Bytes Java Folding" (with many choices).
Tested and approved. Good job!
YES FINALLY WORKED!
DeleteT H A N K Y O U!
The only problem I have with this is that the buttons to collapse and expand the code show up as red blocks instead of the usual buttons. Does anyone else have this problem?
DeleteThe hint from Anonymus really helped me !
Delete"Help > Install New Software... > Add...
Fill Form with the name you want and the provided url
Let be guided by Eclipse!"
I got the option as desribed, but then I searched a while, how to implement the markers in the code, because in history there are different versions. Later I saw the information from Bartosz
at the top of this article, so I repeat it here:
USAGE:
in User Defined Regions tab use e.g.:
Start identifier: region End identifier: endregion
(which is without //)
In code:
//region SomeName
your code
//endregion SomeName
So here we should have a complete instruction with a good chance to work.
It worked for me W7/64 - Java8 - Luna (09'2020).
Thanks a lot, guys !
The provided URL from Anonymous:
Deletehttps://github.com/stefaneidelloth/EclipseFolding/raw/master/com.cb.platsupp.site
Co zrobić, by plugin działał również dla kodu C/C++? W 'Select folding to use' jest tylko 'Default C folding'. W sektorze dot. Javy po instalacji wpis pojawia się prawidłowo. Potrzebne mi to jest w Atollic TrueStudio.
ReplyDeleteGreeting thanks
ReplyDeletei'm sorry but the eclipse photon has no features folder under install folder , how to fix this
ReplyDeleteIt works with eclipse Photon 4.8.0 (Build id: 20180619-1200) with the procedure written in this article:
ReplyDeleteCopy the contents of the:
features folder => eclipse features folder
plugins folder => eclipse plugins folder
Read more
ReplyDeleteRead more
Read more
The information you have posted is very useful. The sites you have referred was good. Thanks for sharing this: Coffee Expert
ReplyDeleteI think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing. Light roast coffee
ReplyDeletehttp://www.simorphor.com/
ReplyDeletehttp://www.rhturismo.net/
http://www.retreatsonline.net/
http://www.reclamationinfo.com/
http://www.nolongerabystander.org/
http://www.i-morningstar.com/
http://www.cheapdiscount-pharmacynorx.com/
http://www.bahamastrack.com/
http://www.235francisco.com/
http://www.yama-tabi.net/
ReplyDeleteCleaning company in Dammam شركة مكافحة حشرات بالدمام حراج is one of the best companies present in the Kingdom of Saudi Arabia where it owns the best cleaning methods used from cleaning houses - apartments - villas - palaces - schools - شركة تنظيف بالدمام
government and private institutions and also available water tank cleaning service, شركة مكافحة حشرات بالدمام
provides the best house cleaning company in Dammam Lots of discounts on premium prices for the rest of Dammam cleaning companies .
Cleaning company in Dammam is concerned with the trained workers to use cleaning materials without any damage or damage, شركة تنظيف فلل بالدمام
even if something went wrong can solve the problem quickly without feeling any difference may occur, شركة مكافحة حشرات بالدمام حراج when we talk about the equipment and equipment and cleaning materials at cleaning company in Dammam will remind that افضل شركه تنظيف منازل بالدمام
we have the finest And best of all, we will also talk within the finest cleaning company in Dammam on the tasks of professional supervision and how to be and where and when and what is offered to the client.
افضل شركة تنظيف بيارات بالدمام
افضل شركة تنظيف شقق بالدمام
Fantastic site you have here but I was curious if you knew of any discussion boards that cover the same topics discussed here? I’d really love to be a part of group where I can get comments from other knowledgeable individuals that share the same interest. If you have any recommendations, please let me know. Region Syddanmark job,
ReplyDeletejob i Århus,
Hr Manager,
Nice Blog!
ReplyDeleteFacing error while using QuickBooks get instant solution with our QuickBooks experts.Dial +1-(844)999-0406 QuickBooks Support Phone Number
very nice web Mobile Price Bangladesh
ReplyDeleteThis is my first time of seeing and reading this kind of helping and well understandable content. Print coupon
ReplyDeleteA very interesting website or blog that I really like and it also attracts me to always follow this website or blog. Thank You.
ReplyDeletehttps://scatterfull.com
How to Resolve ATT Email Not Working on Mac?
ReplyDeleteInstances occur when users encounter with the issue of ATT email not working on Mac device. In such cases, you need to make sure that the external mail server has messages in it. Make sure to enter the correct information while configuring the external mail settings. in case, you enter the wrong mail server address, username, port number, and password. Lastly, check whether the issue on local network or external mail server. These are the steps that users need to follow to resolve the issue.
Why is My Canon Printer Not Printing the Right Colors?
If Canon printer users are encountering with the challenge related to why is my Canon printer not printing the right colors then in such situations, users need to perform printer firmware update process. printer drivers formulate a link between the system and printer and hence it plays a crucial role. To make sure about the proper functioning of Canon printer driver, you need to either update or install the new drivers from the Canon printer official website. These are the steps that users need to follow to resolve the issue of Canon printer not printing the accurate colors.
How to Disable Calendar Notifications in Outlook?
If you are a Mac user and have the query about how to disable calendar notifications in Outlook then start by Outlook and log into your account. Click to preferences in the Outlook menu. After that, click to notifications and sound under the personal settings. Now, change the settings that you want for the new messages under the message arrival section.Lastly, under the sounds section, you can uncheck the boxes next to sound that users want to disable. These are the steps to follow to smoothly disable the calendar notifications in Outlook. Check out the steps and follow them properly to not to face such issues again.
How to Change Gmail Profile Picture on Computer?
Users who want to access the Gmail account on desktop computers or laptop then users can change Gmail profile picture on computer. Although,they might get some list of results online then follow the correct steps for changing Gmail profile picture on computer or changing the profile picture on PC. Changing or setting the profile picture of Gmail then you need to log into the Gmail account by using the correct login credentials. Once you are logged into Gmail account then follow the steps mentioned below to change Gmail profile picture on computer smoothly.
Why is my Gmail Not Receiving Emails on Android?
ReplyDeleteYou may face various Gmail issues because of the outdated Gmail app. If your Gmail not receiving emails on Android, several factors could be to blame for the problem. The first solution is to check that the email hasn't gone to another folder by mistake (like spam). Then check your storage level to see if you've run out of space. Your inbox settings might also be misconfigured. You can also reset Gmail for Android by clearing local data and enabling automatic sync. Also, re-sync your Gmail account and allow Gmail to work in the background. If that does not help, uninstall and re-install the Gmail app.
replica bags 168 mall replica hermes bags n7h81w7b69 replica bags nancy replica bags on amazon replica gucci bag s6r16w4a35 7a replica bags wholesale original site v7s04t3e00 good quality replica bags replica bags new york
ReplyDelete초콜릿
ReplyDelete광주초콜릿
대전초콜릿
대구초콜릿
부산초콜릿
울산초콜릿
서울초콜릿Its always good to have tips on good blog posting. As I just started posting comments for blog and faced a lot of rejections. I think your suggestion would be helpful for me. I will let you know if this works for me.