Dmitry Jemerov
64a8008a8a
Add icon for multiplatform projects, update JS icon
...
#KT-19824 Fixed
2017-11-17 13:13:04 +01:00
Mikhail Glukhikh
7b2a66c006
Convert 'simplify when' from intention to inspection
...
Related to KT-20492
2017-11-10 15:34:11 +03:00
Toshiaki Kameyama
df86ff7115
Introduce "Simplify when" intention where one branch is always true
...
So #KT-20492 Fixed
2017-11-10 15:34:08 +03:00
Alexey Sedunov
ba0b21d1a3
Add @JvmStatic Intention: Support functions/properties in objects
...
Also eliminate unnecessary object instance references on Java call sites
#KT-20095 Fixed
2017-11-07 19:25:03 +03:00
Kirill
89c4196c06
Add inspections for implicit and explicit 'this' #KT-4580 Fixed
2017-11-02 14:07:45 +03:00
Toshiaki Kameyama
0fffb9fb17
Introduce inspection for callables with implicit 'Nothing?' type
...
Inspection is reported only for vars and open callables
So #KT-21023 Fixed
2017-11-02 12:21:14 +03:00
Toshiaki Kameyama
204d9e3423
Introduce inspection detecting self-assignment of properties
...
So #KT-20714 Fixed
2017-11-02 11:07:52 +03:00
Toshiaki Kameyama
ef71f7707d
Introduce inspection to detect use of Unit as a standalone expression
...
So #KT-20631 Fixed
2017-10-31 14:51:06 +03:00
shiraji
d51fa6d87e
Add description for MoveMemberToTopLevelIntention
2017-10-24 14:33:55 +03:00
Mikhail Glukhikh
26c1aec5df
Related to DSGN-4505: change expect / actual icons to the new ones
2017-10-20 15:16:04 +03:00
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