Skip to content

Commit

Permalink
readme & plugin.xml updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Miha-x64 committed Jul 7, 2019
1 parent 10887f2 commit 37d8ce1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 6 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@

## Mike's IDEA extensions

* inspections,
* well, that's all for now
Some great inspections, quickfixes, tools. Well, only inspections at the moment.

<h3>UAST (Java + Kotlin) inspections</h3>
<ul>
<li>Atomic can be replaced with volatile</li>
<li>Calling Enum values() without caching</li>
</ul>

<h3>Kotlin inspections</h3>
<ul>
<li>Property delegation</li>
<li>Declaration name is Java keyword</li>
<li>Inline function leaks anonymous declaration</li>
<li>Function won't be inlined;
noinline callable references are a bit more expensive than noinline lambdas;
function cannot be inlined if it is a receiver of an extension function</li>
</ul>

<h3>Android inspections</h3>
<ul>
<li>&lt;include layout="?themeAttribute"&gt;</li>
</ul>
17 changes: 13 additions & 4 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,22 @@
<vendor email="[email protected]" url="http://aquadc.net/">Mike</vendor>

<description><![CDATA[
Missing inspections, quickfixes, tools.
Some great inspections, quickfixes, tools. Well, only inspections at the moment.
<h3>UAST (Java + Kotlin) inspections</h3>
<ul>
<li>Atomic can be replaced with volatile</li>
<li>Calling Enum values() without caching</li>
</ul>
<h3>Kotlin inspections</h3>
<ul>
<li>Property delegation</li>
<li>Kotlin identifier is Java keyword</li>
<li>Atomic can be replaced with volatile</li>
<li>Declaration name is Java keyword</li>
<li>Inline function leaks anonymous declaration</li>
<li>Function won't be inlined;
noinline callable references are a bit more expensive than noinline lambdas;
function cannot be inlined if it is a receiver of an extension function</li>
</ul>
<h3>Android inspections</h3>
Expand Down Expand Up @@ -62,7 +71,7 @@

<localInspection
language="UAST"
shortName="enumValuesUncached" displayName="Enum values() are never cached"
shortName="enumValuesUncached" displayName="Calling Enum values() without caching"
groupPath="JVM languages" groupName="Performance"
enabledByDefault="true" level="WARNING"
implementationClass="net.aquadc.mike.plugin.inspection.EnumValuesUncachedInspection" />
Expand Down

0 comments on commit 37d8ce1

Please sign in to comment.