Code lens implementation in Idea Plugin


I'm currently working on plugin where i need to show some information about a annotation using runtime data of the application. Actually the scenario is showing some spring actuator information on a spring annotation. In VSCode we have something called CodeLens for this. In IntelliJ SDK what is the available mechanism to implement something like that.

live data from running apps as hover on source code

Its the gray color "<- FacnyGreatingService"above the @Autowired annotation is what i'm looking for.


Comment actions Permalink

Please see com.intellij.openapi.editor.Inlay

Comment actions Permalink

Thanks this was exactly i was looking for.


Please sign in to leave a comment.