Not able to use com.intellij.database in a plugin
I am trying to develop a plugin which would generate some code using a Table from the database tools window.
Somewhat similar to https://github.com/yseasony/idea-sql-generator-tool
But the DatabaseView class in getting resolved. I tried using
<depends optional="true">com.intellij.database</depends>
in plugin.xml similar to the plugin mentioned>but that too cannot be resolved. How do I fix this?
Please sign in to leave a comment.
You need to add the following to IntelliJ SDK:
And optionally its sources:
Hi,
Is database-openapi.jar available in Maven repo? What's the link?
I'm developing a plugin in IntelliJ v2021.1. I need com.intellij.database.psi.DataSourceManager class and package. Does this jar "database-openapi.jar" have this class?
Thanks,
Mcs Krishna, yes it does.
Mcs Krishna Were you able to use it in your plugin?
If so, can you tell us how?
Not useful, in fact. I'm not using this jar in my plugin.