How to fold custom region in CLion through comments?
问题 I read this: https://www.jetbrains.com/clion/help/folding-and-expanding-custom-blocks.html and tried following this link: https://www.jetbrains.com/clion/help/Folding_Custom_Regions_with_Line_Comments.html but it appears to be broken, since it redirects to "Meet CLion" page. How do I define custom folding regions in CLion using comments? 回答1: CLion is based on IntelliJ IDEA, and thus supports multiple ways, including: //region Description //endregion and //<editor-fold desc="Description"> //<