I want to implement a function that triggers an event when the embedded information is clicked
已回答
请先登录再写评论。
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()
.