Toshiaki Kameyama
f08e9832a6
Show warning also if arrays are compared by '!=' #KT-20259 Fixed
2017-09-25 12:15:17 +03:00
Mikhail Glukhikh
258e8f73b6
Expect/actual: add inspection for Suppress("DIAGNOSTIC") migration
...
So #KT-20328 Fixed
2017-09-25 11:48:15 +03:00
Kirill Rakhman
7fe1e4f83e
Fix grammar in inspection description
2017-09-12 12:05:30 +03:00
Toshiaki Kameyama
5a5a27b983
Intentions to generate accessors for a property #KT-17322 Fixed
2017-09-07 17:33:39 +03:00
Nikolay Krasko
d38fd0fdf8
Need reformat inspection
2017-09-07 16:10:09 +03:00
Nikolay Krasko
638cf346aa
Add soutf template for printing current position (KT-19709)
...
#KT-19709 Fixed
2017-09-05 19:49:58 +03:00
Toshiaki Kameyama
e01371b231
Redundant getter / setter inspection #KT-19514 Fixed ( #1282 )
2017-09-05 17:27:56 +02:00
Vyacheslav Gerasimov
5220dfc0ad
Android: Add inspection & quickfix to convert findViewById to api 26
...
#KT-19940 Fixed Target Version 1.1.5
2017-09-01 13:32:52 +03:00
Dimach
b988fb701d
KT-17888 Inspection to warn about suspicious combination of == and ===
2017-08-24 18:14:24 +02:00
Toshiaki Kameyama
82fc221470
Add "flip equals" intention for String.equals extension from stdlib
...
So #KT-19282 Fixed
2017-08-18 14:34:14 +03:00
takahirom
806aa7d4c1
Add inspection for redundant overrides that only calls the super method
...
So #KT-19428 Fixed
2017-08-18 12:05:02 +03:00
Dmitry Jemerov
f7c17d6a64
Naming convention inspections
2017-08-16 15:45:33 +02:00
Kirill Rakhman
41e5840298
Implement inspection for redundant lambda arrow
...
Fixes #KT-11991
2017-08-03 15:37:04 +02:00
Kirill Rakhman
9ac1a0140c
Add inspection for when with only else ( #1206 )
...
Fixes #KT-12523
2017-08-03 15:30:28 +02:00
Dimach
88fa7c2952
Introduce "double negation" inspection #KT-4748 Fixed
2017-07-31 15:57:31 +03:00
Andrius Semionovas
68659f5a32
Introduce error "ANNOTATION_USED_AS_ANNOTATION_ARGUMENT" along with QF
...
The relevant inspection has been removed
So #KT-18855 Fixed
2017-07-27 09:54:22 +03:00
Dmitry Jemerov
6dbaec0cc6
Use distinct icon for Kotlin/JS module and libraries
2017-07-24 19:53:52 +02:00
Toshiaki Kameyama
366b9d1d79
KT-12195 Quickfix @JvmStatic on main() method in an object ( #1192 )
...
* Quickfix @JvmStatic on main() method in an object #KT-12195 Fixed
* Fixed #KT-12195
2017-07-19 13:37:12 +02:00
Toshiaki Kameyama
a8da79a130
KT-12504 Intention to make open class with only private constructors sealed ( #1193 )
...
* Intention to make open class with only private constructors sealed #KT-12504 Fixed
* Fixed #KT-12504
2017-07-19 13:36:36 +02:00
Mikhail Glukhikh
987c7f5be8
Add "unnecessary local variable" inspection #KT-15958 Fixed
2017-07-18 16:37:47 +03:00
Toshiaki Kameyama
fda097fc3b
Correct "before" sample in description for intention Convert to enum class #KT-18722 Fixed ( #1196 )
2017-07-17 13:03:15 +02:00
Kirill Rakhman
cb19a86c44
Add "simplify if with constant" inspection #KT-17919 Fixed
2017-07-11 20:00:33 +03:00
Dimach
7407083624
Add inspection to simplify successive null checks #KT-14799 Fixed
2017-07-11 18:47:26 +03:00
Toshiaki Kameyama
8cc9330e63
Introduce "Lift return out of try" intention #KT-18830 Fixed
2017-07-11 15:14:30 +03:00
Toshiaki Kameyama
0af3c6542d
Correct "after" sample for intention "Convert to apply" #KT-18723 Fixed
2017-07-11 14:06:01 +03:00
Mikhail Glukhikh
8273eff1a1
Introduce "cascade if" inspection suggesting replacement with when
...
So #KT-18615 Fixed
2017-07-07 18:15:26 +03:00
Mikhail Glukhikh
2d1abda9a1
Convert "lift return / assignment" intentions into a single inspection
...
Also includes minor test fix, related to KT-14900
2017-07-07 18:15:14 +03:00
Mikhail Glukhikh
d08b18f5f8
Introduce "use expression body" inspection #KT-16063 Fixed
...
Converted from the relevant intention
Reported cases: one-liners, whens
Also, more exact caret detection in local inspection tests
2017-07-07 18:15:06 +03:00
nd
33a93e5fc5
Inspection detecting redundant Unit return type ( #1144 )
2017-07-07 16:51:53 +02:00
nd
58e5c497d0
Intention to replace add/addAll on a mutable collection with += ( #1143 )
2017-07-07 16:34:20 +02:00
Mikhail Glukhikh
36be1fdaef
Introduce "simplifiable call chain on collection" inspection
...
Related to KT-12165
So #KT-18274 Fixed
So #KT-17198 Fixed
2017-06-29 16:25:52 +03:00
Mikhail Glukhikh
bdb9f00c75
Introduce "Useless call on collection type" inspection
...
Related to KT-12165
Supported functions: filterNotNull, filterIsInstance,
mapNotNull, mapNotNullTo, mapIndexedNotNull, mapIndexedNotNullTo
Also, "Useless cal on not-null" improved a bit
2017-06-29 16:25:50 +03:00
Mikhail Glukhikh
f80f41d254
Introduce "redundant explicit type" inspection #KT-18517 Fixed
...
Reported cases: constants, constructors, object references
2017-06-29 16:25:47 +03:00
Mikhail Glukhikh
0f4ae3b727
Introduce "Useless call on not-null type" inspection #KT-18386 Fixed
...
Supported functions: orEmpty(), isNullOrEmpty(), isNullOrBlank()
2017-06-29 16:25:45 +03:00
Dmitry Neverov
44ce5f73f7
Apply De Morgan's laws to non-negated binary expressions
...
So #KT-18460 Fixed
2017-06-28 15:28:43 +03:00
shiraji
cbccf932a7
Add inspection removing redundant spread operator for arrayOf call
...
So #KT-17920 Fixed
2017-06-16 15:04:04 +03:00
Kirill Rakhman
13a2612e20
Add inspection for ranges with start > endInclusive #KT-18438 Fixed
2017-06-16 15:02:31 +03:00
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
Valentin Kipyatkov
92a763552c
KT-17970 Intention actions to format parameter/argument list placing each on separate line
...
#KT-17970 Fixed
2017-05-19 12:20:51 +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
Kirill Rakhman
8e00af5642
Add intention to convert top level val with object expression to object declaration ( #974 )
...
* Add intention to convert top level val with object expression to object
Fixes #KT-14137
* fix intention description
2017-05-08 16:35:03 +03:00
Dmitry Neverov
9dd217eee3
Introduce intention to name anonymous parameter #KT-17191 Fixed
2017-04-27 20:58:38 +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
Kirill Rakhman
76507caf4b
Add intention to convert concatenation to raw string #KT-17503 Fixed
2017-04-25 16:43:52 +03:00
shiraji
83169ad781
"Add open to callable" intention introduced #KT-16786 Fixed
2017-04-19 11:37:48 +03:00