idea 代码自动折叠配置

File >> Setting 如下图,框选想要自动折叠的代码,如果想要自己手动折叠,可以把勾选都去掉

原文地址:https://www.cnblogs.com/lovling/p/12492117.html