CodeMirror Field prompt type

Can CodeMirror implement the field type prompt function of the idea editor.
Like in the picture.

image