All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.plugin.xml Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
<idea-plugin version="2">
  <id>com.squareup.sqldelight</id>
  <name>SQLDelight</name>
  <category>Custom Languages</category>
  <vendor url="https://github.com/square">Square, Inc.</vendor>
  <idea-version
      since-build="145"
  />
  <depends>com.intellij.modules.lang</depends>
  <depends>org.jetbrains.android</depends>
  <depends>org.jetbrains.plugins.gradle</depends>

  <description><![CDATA[
      Android sqlite interface generator.<br>
      Generates interfaces for safely running SQLite statements and <br>
      mapping back from a cursor.
    ]]></description>

  <change-notes><![CDATA[
  <p>
  0.6.1
  <ul>
    <li>New: Delete Update and Insert statements without arguments get </li>compiled statements generated.
    <li>Fix: Using clause within a view used in a subquery doesn</li>'t error.
    <li>Fix: Duplicate types on generated Mapper removed.</li>
    <li>Fix: Subqueries can be used in expressions that check against arguments.</li>
  </ul>
  </p>
  <p>
  0.6.0
  <ul>
  <li>New: Select queries are now exposed as a `SqlDelightStatement` factory instead of string constants.</li>
  <li>New: Query JavaDoc is now copied to statement and mapper factories.</li>
  <li>New: Emit string constants for view names.</li>
  <li>Fix: Queries on views which require factories now correctly require those factories are arguments.</li>
  <li>Fix: Validate the number of arguments to an insert matches the number of columns specified.</li>
  <li>Fix: Properly encode blob literals used in where clauses.</li>
  </ul>
  </p>
]]></change-notes>

  <module-components>
    <component>
      <implementation-class>com.squareup.sqldelight.intellij.SqlDelightModuleComponent</implementation-class>
    </component>
  </module-components>

  <extensions defaultExtensionNs="com.intellij">
    <compileServer.plugin classpath="sqldelight-jps-plugin.jar"/>

    <fileTypeFactory implementation="com.squareup.sqldelight.intellij.lang.SqliteFileTypeFactory"/>
    <externalAnnotator language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.SqlDocumentAnnotator"/>
    <gotoDeclarationHandler
        implementation="com.squareup.sqldelight.intellij.lang.SqliteGotoDeclarationHandler"/>
    <postStartupActivity implementation="com.squareup.sqldelight.intellij.SqlDelightStartupActivity"/>
    <errorHandler implementation="com.squareup.sqldelight.intellij.SqlDelightErrorHandler" />

    <completion.contributor language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.ClassCompletionContributor"/>
    <completion.contributor language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.SqlDelightCompletionContributor"/>
    <findUsagesHandlerFactory
        implementation="com.squareup.sqldelight.intellij.lang.SqliteFindUsagesHandlerFactory"/>
    <annotator language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.psi.ClassNameElementAnnotator" />

    <lang.findUsagesProvider
        implementationClass="com.squareup.sqldelight.intellij.lang.SqliteFindUsagesProvider"
        language="Sqlite"/>
    <lang.fileViewProviderFactory language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.SqlDelightFileViewProviderFactory"/>
    <lang.syntaxHighlighterFactory key="SqliteSyntaxHighlighter"
        implementationClass="com.squareup.sqldelight.intellij.lang.SqliteSyntaxHighlighterFactory"/>
    <lang.parserDefinition language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.SqliteParserDefinition"/>
    <lang.ast.factory language='Sqlite'
        implementationClass="com.squareup.sqldelight.intellij.lang.SqliteASTFactory"/>
    <lang.braceMatcher language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.SqlitePairedBraceMatcher"/>
    <lang.quoteHandler language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.SqliteTokenSetQuoteHandler"/>
    <lang.commenter language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.SqlDelightCommenter"/>
    <lang.psiStructureViewFactory language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.SqlDelightStructureViewFactory"/>
    <lang.formatter language="Sqlite"
        implementationClass="com.squareup.sqldelight.intellij.lang.formatter.SqlDelightFormattingModelBuilder"/>
  </extensions>

  <actions>
    <action id="SQDelight.CopyAsSqlite" class="com.squareup.sqldelight.intellij.actions.CopyAsSqliteAction" text="Copy as SQLite">
      <add-to-group group-id="CutCopyPasteGroup" anchor="after" relative-to-action="$Copy"/>
      <add-to-group group-id="EditorPopupMenu" anchor="after" relative-to-action="$Copy"/>
      <keyboard-shortcut keymap="Mac OS X" first-keystroke="control shift C"/>
    </action>
  </actions>
</idea-plugin>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy