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

Hi,

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,

David

1 comment

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

0

Please sign in to leave a comment.