shiraji
647558c98a
Add inspection for potentially wrongly placed unary operators
...
So #KT-18236 Fixed
2017-06-16 15:02:24 +03:00
Dimach
d369fa094a
Add Boolean? == const to elvis conversion and vice versa #KT-15368 Fixed
...
Convert elvis to equality check implemented as inspection due
code style guide
2017-06-15 15:01:39 +03:00
Dmitry Neverov
753b714544
Report cases when class member can be private
2017-05-26 13:29:01 +02:00
Ilya Zorin
5e265b3d17
Convert intention "a..b-1 -> a until b" into weak warning inspection
...
So #KT-17895 Fixed
2017-05-26 09:48:04 +03:00
Dmitry Neverov
3b4dafe691
Detect recursive property accessors #KT-17221 Fixed
2017-05-19 20:36:09 +03:00
Mikhail Glukhikh
9990550429
Introduce inspection "replace arrayOf with literal" #KT-17164 Fixed
2017-05-16 20:44:11 +03:00
Kirill Rakhman
a8b2d3b4e8
Add inspection to detect copy() calls in a data class without named arguments
...
So #KT-17660 Fixed
2017-05-10 17:43:44 +03:00
shiraji
0eceef1519
Add inspection to detect use of callable reference as a lambda body
...
So #KT-17053 Fixed
2017-04-27 18:21:27 +03:00
Vyacheslav Gerasimov
a795313c7d
Add inspection for usages of Kotlin internal declarations in Java
...
#KT-11393 Fixed
2017-03-16 21:12:05 +03:00
Vyacheslav Gerasimov
b8ebc087e2
Add inspection for calls of function with lambda expression body
...
Added "Unused return value of a function with lambda expression body" inspection with quickfix "Remove '=' token from function declaration"
#KT-10393 Fixed
2017-03-15 00:22:31 +03:00
Kirill Rakhman
2506bb6673
Inspection checking that destructuring variable name matches the name of different component #KT-12004 Fixed
2017-03-01 18:24:48 +03:00
Kirill Rakhman
909007d984
Add inspection for private primary constructors in data classes
...
Fixes #KT-15709
2017-01-24 14:08:05 +03:00
shiraji
778289fefe
Add inspection that reports unused equals expression #KT-6217 Fixed
2016-12-28 16:41:22 +03:00
Mikhail Glukhikh
4a1e6d3ef9
Inspection to convert two comparisons to range check #KT-5045 Fixed
2016-12-22 15:02:49 +03:00
Mikhail Glukhikh
468e975580
KT-12100 related: convert try / finally to use() call inspection introduced
2016-12-01 20:38:52 +03:00
Mikhail Glukhikh
5c09e1ca98
KT-13393 related: convert reference to lambda inspection (off by default) introduced
2016-11-24 15:26:38 +03:00
Mikhail Glukhikh
c6997a1213
Redundant if inspection supports now assignments and just if (...) true else false #KT-13259 Fixed
2016-11-24 15:25:56 +03:00
Mikhail Glukhikh
45e28bef1c
Enhancement for "join declaration and assignment": now can handle also local variables, relevant inspection added #KT-12095 Fixed
2016-11-22 16:41:37 +03:00
Vyacheslav Gerasimov
60bc35b787
Implemented suppress lint intention action for android lint (KT-12020)
...
#KT-12020 Fixed
2016-11-21 17:16:27 +03:00
Mikhail Glukhikh
a6d17132b3
Build fix: forgotten inspection descriptions was added for new inspections
2016-11-07 14:55:36 +03:00
shiraji
a1f1716044
Add inspection/intention for redundant calls of conversion methods #KT-10871 Fixed
...
Also #KT-12625 Fixed
2016-10-17 12:05:18 +03:00
Mikhail Glukhikh
0903402282
"If null to elvis" now converts to elvis also !is check right after initializer #KT-14032 Fixed
2016-10-11 16:13:11 +03:00
Yoshinori Isogai
afe8244183
KT-14241 Add Intention + Inspection to remove empty class body ( #968 )
2016-10-10 19:24:39 +02:00
Zalim Bashorov
45d42bdff8
JS: add inspection for the case when something with dynamic type implicitly casted to kotlin another type
2016-10-10 17:30:51 +03:00
Mikhail Glukhikh
42aea59253
Simplify for intention refactoring: focus on the loop parameter, not on the loop itself
2016-10-06 21:03:03 +03:00
shiraji
32b7b5a092
Inspection/Intention replace size check with 'isNotEmpty' and 'isEmpty' #KT-13937 Fixed
2016-10-06 14:35:57 +03:00
Mikhail Glukhikh
0a4542c6c0
KT-9839 related, secondary constructor to primary: inspection for the single constructor
...
(cherry picked from commit aec0090)
2016-09-30 16:39:58 +03:00
Mikhail Glukhikh
4522d2c7da
Remove unnecessary lateinit intention / inspection removed (supported in compiler CFA instead)
...
(cherry picked from commit e17f222)
2016-09-27 18:49:51 +03:00
shiraji
e4c873dc6a
Add inspection + intention to replace .let { it.foo() } with .foo() #KT-13551 Fixed
2016-09-15 14:26:06 +03:00
shiraji
1bbde54e9d
Inspection to warn on using == with array types #KT-13384 Fixed
2016-08-22 15:11:19 +03:00
Kirill Rakhman
1bc2af6436
Add intention+inspection to remove empty parentheses from method call with single lambda parameter
...
Fixes #KT-13519
2016-08-20 16:03:42 +02:00
Valentin Kipyatkov
d658d3b9cf
"Use withIndex()" intention&inspection
2016-08-16 17:38:13 +03:00
Valentin Kipyatkov
12b1a99a6a
Initial implementation of loop-to-call-chain intention
2016-08-16 17:37:55 +03:00
Kirill Rakhman
d68a681db5
Highlight use of toString() inside string interpolation as redundant #KT-10731 Fixed
2016-08-15 13:28:47 +03:00
shiraji
5fb79259f7
Intention / inspection for unnecessary lateinit #KT-13011 Fixed
...
(cherry picked from commit 45d82f1)
2016-08-03 09:31:03 +03:00
shiraji
9b8c55d823
KT-13113: Add inspection to detect single-expression string template
...
(cherry picked from squashed commits 49a3ef3 and 4c7a42a)
2016-08-02 15:30:23 +03:00
Mikhail Glukhikh
475dc6541b
Replace call with comparison inspection introduced #KT-11425 Fixed
...
(cherry picked from commit 042fc0d)
2016-08-01 12:24:14 +03:00
Mikhail Glukhikh
82e69d9587
Remove setter parameter type inspection #KT-5771 Fixed
...
(cherry picked from commit 731a670)
2016-07-21 20:15:44 +03:00
Mikhail Glukhikh
220141ab2b
Convert lambda to callable reference intention / inspection #KT-10903 Fixed
...
(cherry picked from commit b620099)
2016-07-18 17:10:15 +03:00
shiraji
113ab7640e
Implement inspection to remove @ from annotation argument #KT-9228 Fixed
...
(cherry picked from commit 543c6bc)
2016-07-13 13:11:43 +03:00
Nikolay Krasko
585c8eea0b
Warn about using different versions of Kotlin plugin and standard library in Gradle (KT-12730)
...
#KT-12730 Fixed
2016-07-12 12:16:35 +03:00
Nikolay Krasko
620ddcd63a
Add inspection that warns if Gradle plugin version differs from the one in IDE (KT-12730)
...
#KT-12730 Fixed
2016-07-11 13:52:06 +03:00
Mikhail Glukhikh
4145e3438f
Minor fixes: can be constructor property
...
(cherry picked from commit 4d44e15)
2016-06-21 22:23:12 +03:00
Kirill Rakhman
d7bf03be46
Implement inspection for declarations with implicit platform types #KT-12310 Fixed
...
(cherry picked from commit 00d8c26)
2016-06-21 15:19:13 +03:00
Mikhail Glukhikh
ac03d98cb2
Inspection "can be primary constructor property" with relevant quick-fix #KT-8477 Fixed
...
(cherry picked from commit 2db7562)
2016-06-16 16:24:43 +03:00
Mikhail Glukhikh
a22e7d3bcf
KT-12152 : leaking this inspection: accessing non-final member / this in non-final class
2016-06-03 14:45:58 +03:00
Alexander Udalov
68f1cf5f52
Fix typo in inspection description name: RedundantlIf.html -> RedundantIf.html
2016-05-24 15:03:04 +03:00
Vladislav Golub
bb32c2d350
KT-12019 Highlighting of redundant 'if' statements ( #871 )
2016-05-23 21:02:38 +03:00
Valentin Kipyatkov
306edef23c
Highlighting of redundant semicolons
...
#KT-5010 Fixed
2016-04-29 11:23:22 +03:00
Mikhail Glukhikh
d79e3f322f
Redundant modality modifier inspection #KT-11450 Fixed
2016-04-11 16:32:43 +03:00