how to develop intention for sql?

已回答

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>
0

Hi Yuchuan,

The language should be SQL. You probably didn’t add a dependency on the com.intellij.database plugin. For more details, see https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html.

1

Thanks for the answer!

0

请先登录再写评论。