Eclipse Helios的自定义Java代码折叠

aRe*_*ess 13 java eclipse eclipse-plugin folding

我花了很多时间用谷歌搜索,现在我会在这里试试.你们中的一些人可能知道Microsoft Visual Studio中可用的"区域",它们允许您将代码的任意部分折叠成一行,或多或少像

// [start] The text which will appear instead of the collapsed part
...
A bunch of lines of code
...
// [end]
Run Code Online (Sandbox Code Playgroud)

在我看来,这是一个非常好的评论代码的方法,但它似乎不适用于Java和Eclipse.但是,有对于一个插件(点击),但它不与Eclipse赫利俄斯工作.

所以这是我的问题:你知道在当前版本的eclipse中实现这种代码折叠的方法吗?

sgi*_*bly 6

您可以尝试这个 - http://incubator.apache.org/isis/ide-support.html 它声称正在使用Eclipse 3.5,因此它有可能在3.6/3.7上工作(您将不得不尝试).希望有所帮助!

  • 安装说明"解压缩到Eclipse的插件文件夹".请不要!请改用`dropins /`文件夹. (8认同)