[mongo4idea] Create an mongo collection editor like Table Editor (from the official database plugin)


I currently code the editor features for the Mongo plugin. Recently, I used the official database plugin for testing purpose and the Table editor in a tab is a great feature.

I was wondering how you implemented it ? My current understanding is the tab is linked to a file (real or virtual).

I think that migrating the window tool panel of the mongo collection content to a tab editor could make its usage more comfortable.

Could you please provide some tips or code snipped of that so I could make some tries ?

Thanks in advance,


1 comment
Comment actions Permalink

You need to implement com.intellij.openapi.fileEditor.FileEditorProvider for this. There are bunch of ones in Android plugin code for reference.


Please sign in to leave a comment.