I´m developing a plugin that uses a form to read an write an xml file in a particular format. I create a gui form and attached to the file type I need. Now I want to show a full editor to write java code with a fragment of the xml file. I used the EditorTextField to put the code and set the FileType to java, but I don´t have the full feature of an editor in the field like code completion, highlights, line number and more. I´m attaching a image of the plugin to illustrate better what I´m writing here. If I can´t use the full editor inside this form, is possible to create a button that opens a dialog with the full editor with my code? What I´m trying to achieve is something like the Local History -> Show History feature of Intellij Idea that contains a full editor in the dialog. I try to find that form in the source codee of the community version to see how it´s done, but don´t have success.