Remove Text tab from my custom FileEditor

已回答

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?

0

From com.intellij.openapi.fileEditor.FileEditorProvider#getPolicy return com.intellij.openapi.fileEditor.FileEditorPolicy#HIDE_DEFAULT_EDITOR

0

请先登录再写评论。