Dmitry Gridin
7bc2fcd657
Convert RemoveCurlyBracesFromTemplateIntention to inspection
...
Relates to #KT-31717
2019-06-03 16:37:37 +07:00
Dmitry Gridin
4fa83a2fd7
Decrease severity of PackageDirectoryMismatchInspection to INFO
...
#KT-31716 Fixed
2019-06-03 16:35:58 +07:00
Yan Zhulanow
ae7550c5af
Move out JVM debugger functionality
2019-05-30 15:27:07 +09:00
Toshiaki Kameyama
65f06454be
Add "Control flow with empty body" inspection
...
#KT-30970 Fixed
2019-05-29 18:04:24 +07:00
Dmitry Gridin
8988b4b344
Convert ReplaceSubstringIntention to ReplaceSubstringInspection
...
Relates to #KT-31502
2019-05-29 11:00:28 +07:00
Dmitry Gridin
2310826ec9
Remove MergeWhenIntention
...
Relates to #KT-31502
2019-05-29 11:00:28 +07:00
Dmitry Gridin
41daf99346
Remove IfThenToDoubleBangIntention
...
Relates to #KT-31502
2019-05-29 11:00:28 +07:00
Dmitry Gridin
afcb2f3436
Remove ConvertIfWithThrowToAssertIntention
...
Relates to #KT-31502
2019-05-29 11:00:28 +07:00
Dmitry Gridin
d3339cae46
Merge ReplaceMathMaxWithCoerceAtLeastIntention & ReplaceMathMinWithCoerceAtMostIntention with ReplaceJavaStaticMethodWithKotlinAnalogInspection
...
Relates to #KT-31502
2019-05-29 11:00:28 +07:00
Dmitry Gridin
26478b1374
Remove ConvertTrimMarginToTrimIndentIntention
...
Relates to #KT-31502
2019-05-29 11:00:28 +07:00
Dmitry Gridin
0b9b49d7bc
Remove ConvertTrimIndentToTrimMarginIntention
...
Relates to #KT-31502
2019-05-29 11:00:27 +07:00
Dmitry Gridin
91e9ed25f7
Remove ConvertNegatedBooleanSequenceIntention
...
Relates to #KT-31502
2019-05-29 11:00:27 +07:00
Dmitry Gridin
dd03a81309
Remove ConvertClassToSealedClassIntention
...
Relates to #KT-31502
2019-05-29 11:00:27 +07:00
Dmitry Gridin
1adc2ae4c8
Remove ConvertAssertToIfWithThrowIntention
...
Relates to #KT-31502
2019-05-29 11:00:27 +07:00
Natalia Selezneva
7c46338181
Drop ScriptBinariesScopeCache from plugin.xml because it was moved to ScriptDependenciesCache
...
^KT-31521 Fixed
2019-05-21 12:07:11 +03:00
KilianCallebaut
3451c60f93
Suggest to replace manual range with explicit indices or iterable
...
#KT-14344 Fixed
2019-05-20 12:24:52 +03:00
Nikolay Krasko
ef70e9db19
Don't use light classes for navigation element (KT-10215)
...
Place KotlinNavBarModelExtension before Java extension because it
substitutes non-java elements to files.
#KT-10215 Fixed
2019-05-17 21:43:58 +03:00
Toshiaki Kameyama
0a4d21c51f
Sort by class name in navigation bar (KT-10215)
...
#KT-10215 Fixed
2019-05-17 18:15:58 +03:00
Dereck Bridie
574178882a
KT-26629 Inspection to replace equality check with NaN with isNaN call
2019-05-13 12:55:53 +03:00
Mikhail Glukhikh
955bfd6e7b
Introduce "add parameter names to following arguments"
...
This commit also refactors relevant intentions & inspections,
like "add name to argument", "add names to call arguments",
"unnamed boolean literal argument"
#KT-30622 Fixed
2019-05-13 12:33:39 +03:00
Nikolay Krasko
78200dd38e
Get Kotlin references through Kotlin contributors only (KT-31129)
...
Speed up getting references and protect Kotlin from slow
references contributors.
#KT-31129 Fixed
2019-05-07 16:12:24 +03:00
Mikhail Glukhikh
4a5cbe0443
Replace "flatMap -> flatten" inspection with abstract "simplifiable call"
...
Related to KT-30501
2019-05-07 14:28:16 +03:00
Dmitry Gridin
b5b5723ec3
Rename ReplaceJavaStaticMethodWithTopLevelFunctionInspection to ReplaceJavaStaticMethodWithKotlinAnalogInspection
2019-04-18 15:28:52 +07:00
Dmitry Gridin
6afc0367c0
Merge ReplaceJavaIntegerToStringWithMemberInspection and ReplaceJavaStaticMethodWithTopLevelFunctionInspection
...
Relates to #KT-12721
2019-04-18 15:28:51 +07:00
Dmitry Gridin
6b7f4dda31
Merge ReplaceArraysCopyOfWithCopyOfInspection and ReplaceJavaStaticMethodWithTopLevelFunctionInspection
...
Relates to #KT-23023
2019-04-18 15:28:51 +07:00
Ilya Chernikov
a65dafc37d
Move scripting support classes to the scripting compiler impl module
2019-04-17 22:03:58 +02:00
Toshiaki Kameyama
faa6eacb25
Add "Replace Java static method with Kotlin top-level function" inspection
...
#KT-27411 Fixed
2019-04-12 11:35:46 +07:00
Dereck Bridie
d86ffd3f34
Add inspection "Map replaceable with EnumMap" #KT-25439 Fixed
2019-04-11 19:01:02 +03:00
Jan Gerling
162de77b71
Add inspection to detect boxes *Range.start & endInclusive
...
These properties can be replaced with equivalent collections first & last.
#KT-15537 Fixed
2019-04-11 18:58:04 +03:00
Toshiaki Kameyama
55a5ccac5c
SimplifyAssertNotNullInspection: change level to INFORMATION
...
#KT-30876 Fixed
2019-04-10 16:06:37 +07:00
Austaon
0e716fd528
KT 13962: Intention to replace Java collection constructor calls with function calls from stdlib (ArrayList() → arrayListOf())
2019-04-05 18:19:26 +03:00
Toshiaki Kameyama
bcfab83d1c
Add "Constructor has non-null self reference parameter" inspection (KT-29799)
...
#KT-29799 Fixed
2019-04-04 17:25:37 +03:00
Toshiaki Kameyama
dffcfdc02f
Add inspection to replace not-null assertion with elvis return
...
#KT-30381 Fixed
2019-04-04 20:29:17 +07:00
Austaon
efcc6f0967
Add inspection for Integer.toString(i) to i.toString() (KT-12721)
2019-04-03 19:12:54 +03:00
Toshiaki Kameyama
e082522cdf
Strip trailing spaces on Save: do not strip trailing spaces inside raw String
...
#KT-13048 Fixed
2019-04-02 15:27:08 +03:00
Nikolay Krasko
f1a31652b3
Add action for collection basic information about Kotlin project (KT-11242)
...
#KT-11242 Fixed
2019-04-02 11:48:47 +03:00
Toshiaki Kameyama
61f3e776a7
Add 'Covariant equals' inspection
...
#KT-29798 Fixed
2019-04-02 13:19:05 +07:00
Nikolay Krasko
8bd6e1b8e4
Rename action for throwing exception from Kotlin plugin
...
Make the name similar to other internal actions for throwing exceptions.
2019-03-23 11:54:57 +03:00
Nikolay Krasko
026fc998c1
Allow resolve write action check for all plugins when enabled in registry
2019-03-21 18:03:15 +03:00
Toshiaki Kameyama
e340af51df
Add "Rename class to containing file name" intention
...
#KT-25262 Fixed
2019-03-18 11:09:09 +03:00
Burak Eregar
e02877d1dc
Disable WhenWithOnlyElse by default.
2019-03-13 13:25:00 +03:00
Nikolay Krasko
7f07782095
Allow to throw plugin exception when plugin version is patched
2019-03-12 12:05:21 +03:00
Toshiaki Kameyama
f1e66d0654
Add "Replace 'associate' with 'associateBy' or 'associateWith'" inspection
...
#KT-26269 Fixed
2019-03-11 19:33:17 +03:00
Nikolay Krasko
a5434d7d9e
Add internal action for reporting exceptions from Kotlin plugin
2019-03-04 12:14:23 +03:00
Nikolay Krasko
6504cb285b
Add internal action for continuous enabling and disable dumb mode
2019-03-04 12:14:22 +03:00
Dmitry Gridin
2a940f5b0a
Fix KT-26965
2019-03-01 17:43:56 +03:00
Dereck Bridie
4156a76129
#KT-26965 Add inspection + quickfix for replacing Collection<T>.count() with .size
2019-03-01 16:58:36 +03:00
Toshiaki Kameyama
1a818970c3
Add inspection to replace Java Map.forEach with Kotlin's forEach
...
#KT-17278 Fixed
2019-03-01 16:15:23 +03:00
Toshiaki Kameyama
20aa8ebdb0
Add "Throwable not thrown" Inspection
...
#KT-11629 Fixed
2019-03-01 11:35:12 +03:00
Dmitry Gridin
3756b6f54d
Add inspection to remove redundant qualifier name
...
#KT-12134 Fixed
2019-02-27 20:43:35 +03:00