Mikhail Glukhikh
|
6a7cdc01a6
|
Fix 'this' case in implicit this inspection
|
2017-11-02 14:07:55 +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 |
|
Mikhail Glukhikh
|
d59276671f
|
Related to KT-20631: don't report redundant blank Unit in lambda
|
2017-10-31 16:38:55 +03:00 |
|
Toshiaki Kameyama
|
0fd4cdb086
|
Fix false positive for "redundant super" in data class #KT-20981 Fixed
|
2017-10-31 15:15:19 +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 |
|
Mikhail Glukhikh
|
149daa173c
|
Do not report "unused receiver" on operator and infix functions
So #KT-16340 Fixed
|
2017-10-30 15:07:39 +03:00 |
|
Simon Ogorodnik
|
f21e1c60e0
|
KT-20883: Add more details to MissingDocumentationInspection message
#KT-20883 fixed
|
2017-10-25 17:54:43 +03:00 |
|
Mikhail Glukhikh
|
45c9be2945
|
Fix problem with mutable map in "simplifiable call chain"
So #KT-20315 Fixed
|
2017-10-10 22:48:35 +03:00 |
|
Kirill Rakhman
|
91c35a6c59
|
Support listOfNotNull in SimplifiableCallChainInspection #KT-20410 Fixed
|
2017-10-09 16:38:52 +03:00 |
|
Toshiaki Kameyama
|
bbb571260b
|
Fix 'Redundant override' when delegated member hides super type override
So #KT-20231 Fixed
|
2017-10-06 14:58:15 +03:00 |
|
Mikhail Zarechenskiy
|
8ab7c26cae
|
Provide quick fix for named arguments to varargs in annotations
See more in KT-20171
|
2017-09-26 14:49:43 +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 |
|
Mikhail Glukhikh
|
7ae722492f
|
Unused symbol: do not use body of function literal as scope for members
So #KT-10546 Fixed
|
2017-09-12 16:13:34 +03:00 |
|
Mikhail Glukhikh
|
ae509d5980
|
Unused symbol: add test to fix behaviour #KT-16318 Obsolete
|
2017-09-11 12:12:20 +03:00 |
|
Mikhail Glukhikh
|
37d2386a0b
|
Unused symbol: handle imports from nested objects correctly
So #KT-17437 Fixed
|
2017-09-11 12:12:18 +03:00 |
|
Mikhail Glukhikh
|
7e3d3bde74
|
Unused symbol: never use VALUE_ARGUMENT scope for members
So #KT-10546 Fixed
|
2017-09-11 12:12:17 +03:00 |
|
Mikhail Glukhikh
|
5c4e034171
|
Unused symbol: do not search for internal member light methods
Use direct references search instead
So #KT-19811 Fixed
|
2017-09-11 12:12:16 +03:00 |
|
scache
|
ba19931aef
|
Keep braces in redundant cascade if #KT-19704 Fixed
|
2017-09-07 15:23:04 +03:00 |
|
Toshiaki Kameyama
|
e01371b231
|
Redundant getter / setter inspection #KT-19514 Fixed (#1282)
|
2017-09-05 17:27:56 +02: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 |
|
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 |
|
Toshiaki Kameyama
|
29dba9edb3
|
Do not report "property can be private" in annotations #KT-19273 Fixed
|
2017-08-01 11:53:42 +03:00 |
|
Dimach
|
88fa7c2952
|
Introduce "double negation" inspection #KT-4748 Fixed
|
2017-07-31 15:57:31 +03:00 |
|
Toshiaki Kameyama
|
c3988ef184
|
Support "Lift return out of when" for exhaustive when without else
So #KT-18852 Fixed
|
2017-07-26 17:44:19 +03:00 |
|
Mikhail Glukhikh
|
e6872c52a3
|
More accurate deparenthesize (keeping annotations) in some IDE actions
So #KT-19004 Fixed
|
2017-07-26 15:18:30 +03:00 |
|
Mikhail Glukhikh
|
44790eccaf
|
Use "unnecessary variable" inspection in J2K
Unused variables are no more treated as unnecessary
Related to KT-15958
|
2017-07-20 17:48:27 +03:00 |
|
Mikhail Glukhikh
|
987c7f5be8
|
Add "unnecessary local variable" inspection #KT-15958 Fixed
|
2017-07-18 16:37:47 +03:00 |
|
Dmitry Neverov
|
9d06a80519
|
Do not report "property can be private" on JvmField properties
So #KT-18970 Fixed
|
2017-07-18 15:48:10 +03: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 |
|
Nikolay Krasko
|
7f8d6b3008
|
Don't move line and /**/ comments during reformat (KT-18805)
#KT-18805 Fixed
|
2017-07-10 15:32:42 +03:00 |
|
Mikhail Glukhikh
|
b0fda5f451
|
Lift return out fix: do not suggest for labeled returns
|
2017-07-07 18:15:35 +03:00 |
|
Mikhail Glukhikh
|
0c41ceea9d
|
"Cascade if" inspection: do not suggest for one-line if
|
2017-07-07 18:15:28 +03:00 |
|
Mikhail Glukhikh
|
0fe9030eba
|
"Cascade if" inspection: don't highlight for complex logical conditions
Related to KT-18615
|
2017-07-07 18:15:27 +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
|
1ddaee5b4a
|
"Lift return / assignment": don't highlight if other returns available
|
2017-07-07 18:15:24 +03:00 |
|
Mikhail Glukhikh
|
691b733c55
|
"Lift return / assignment": do not suggest for else arguments
|
2017-07-07 18:15:22 +03:00 |
|
Mikhail Glukhikh
|
042990dda1
|
"Lift return / assignment": do not suggest for too long expressions
|
2017-07-07 18:15:21 +03:00 |
|
Mikhail Glukhikh
|
398f92dc6f
|
Lift assignment out: do not suggest if other assignments available
So #KT-18709 Fixed
|
2017-07-07 18:15:20 +03:00 |
|
Mikhail Glukhikh
|
9c4dfa3343
|
Lift return out: do not suggest for lambda in return #KT-18711 Fixed
|
2017-07-07 18:15:18 +03:00 |
|
Mikhail Glukhikh
|
c0d10264bc
|
Lift assignment out: do not highlight for exactly one assignment
Related to KT-14900
|
2017-07-07 18:15:17 +03:00 |
|
Mikhail Glukhikh
|
1010ecca8c
|
Lift return out: do not report for zero returns
Also, do not highlight (but suggest fix) for exactly one return
Related to KT-14900
|
2017-07-07 18:15:16 +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
|
523cbc6723
|
Convert to expression body: insert new-line after = for long lines
|
2017-07-07 18:15:07 +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 |
|
Alexey Sedunov
|
9ba868a903
|
Minor: Fix test data
|
2017-06-30 13:53:09 +03:00 |
|