how to develop intention for sql?
Answered
Hi, I would like to develop a plugin which provides some intentions for sql statements.
I've followed the official documentation to setup the project, but stuck in plugin.xml, which language should I use? there no "SQL" option.
<extensions defaultExtensionNs="com.intellij">
<intentionAction>
<language>TEXT</language>
<className><!-- TBD --></className>
<category>SQL</category>
</intentionAction>
</extensions>
Please sign in to leave a comment.
Hi Yuchuan,
The language should be SQL. You probably didn’t add a dependency on the
com.intellij.databaseplugin. For more details, see https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html.Thanks for the answer!