How to refresh Code Vision Provider ( or re-trigger computeCodeVision )

Answered

Hi, 

I am working on a plugin which displays some content in a tool window. Now, I have a Code Vision Provider, which I want to be rendered only if the tool window is open(active). I have tried multiple ways, but I am not able to make this work. Could someone help me solve this ?

Thanks in advance for any suggestions!

1
1 comment

Restart highlighting explicitly https://plugins.jetbrains.com/docs/intellij/syntax-highlighting-and-error-highlighting.html#controlling-highlighting.

In general it looks strange to enable Code Vision only when a Tool Window is open. Editor and Tool Window are separate concepts and UI, and have distinct settings (Settings | Editor | Inlay Hints). 

0

Please sign in to leave a comment.