JetBrains IDEA具有此功能。 您可以使用热键环绕(ctrl + alt + T)。 这只是IDEA功能。
Java中在使用区域进行代码折叠,类似C#中的#region
原文:https://www.cnblogs.com/zhake/p/14120938.html