when the folding enabled ?

Answered

use   Editor#getFoldingModel()  then   com.intellij.openapi.editor.FoldingModel#getAllFoldRegions,  get empty array.

0
5 comments

Your question isn't clear.

0

I want folded some specific foldRegion automatic  when editor display

0

thank you ,  if  I use build-in folding,  can I set the its isCollapsedByDefault to false? 

0

there's com.intellij.lang.folding.FoldingBuilderEx#isCollapsedByDefault or use FoldingDescriptor CTOR with collapsedByDefault parameter

0

Please sign in to leave a comment.