Ryan Benasutti
11/02/2019, 12:20 AMLineMarkerDescription.slowLM
is? LineMarkerDescription.lineMarker
seems fairly intuitive, but slowLM
seems to only ever be empty.Imran/Malic
11/02/2019, 8:49 AMIde
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
.