Skip to content

Commit

Permalink
chore: cleanup plugin.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
lppedd committed Nov 9, 2023
1 parent 1de178c commit d524acc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
23 changes: 18 additions & 5 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--suppress PluginXmlValidity, PluginXmlDynamicPlugin -->
<!--suppress PluginXmlDynamicPlugin, LightServiceMigrationXML -->
<idea-plugin require-restart="true">
<id>com.github.lppedd.idea-conventional-commit</id>
<name>Conventional Commit</name>
Expand All @@ -21,10 +21,12 @@
</applicationListeners>

<extensions defaultExtensionNs="com.intellij">
<!--suppress PluginXmlValidity -->
<ApplicationLoadListener implementation="com.github.lppedd.cc.CCApplicationLoadListener" />

<iconProvider implementation="com.github.lppedd.cc.icon.CCConfigFileIconProvider" />

<!--suppress PluginXmlValidity -->
<completion.contributor
order="first, before commitCompletion, before coAuthoredCompletion"
language="TEXT"
Expand Down Expand Up @@ -91,10 +93,12 @@

<checkinHandlerFactory implementation="com.github.lppedd.cc.vcs.commitbuilder.CommitBuilderCheckinHandlerFactory" />

<notificationGroup id="com.github.lppedd.cc.notifications"
displayType="STICKY_BALLOON"
isLogByDefault="true"
key="cc.notification.group.name"/>
<notificationGroup
id="com.github.lppedd.cc.notifications"
displayType="STICKY_BALLOON"
isLogByDefault="true"
key="cc.notification.group.name"
/>

<registryKey
key="com.github.lppedd.cc.providers.vcs"
Expand Down Expand Up @@ -143,10 +147,19 @@
</extensionPoints>

<extensions defaultExtensionNs="com.github.lppedd.idea-conventional-commit">
<!--suppress PluginXmlValidity -->
<commitTypeProvider order="first" implementation="com.github.lppedd.cc.api.impl.InternalCommitTokenProvider" />

<!--suppress PluginXmlValidity -->
<commitScopeProvider order="first" implementation="com.github.lppedd.cc.api.impl.InternalCommitTokenProvider" />

<!--suppress PluginXmlValidity -->
<commitFooterTypeProvider order="first" implementation="com.github.lppedd.cc.api.impl.InternalCommitTokenProvider" />

<!--suppress PluginXmlValidity -->
<commitFooterValueProvider order="first" implementation="com.github.lppedd.cc.api.impl.InternalCommitTokenProvider" />

<!--suppress PluginXmlValidity -->
<whatsNewProvider order="first" implementation="com.github.lppedd.cc.whatsnew.InternalWhatsNewProvider" />
</extensions>
</idea-plugin>
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ cc.config.coAuthorsDialog.error = Co-author's names cannot be blank
# The double ' is required when positional arguments are present (e.g. {0})
cc.config.coAuthorsDialog.saveError = Couldn''t save changes to file: {0}

cc.notification.group.name = Conventional Commit notifications
cc.notifications.schema = Error reading custom defaults file.<br/>Using built-in ones.

cc.inspection.nonStdMessage.description = Conventional Commit: non-standard message
Expand Down

0 comments on commit d524acc

Please sign in to comment.