简体   繁体   中英

Custom Java Code Folding for Eclipse Helios

I spent a lot of time googling, now I'll try it here. Some of you might know the "regions" available in Microsoft Visual Studio, which allow you to collaps an arbitrary part of your code to just a single line, more or less like

// [start] The text which will appear instead of the collapsed part
...
A bunch of lines of code
...
// [end]

In my opinion this is a really fine way to comment code, but it doesn't seem to be available for Java and Eclipse. However, there was a plugin for that ( click ) but it doesn't work with Eclipse Helios.

So here's my question: Do you know a way to achieve this kind of code folding in a current version of eclipse?

You can try this one - http://incubator.apache.org/isis/ide-support.html It claims to be working on Eclipse 3.5, so there is a chance it will work on 3.6/3.7 (you will have to try). Hope that helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM