Add resources-en for idea
#KT-38297 Fixed
This commit is contained in:
@@ -1 +0,0 @@
|
||||
TODO("Not yet implemented")
|
||||
@@ -1,38 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
|
||||
<tr>
|
||||
<td colspan="3"><font face="verdana" size="-1">This is a built-in template used for filling the body of a Kotlin function
|
||||
each time it is generated by the program, e.g. when using the <b>Create Function from Usage</b> intention action.<br>
|
||||
The template is editable. Along with Kotlin expressions and comments, you can also use the predefined variables
|
||||
that will be then expanded into the corresponding values.</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
|
||||
<tr>
|
||||
<td colspan="3"><font face="verdana" size="-1">Predefined variables will take the following values:</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${RETURN_TYPE}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">a return type of a created function</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${FUNCTION_NAME}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">name of the created function</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${CLASS_NAME}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">qualified name of the class where function is created</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${SIMPLE_CLASS_NAME}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">non-qualified name of the class where function is implemented</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1 +0,0 @@
|
||||
TODO("Not yet implemented")
|
||||
@@ -1,38 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
|
||||
<tr>
|
||||
<td colspan="3"><font face="verdana" size="-1">This is a built-in template used for filling the initializer of a Kotlin property
|
||||
each time it is generated by the program, e.g. when using the <b>Create Property from Usage</b> intention action.<br>
|
||||
The template is editable. Along with Kotlin expressions and comments, you can also use the predefined variables
|
||||
that will be then expanded into the corresponding values.</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
|
||||
<tr>
|
||||
<td colspan="3"><font face="verdana" size="-1">Predefined variables will take the following values:</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${RETURN_TYPE}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">a type of a created property</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${PROPERTY_NAME}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">name of the created property</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${CLASS_NAME}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">qualified name of the class where property is created</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${SIMPLE_CLASS_NAME}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">non-qualified name of the class where property is created</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1 +0,0 @@
|
||||
//To change body of created constructors use File | Settings | File Templates.
|
||||
@@ -1,28 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
|
||||
<tr>
|
||||
<td colspan="3"><font face="verdana" size="-1">This is a built-in template used for filling the body of a Kotlin secondary
|
||||
constructor each time it is generated by the program, e.g. when using the <b>Create secondary constructor from Usage</b> intention action.<br>
|
||||
The template is editable. Along with Kotlin expressions and comments, you can also use the predefined variables
|
||||
that will be then expanded into the corresponding values.</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
|
||||
<tr>
|
||||
<td colspan="3"><font face="verdana" size="-1">Predefined variables will take the following values:</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${CLASS_NAME}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">qualified name of the class where function is created</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><nobr><font face="verdana" size="-2" color="#7F0000"><b><i>${SIMPLE_CLASS_NAME}</i></b></font></nobr></td>
|
||||
<td width="10"> </td>
|
||||
<td valign="top"><font face="verdana" size="-1">non-qualified name of the class where function is implemented</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
|
||||
|
||||
#end
|
||||
#parse("File Header.java")
|
||||
class ${NAME} {
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<font face="verdana" size="-1">
|
||||
This is a built-in template used by <b>IDEA</b> each time you create a
|
||||
Kotlin class
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
|
||||
|
||||
#end
|
||||
#parse("File Header.java")
|
||||
enum class ${NAME} {
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<font face="verdana" size="-1">
|
||||
This is a built-in template used by <b>IDEA</b> each time you create a
|
||||
Kotlin enum class
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,4 +0,0 @@
|
||||
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
|
||||
|
||||
#end
|
||||
#parse("File Header.java")
|
||||
@@ -1,14 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<font face="verdana" size="-1">
|
||||
This is a built-in template used by <b>IDEA</b> each time you create a
|
||||
Kotlin file
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
|
||||
|
||||
#end
|
||||
#parse("File Header.java")
|
||||
interface ${NAME} {
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<font face="verdana" size="-1">
|
||||
This is a built-in template used by <b>IDEA</b> each time you create a
|
||||
Kotlin interface
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
|
||||
|
||||
#end
|
||||
#parse("File Header.java")
|
||||
object ${NAME} {
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<font face="verdana" size="-1">
|
||||
This is a built-in template used by <b>IDEA</b> each time you create a
|
||||
Kotlin object
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,14 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<font face="verdana" size="-1">
|
||||
This is a built-in template used by <b>IDEA</b> each time you create a
|
||||
Kotlin script
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,14 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<font face="verdana" size="-1">
|
||||
This is a built-in template used by <b>IDEA</b> each time you create a
|
||||
Kotlin Worksheet
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a function that matches one of the operator conventions but is not annotated as <b>operator</b>.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports type parameters that can have an <b>in</b> or <b>out</b> variance.
|
||||
Usage of <b>in</b> and <b>out</b> variances leads to more precise type inference in Kotlin.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports array properties in a data class without overridden <b>equals()</b> or <b>hashCode()</b> inside.
|
||||
Due to default <b>equals()</b> behaviour for arrays in JVM, it is strongly recommended to override <b>equals()</b> and <b>hashCode()</b> in such cases.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports boolean literal arguments that could be named to remove ambiguity.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports primary constructor parameters that can have <b>val</b> or <b>var</b> removed.
|
||||
Unnecessary usage of <b>val</b> or <b>var</b> in the primary constructor consumes memory.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports properties which are explicitly assigned to constructor parameters and can be declared directly in the constructor instead.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports mutable local variables (declared with a <b>var</b> keyword) that can be made immutable.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports direct inheritors of <b>sealed class</b> that have no state and no overridden <b>equals</b>.
|
||||
It's highly recommended to override <b>equals</b> to provide comparison stability or convert <b>class</b> to <b>object</b> with the same effect.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>if</b> statements with three or more branches that can be replaced with a <b>when</b> expression.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports class names that do not follow the recommended naming conventions.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection detects a redundant argument-based <b>let</b> call.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports extension properties that conflict with synthetic ones automatically produced from Java <b>get/set</b> methods. These properties should be either removed or renamed to avoid breaking code by future changes in the compiler.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>const</b> property names that do not follow the recommended naming conventions.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>if</b> expressions whose condition is constant and therefore the expression can be simplified.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports that <b>if</b>, <b>when</b>, <b>for</b>, <b>while</b> and also expressions has empty body.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports call chain on collection should be converted into <b>Sequence</b>.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a lambda (function literal) expression that can be replaced with a function reference expression.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,7 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports an equality check with <b>Double.NaN</b> which can be replaced with <b>a.isNaN()</b>.
|
||||
|
||||
For every floating point value <b>a</b>, <b>a == NaN</b> will always result in <b>false</b>.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a <b>Pair</b> constructor that can be converted to a <b>to</b> function call.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a function reference expression that can be replaced with a lambda.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a secondary constructor that can be replaced with a more concise primary constructor.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports string concatenation that can be converted to a simple string template (the one with no <b>${...}</b> entries).
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a <b>try-finally</b> block with <b>resource.close()</b> in <b>finally</b> which can be converted to a <b>resource.use()</b> call.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports two consecutive comparisons which can be converted to a range check.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports calls to a data class' <b>copy</b> method without named arguments.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports private constructors of data classes because they are always exposed via the generated <b>copy</b> method.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,8 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports functions with <b>kotlinx.coroutines.Deferred</b> result.
|
||||
|
||||
Functions which use <b>Deferred</b> as return type should have a name with suffix <b>Async</b>.
|
||||
Otherwise, it's recommended to turn a function into a suspend function and unwrap <b>Deferred</b>.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports calls with <b>Deferred</b> result that is never used,
|
||||
so nobody will wait for execution of all related actions.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports delegation to <b>var</b> property.
|
||||
In fact, only starting value of <b>var</b> property is used for delegation so it's not recommended to do so.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports deprecated functions and properties that do not have a <b>kotlin.ReplaceWith</b> argument in its <b>kotlin.deprecated</b> annotation
|
||||
and there is a suggestion to add one based on the body.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports usages of pre-M13 Kotlin package facade classes in Kotlin code and offers to replace them with
|
||||
new-style file classes.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports that some deprecated dependency is used in Gradle.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports that some deprecated dependency is used in Maven.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports declarations that can be destructured.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports entries of destructuring declarations that match the name of a different property of the destructured data class.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports that different IDE and Gradle plugin versions are used.
|
||||
This can cause inconsistencies between IDE and Gradle builds in error reporting or code behaviour.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports different kotlin stdlib and compiler versions that could lead to unpredictable issues.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,8 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports functions with <b>Result</b> result.
|
||||
|
||||
<b>Result</b> should never be used as return type.
|
||||
Throw exception, or use nullable type, or use domain-specific result class to indicate failure.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports ranges that are empty because the <b>start</b> value is greater than the <b>endInclusive</b> value.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports enum entry names that do not follow the recommended naming conventions.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports classes that override <b>equals()</b> but do not override <b>hashCode()</b>, or vice versa, which could potentially lead to problems when a class is added to a <b>Collection</b>.
|
||||
It also reports object declarations which override either <b>equals()</b> or <b>hashCode()</b>.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports usages of explicit <b>this</b> when it can be omitted.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,17 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<p>
|
||||
This inspection reports non-<b>const</b> Kotlin properties used as Java annotation arguments.
|
||||
It is possible for a property which is annotated with <b>@JvmField</b>,
|
||||
has an initializer that can be evaluated at compile-time, has a primitive or <b>String</b> type.
|
||||
Such properties have a <b>ConstantValue</b> attribute in bytecode in Kotlin 1.1-1.2.
|
||||
This attribute allows javac to fold usages of the corresponding field and use that field in annotations.
|
||||
This can cause incorrect behavior in case of separate or incremental compilation in mixed Java/Kotlin code.
|
||||
</p>
|
||||
<p>
|
||||
This behavior is subject to change in Kotlin 1.3 (no <b>ConstantValue</b> attribute any more).
|
||||
Recommended action: replace the <b>@JvmField</b> annotation with a <b>const</b> modifier on a relevant Kotlin property or inline it.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports an <b>if</b> expression checking variable being null or not right after initializing it that can be converted into an elvis operator in the initializer.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection guards against useless forEach loops by identifying when the iterable's values are not used.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,8 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<p>
|
||||
Since Kotlin 1.3 it's prohibited to call <i>IntProgression.fromClosedRange()</i> and <i>LongProgression.fromClosedRange()</i> with
|
||||
<i>MIN_VALUE</i> step. All such calls should be checked during migration to Kotlin 1.3+.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports function names that do not follow the recommended naming conventions.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,10 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports function with `<b>= { ... }</b>` and inferred return type.
|
||||
|
||||
<pre>
|
||||
fun sum(a: Int, b: Int) = { a + b } // The return type of this function is '() -> Int'.
|
||||
</pre>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>kotlinx.coroutines</b> libraries dependencies in Gradle that should be updated in order
|
||||
to be compatible with Kotlin 1.3+.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports functions and properties that have a platform type. In order to prevent unexpected errors, the type should be declared explicitly.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>if-then</b> expressions that can be folded into elvis (<b>?:</b>) expressions.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>if-then</b> expressions that can be folded into safe-access (<b>?.</b>) expressions.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports identifiers in Android projects which are not accepted by the Android runtime (for example, method names containing spaces).
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports variables / functions with implicit <b>Nothing?</b> type.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports usages of implicit <b>this</b>.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a <b>when</b> expression that can be simplified by introducing a subject argument.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a Java <b>Collections</b> static method call replaceable by Kotlin stdlib, e.g. <b>Collections.sort(list)</b>.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection report calls of Java mutator methods (like <b>fill</b>, <b>reverse</b>, <b>shuffle</b>, <b>sort</b>) on an immutable Kotlin collection.
|
||||
This will likely produce an <b>UnsupportedOperationException</b> at runtime.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a Java Map.<b>forEach</b> method call replaceable by Kotlin's <b>forEach</b>.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports property declarations that can be joined with the following assignment.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,3 +0,0 @@
|
||||
<html><body>
|
||||
This inspection reports public declarations that do not have KDoc comments.
|
||||
</body></html>
|
||||
@@ -1,3 +0,0 @@
|
||||
<html><body>
|
||||
This inspection reports unresolved references in KDoc comments.
|
||||
</body></html>
|
||||
@@ -1,7 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>equals()</b> methods taking an argument type other than <b>Any?</b>.
|
||||
Only reports if the containing class does not have another <b>equals()</b> method which does take <b>Any?</b> as its argument type.
|
||||
Normally, this is a mistake.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,10 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection is used during the code cleanup operation (<b>Analyze | Code Cleanup</b>) to automatically
|
||||
replace usages of obsolete language features or unnecessarily verbose code constructs with
|
||||
compact and up-to-date syntax.
|
||||
<p>
|
||||
Deprecated symbol usages are also replaced with their proposed substitutions.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports redundant double negation usages, like <b>val truth = !!true</b>.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>equals()</b> between objects of inconvertible primitive / enum / string types.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports usages of Kotlin internal declarations in Java code from a different module.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,7 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports any <b>Logger</b>s which are initialized with a class literal from a different class than the <b>Logger</b> is contained in.
|
||||
<br /><br />
|
||||
Use the table below to specify the logger factory classes and logger factory methods recognized by this inspection.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports redundant <b>override</b> modifiers which can be omitted.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports creating of <b>Throwable</b> and subclasses, where the created <b>Throwable</b> is never actually thrown.
|
||||
Also reports function calls which return <b>Throwable</b> instances, where the result of the function call is not thrown.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>import</b> statements in Kotlin code that are unused.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports when one lateinit var property overrides another lateinit var property.
|
||||
An instance of a subclass will have two fields for the single property and the one from a superclass remains effectively unused.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,30 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports dangerous operations inside constructors including:
|
||||
|
||||
<ul>
|
||||
<li>Accessing a non-final property in constructor</li>
|
||||
<li>Calling a non-final function in constructor</li>
|
||||
<li>Using <b>this</b> as a function argument in a constructor of a non-final class</li>
|
||||
</ul>
|
||||
|
||||
These operations are dangerous because your class can be inherited,
|
||||
and a derived class is not yet initialized at this moment. Typical example:
|
||||
<br /><br />
|
||||
|
||||
<pre>
|
||||
<b>abstract class</b> Base {
|
||||
<b>val</b> code = calculate()
|
||||
<b>abstract fun</b> calculate(): Int
|
||||
}
|
||||
|
||||
<b>class</b> Derived(<b>private val</b> x: Int) : Base() {
|
||||
<b>override fun</b> calculate() = x
|
||||
}
|
||||
|
||||
<b>fun</b> testIt() {
|
||||
println(Derived(42).code) <i>// Expected: 42, actual: 0</i>
|
||||
}
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,16 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>if</b>, <b>when</b> and <b>try</b> statements that can be converted to expressions
|
||||
by lifting a return or an assignment out. Typical example:
|
||||
<br /><br />
|
||||
|
||||
<pre>
|
||||
<b>fun</b> foo(arg: Boolean): String {
|
||||
<b>when</b> (arg) {
|
||||
<b>true</b> -> <b>return</b> "Truth"
|
||||
<b>false</b> -> <b>return</b> "Falsehood"
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports local variable names that do not follow the recommended naming conventions.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>for</b> loops that can be replaced with a sequence of stdlib operations (like <b>map</b>, <b>filter</b>, etc).
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports a entry point function with incorrect return type (should be <b>Unit</b>).
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>map.get()!!</b> that can be replaced with <b>map.getValue()</b>, <b>map.getOrElse()</b>, etc.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>kotlinx.coroutines</b> libraries dependencies in Maven that should be updated in order
|
||||
to be compatible with Kotlin 1.3+.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports an object and a top-level <b>val</b> that might be declared as <b>const</b>
|
||||
for better performance and Java interoperability.
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user