我想在Eclipse中使用区域进行代码折叠;在Java中怎么做到呢?
c#中的一个例子:
#region name
//code
#endregion
我想在Eclipse中使用区域进行代码折叠;在Java中怎么做到呢?
c#中的一个例子:
#region name
//code
#endregion
当前回答
在Visual Studio Code中,尝试这样做:
//region Variables
// Code you need
//endregion
其他回答
Android Studio(或IntelliJ IDEA)中最快的方法
突出显示要围绕它的代码 按CTRL + Alt + t 按c ==>输入描述 享受
在Visual Studio Code中,尝试这样做:
//region Variables
// Code you need
//endregion
只需安装并启用Coffee-Bytes插件(Eclipse)
这里有一个例子:
//region regionName
//code
//endregion
100%适用于Android studio
对于Eclipse IDE, Coffee-Bytes插件可以做到这一点,下载链接在这里。
编辑:
关于Coffee-Bytes的最新信息在这里。