When creating error annotation, the it doesn't automatically underline in Solution Explorer in Rider

Answered

Hi

I'm creating a plugin for a custom yaml file structure. 

I'm using the Annotator class to annotate errors but it only highlights the word in the file, but not the filename in the Solution Explorer

I'm creating the error annotations like such:

TextRange range = new TextRange(element.getTextRange().getStartOffset(),
element.getTextRange().getEndOffset());
holder.createErrorAnnotation(range, "ERROR");

How do I get it to underline the file in Solution Explorer as well when there's an error?

0
1 comment

For anyone who might face this issue: 

Unfortunately, this is not possible at the moment for Java-only plugins (without a backend C# part). Here is a feature request for it, please feel free to vote: https://youtrack.jetbrains.com/issue/RIDER-17088

0

Please sign in to leave a comment.