I want to implement a function that triggers an event when the embedded information is clicked
Answered
Please sign in to leave a comment.
Hi,
InlayHintsProvider
allows for implementing custom behavior. See https://plugins.jetbrains.com/docs/intellij/inlay-hints.html#inlay-hints-provider. Mouse handling can be installed with:com.intellij.codeInsight.hints.InlayPresentationFactory.mouseHandling()
.