how to use "CollapseExpandDocCommentsHandler"
Answered
I would like to have a shortcut to fold some specific regions (custom fold regions)
- How to use CollapseExpandDocCommentsHandler ?
- Do I have to create and register a FoldingBuilder ?
(I've read the "FolderBuilding" doc)
- Do I have to use the PSI to identify the regions ?
Should I submit a request ?
Please sign in to leave a comment.
Finally found a good code example on the web :https://www.programcreek.com/java-api-examples/?api=com.intellij.codeInsight.folding.CodeFoldingManager
Wich gives the following code :