Any one take care of the 'Cannot set highlighter to RangeHighlighter' issue?

I reported this 2 months ago, event not fixed now: https://youtrack.jetbrains.com/issue/IJPL-176356/Cannot-set-highlighter-to-RangeHighlighter

And if you do some search, you will find much more other reports:

https://youtrack.jetbrains.com/issues?q=HighlightInfo

The error introduced by this commit: assertion: cannot reassign error strip tool tip (to avoid accidental … · JetBrains/intellij-community@26335d4 · GitHub

This usage may related to my rangeHighlighter: intellij-rainbow-brackets/src/main/kotlin/com/github/izhangzhihao/rainbow/brackets/lite/action/AbstractScopeHighlightingAction.kt at 2022.3 ¡ izhangzhihao/intellij-rainbow-brackets ¡ GitHub

Hi, we have exception reports related and this issue in progress in fact.

We also have blocking-release status for it, so should be fixed first!

1 Like

Thanks for the update. And I found this commit: IJPL-176454 AE: HighlightInfoUpdaterImpl.psiElementVisited ¡ JetBrains/intellij-community@6fa4b5d ¡ GitHub

I had to say something about it:

  1. I don’t cache HighlightInfo - each call creates a new HighlightInfo. What’s actually cached is TextAttributesKey, because some colors are randomly generated based on configurations. If we don’t cache them, you’ll notice the colors keep changing every time.
  2. If there are any best practices or documentation for HighlightVisitor, please share them. My current implementation was derived solely from reading source code, so I wouldn’t know if usage patterns change in future updates.
  3. Please refrain from using terms like “rogue plugins” or “incorrect plugins” in git commit messages or code comments. I’m not sure why this wording was used. Also, my plugin isn’t called “RainBrackets” nor has it ever used that abbreviation - its official name is Rainbow Brackets.

Hello,

This is an automated message from JetBrains Platform to let you know that your post was hidden.

https://platform.jetbrains.com/t/any-one-take-care-of-the-cannot-set-highlighter-to-rangehighlighter-issue/1144/4

Your post was flagged as inappropriate: the community feels it is offensive, abusive, to be hateful conduct or a violation of our community guidelines.

This post was hidden due to flags from the community, so please consider how you might revise your post to reflect their feedback. You can edit your post after 10 minutes, and it will be automatically unhidden.

However, if the post is hidden by the community a second time, it will remain hidden until handled by staff.

For additional guidance, please refer to our community guidelines.

How fascinating that haters can freely dump their error-ridden, emotional, nonsensical, ad hominem rants in plugin reviews, yet when I factually describe JetBrains employees’ commit messages on platform.jetbrains.com, it magically gets flagged as ‘offensive’, ‘abuse’, or ‘hateful conduct’. Bravo! The hypocrisy is truly award-winning.

Also related to Help plugin owners against harassment

I’ve restored your message above.

Could you please apply the same rules to the plugin reviews?

1 Like

Plugin reviews are managed by the JetBrains Marketplace team and they’re quite unrelated to what happens here in the forum for various reasons (incl. legal frameworks that must be obeyed for Marketplace).

I simply hope that the toxic users from the marketplace won’t harass us (the authors of paid plugins) on this server too.
Harassment on the marketplace is super easy, JetBrains does almost nothing, and we cannot defend. It seems that the same problem can happen here.

1 Like