Without modifying the source file, dynamically add some comments to the code, you can only see Follow
Answered
Please sign in to leave a comment.
Does anyone know how this is achieved please?
Hi,
Please check com.intellij.codeInsight.inlayProvider EP:
https://github.com/JetBrains/intellij-community/blob/master/platform/lang-api/src/com/intellij/codeInsight/hints/InlayHintsProvider.kt
and example implementations:
https://plugins.jetbrains.com/intellij-platform-explorer/extensions?extensions=com.intellij.codeInsight.inlayProvider
Ok, thanks, I'll try it out, thanks a lot