Insert Gutter icon

Hi, 

I am trying to insert gutter icon to some line in editor, I am able to do it with this code:

but after closing and reopening IntelliJ icon vanish. Question is what should I do to project remember icons?

Thanks for the help.

0

Hi,

Everything depends on the way you call the code, please consider using `com.intellij.codeInsight.daemon.LineMarkerProvider`. 

Anna

0
Avatar
Permanently deleted user

Thanks for the responses, but I have other question, how can I show clicable icon using LineMarkerProvider?

0
Avatar
Permanently deleted user

provide GutterIconNavigationHandler to the LinerMarkerInfo

0

请先登录再写评论。