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?

0
2 comments

i found three function that might be the answer, i will give it a try: 

Editor#getInlayModel#addInlineElement

Editor#getInlayModel#addAfterLineEndElement

Editor#getInlayModel#addBlockElement

0

Hi,

See com.intellij.codeInsight.inline.completion.InlineCompletionProvider.

0

Please sign in to leave a comment.