idea-plugin / arrow.meta.ide.dsl.editor.folding / FoldingSyntax

FoldingSyntax

interface FoldingSyntax

Functions

addFoldingBuilder Utility to add a FoldingBuilderopen fun IdeMetaPlugin.addFoldingBuilder(match: (KtTypeReference) -> Boolean, hint: (KtTypeReference) -> String): ExtensionPhaseopen fun IdeMetaPlugin.addFoldingBuilder(placeHolderText: (node: ASTNode) -> String?, foldRegions: (node: ASTNode, document: Document) -> List<FoldingDescriptor>, isCollapsedByDefault: (node: ASTNode) -> Boolean, lang: Language = KotlinLanguage.INSTANCE): ExtensionPhase
open fun IdeMetaPlugin.addFoldingBuilder(placeHolderText: (node: ASTNode) -> String?, foldRegions: (element: PsiElement, document: Document, quick: Boolean) -> List<FoldingDescriptor>, isCollapsedByDefault: (node: ASTNode) -> Boolean, lang: Language = KotlinLanguage.INSTANCE): ExtensionPhase
foldingBuilder open fun FoldingSyntax.foldingBuilder(placeHolderText: (node: ASTNode) -> String?, foldRegions: (node: ASTNode, document: Document) -> List<FoldingDescriptor>, isCollapsedByDefault: (node: ASTNode) -> Boolean): FoldingBuilder
open fun FoldingSyntax.foldingBuilder(placeHolderText: (node: ASTNode) -> String?, foldRegions: (element: PsiElement, document: Document, quick: Boolean) -> List<FoldingDescriptor>, isCollapsedByDefault: (node: ASTNode) -> Boolean): FoldingBuilderEx
registerFoldingBuilder open fun IdeMetaPlugin.registerFoldingBuilder(foldingBuilder: FoldingBuilder, lang: Language = KotlinLanguage.INSTANCE): ExtensionPhase

Inheritors

IdeSyntax interface IdeSyntax : IconProviderSyntax, SyntaxHighlighterSyntax, InspectionSyntax, AnActionSyntax, ColorSettingsSyntax, HintingSyntax, LanguageSyntax, LineMarkerSyntax, LiveTemplateSyntax, NavigationSyntax, SearchSyntax, StructureViewSyntax, UsageSyntax, ExtensionProviderSyntax, DocumentationSyntax, KotlinExtensionSyntax, DialogSyntax, PopupSyntax, NotificationSyntax, ToolWindowSyntax, GotoRelatedSyntax, AnnotatorSyntax, ParserSyntax, ApplicationSyntax, FoldingSyntax, EditorSyntax, ResolveScopeSyntax, ResolveProviderSyntax

Do you like Arrow?

Arrow Org
<