I'm looking into #56, can someone explain what `Li...
# arrow-meta
r
I'm looking into #56, can someone explain what
LineMarkerDescription.slowLM
is?
LineMarkerDescription.lineMarker
seems fairly intuitive, but
slowLM
seems to only ever be empty.
i
In
Ide
there are 2 different types of
LineMarkers
the
fast
one which registers immediately at the element you specified here https://github.com/arrow-kt/arrow-meta/blob/511ecfee3bb205338d8ad77e3795d12cb3471cca/idea-plugin/src/main/kotlin/arrow/meta/ide/dsl/editor/lineMarker/LineMarkerSyntax.kt#L71 or the
slowLineMarkers
, which start at the root of the node e.g.:
KtFile
and traverses each subnode for your specified element. The latter is
slow
by definition, as it has to traverse and collect at the same time. We set the default for users to the fast one. You can improve the resolution speed even more, if you add an
PNG
Icon instead of an
SVG
. But the marketplace standard is usually
SVG
.