Implement custom gutter icon

Hey guys,

I’d like to add a custom gutter icon to my GeoJSON plugin so that users can jump to the corresponding feature on the map. I know how to get the index via PSI, I’m just not sure how to create and place the marker. It should be similar to this, ideally with a different icon:

image

Hey, you can use com.intellij.codeInsight.daemon.LineMarkerProvider, see docs

2 Likes