我是java开发环境的新手,我发现很难正确管理我的代码..Net提供#regions,这是一个很好的代码管理解决方案.
我正在使用Eclipse环境进行Java开发.我试过Coffee-Bytes但是Coffee-Bytes 代码折叠在Eclipse 3.6中不起作用,至少在我这边.我已按照此配置,但它不起作用.有人可以猜出可能是什么问题吗?是否有一些其他的代码折叠插件为Eclipse?
我用这种方式在Netbeans中获取代码折叠:
// <editor-fold defaultstate="collapsed" desc=" description">
....
// </editor-fold>
Run Code Online (Sandbox Code Playgroud)
和Visual Studio:
#region description
...
#endregion
Run Code Online (Sandbox Code Playgroud)
但我在eclipse中找不到相同的用法.我怎样才能在Eclispe中使用代码折叠?
有没有办法在eclipse中保存我的代码折叠?
滚动我的整个UI声明是非常糟糕的.(是的,我用Google搜索了它!:)