Tabbed editor
I'm adding support for a custom language. I would like to make the editor tabbed, with the first tab being the default editor and the other ones customized, just like the web applications web.xml editor:
I can't find any example of this, is there some doc/sample somewhere ?
Regards,
Julien
Please sign in to leave a comment.
This is same question?
Just what I needed, thanks !
(The answer is: just register a fileEditorProvider that will accept your file type for the additional editors, and the editors will be automatically tabbed)
The Link is broken. Would love to know how to build such an editor.
Could piece together some snippets and come to following solution. EditorPolicy must be com.intellij.openapi.fileEditor.FileEditorPolicy.PLACE_BEFORE_DEFAULT_EDITOR and Language-Class must have parent attribute of com.intellij.lang.xml.XMLLanguage