Last active
May 1, 2022 15:28
-
-
Save rubenquadros/bc54c6b2c466c575683d54d1643f4f7d to your computer and use it in GitHub Desktop.
Add localInspection extension to plugin.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<idea-plugin> | |
<id>com.ruben.codespector</id> | |
<name>Codespector</name> | |
<vendor email="support@yourcompany.com" url="http://www.yourcompany.com">YourCompany</vendor> | |
<description><![CDATA[ | |
Enter short description for your plugin here.<br> | |
<em>most HTML tags may be used</em> | |
]]></description> | |
<!-- please see https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html | |
on how to target different products --> | |
<depends>com.intellij.modules.platform</depends> | |
<depends>org.jetbrains.kotlin</depends> | |
<extensions defaultExtensionNs="com.intellij"> | |
<localInspection | |
language="kotlin" | |
groupPath="Kotlin" | |
groupBundle="messages.InspectionsBundle" | |
groupKey="group.names.probable.bugs" | |
enabledByDefault="true" | |
implementationClass="com.ruben.codespector.SerializedNameInspector" | |
displayName="Add 'SerializedName' annotation" | |
shortName="SerializedNameInspector" | |
runForWholeFile="true" /> | |
</extensions> | |
<actions> | |
<!-- Add your actions here --> | |
</actions> | |
</idea-plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment