when the folding enabled ?

已回答

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

0

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

请先登录再写评论。