How to add an icon like this in the editor? Follow
Answered
what should I do
Please sign in to leave a comment.
It's handled with an inlay hint. Check the IntelliJ Platform Explorer: com.intellij.codeInsight.inlayProvider for some of the existing implementation examples.
https://plugins.jetbrains.com/intellij-platform-explorer?extensions=com.intellij.codeInsight.inlayProvider