Sample code in editor for hints

Answered
I want to add a feature where grey code text is inserted in the caret position whenever user types something. Then if the user presses tab then the grey code becomes white and part of editor code and if the user types anything else the inserted string is deleted and newer grey suggestion string is inserted into the new caret position. The code suggestions(grey text) are coming through some api. Please suggest some ways. Thanks.
0
1 comment

Please try using experimental extension point com.intellij.codeInsight.inline.completion.InlineCompletionProvider

0

Please sign in to leave a comment.