How to show inlay text?
Answered
Hi , i want my plugin achieve an effect that looks like pictures below. When user input something in editor, i want my plugin to show code suggestions. How can i achieve that?


Please sign in to leave a comment.
i found three function that might be the answer, i will give it a try:
Editor#getInlayModel#addInlineElement
Editor#getInlayModel#addAfterLineEndElement
Editor#getInlayModel#addBlockElement
Hi,
See
com.intellij.codeInsight.inline.completion.InlineCompletionProvider
.