Create line marking for a specific line based on the specific PSIElement in my custom plugin Follow
Answered
As I am building a plugin to detect some problems in the java code project, and based on PSITree structure, I search for a specific statement and want to create a note or highlight the line with different color with comment
Please sign in to leave a comment.
You did not ask a specific question but it sounds like Annotator is what you are looking for. See https://plugins.jetbrains.com/docs/intellij/syntax-highlighting-and-error-highlighting.html#annotator and https://plugins.jetbrains.com/docs/intellij/annotator.html .