add a popup to inlay Hint
已回答
i have inlay Hints of renderer class A and want to add a pop up to it that's displayed whenever a mouse is hovered over that renderer A inlay Hint.
请先登录再写评论。
There are various methods in
com.intellij.codeInsight.hints.presentation.PresentationFactory
to change onHover/onClick behavior.I am not understanding how to use this. can you provide a sample code?
hello??? can you help? i am not able to find any sample code
There are some usages in IJ Community sources, e.g.
com.intellij.refactoring.introduceParameter.IntroduceParameterHelperKt#createDelegatePresentation
I am not able to understand it. I have a editor and I am adding inline and blocks inlay hint using editor.inlayModel.addInlineElement(). how to proceed after that?
See com.intellij.internal.AddInlayInternalAction