intelliJ idea自定义代码折叠

在intelliJ idea中不仅可以对类、方法等结构的代码进行折叠(ctrl±)还可以自定义折叠代码。intelliJ支持两种风格的自定义代码折叠,如下:visual studio style

// <editor-fold desc="Description">    
Your code goes here...    
// </editor-fold>  

快捷键: ctrl + alt + t

原文地址:https://www.cnblogs.com/paper-man/p/13284578.html