idea-plugin / arrow.meta.ide.dsl.editor.lineMarker / LineMarkerSyntax / lineMarkerInfo

lineMarkerInfo

open fun LineMarkerSyntax.lineMarkerInfo(icon: Icon, element: PsiElement, message: (PsiElement) -> String, placed: Alignment = GutterIconRenderer.Alignment.LEFT, navigate: (event: MouseEvent, element: PsiElement) -> Unit = Noop.effect2, clickAction: AnAction? = null): LineMarkerInfo<PsiElement>

Parameters

clickAction - if null this will place a breakpoint on a mouse click otherwise it executes the action

navigate - this function allows you to execute anything based on your use-case: actions, manipulations to PsiElements, opening Files or anything else.

Do you like Arrow?

Arrow Org
<