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.
请先登录再写评论。
Hi,
Everything depends on the way you call the code, please consider using `com.intellij.codeInsight.daemon.LineMarkerProvider`.
Anna
please see https://github.com/JetBrains/intellij-sdk-docs/tree/master/tutorials/custom_language_support and https://github.com/JetBrains/intellij-sdk-docs/blob/master/tutorials/custom_language_support/line_marker_provider.md in particular.
Thanks for the responses, but I have other question, how can I show clicable icon using LineMarkerProvider?
provide GutterIconNavigationHandler to the LinerMarkerInfo