syntax coloring and code completion for EditorTextField

Hi,

I have a plugin, whose setting page has an EditorTextField. I will be writing some templates here, which my plugin (my menu), will use.
The template will be written in velocity. I need to get syntax coloring and code completion for this field.
Please let me know how i can get this going.  

Thank you.

3 comments
Comment actions Permalink

Hi ,

I tried using the code you mentioned. In the createEditor method, there is a line editorSettings.setCaretRowShown(false);. Looks like method setCaretRowShown, is not available in Intellij 12.0.1.
For what version of intellij can i use/refer the code suggested..

0
Comment actions Permalink

You can simply remove this call; it is not essential for the feature to work.

0

Please sign in to leave a comment.