Remove Text tab from my custom FileEditor
Answered
I extended FileTypeFactory and LanguageFileType then registered them in plugin.xml. With my custom extension my custom TableEditor (implements FileEditor) IDEA opens the file. No problem here.
But in my editor pane/frame i see two tabs at bottom. First is Text, second is my table editor panel. I dont want Text tab.
Why it is created. I dont want a tabbed editor since i return only a JPanel instance in my editor.
Any ideas?
Please sign in to leave a comment.
From com.intellij.openapi.fileEditor.FileEditorProvider#getPolicy return com.intellij.openapi.fileEditor.FileEditorPolicy#HIDE_DEFAULT_EDITOR