Looking for guidance on creating a plugin for Datagrip, it looks like somethings don't quite work the same.
- Getting the selected table(s):
In Intellij, I might put something like the following in an Action:
VirtualFile files = LangDataKeys.VIRTUAL_FILE_ARRAY.getData(e.getDataContext());
But this just returns null in DG. How do I get the tables that have been selected by the user?
- Guidance on using the DasTable class to execute queries against the Project DB? Intefaces and implementations that should be used?
- Action placement/grouping doesn't seem to correspond to the equivalent menus. What action group is used to create the menu that appears when you right click on a table? It doesn't seem to be the EditorMenu group.