Is it possible to open editor window not linked to a file?



As the title says, I'm looking to open a new editor window. However, preferably not linked to any kind of file or class, as it isn't necessary and will slow down my plugin significantly.

I intend to try create a new editor window instance, and hopefully store the text created there to a variable somehow. If there is already a way to do this, that would be excellent. Or if anyone has any ideas on how I could do it, please point me in the right direction.

Thanks in advance.


Try com.intellij.ui.EditorTextField, can be used in any dialog/panel.


Please sign in to leave a comment.