Commit Graph

8034 Commits

Author SHA1 Message Date
Toshiaki Kameyama 58fb1dede3 Multiline string enter handler: do not insert 'trimIndent()' in const (KT-34785)
#KT-34785 Fixed
2019-11-12 16:07:52 +03:00
Yan Zhulanow ef8b3cb72a Prefer Kotlin Junit test run configurations when possible (KT-33787) 2019-11-11 17:13:58 +09:00
Yan Zhulanow 987307cf92 Prefer Kotlin Gradle test run configurations when possible (KT-33787) 2019-11-11 17:13:58 +09:00
Vladimir Ilmov 214810ca01 Suspend test removed. Will be added later as part of appropriate ticket. 2019-11-11 00:57:52 +03:00
Dmitriy Novozhilov be4ae5d7ba Upgrade kotlin version in gradle configuration testdata 2019-11-10 11:46:22 +03:00
Vladimir Ilmov e2b91cfec7 Properties with custom property declarations highlighting rule.
Added support for package and class-level properties with custom PD.
Java syntethic extensions are ignored from this rule.

 #KT-30806 Fixed
2019-11-08 17:58:49 +03:00
Toshiaki Kameyama 39db76b2ab "Indent raw string" intention: do not suggest in const
#KT-34784 Fixed
2019-11-07 14:57:56 +03:00
Leonid Startsev 24688f3503 Do not disable 'redundant visibility modifier' inspection completely in Explicit API mode.
Instead, disable it only for effectively public declarations.

Add tests for this IDE inspection.
2019-11-06 19:54:00 +03:00
Nikolay Krasko 5ca3698d13 Remute JoinLinesTestGenerated tests in 193 (KT-34408) 2019-11-05 20:13:30 +03:00
Nikolay Krasko 651a70ae54 Remute MultiLineStringIndentTestGenerated tests in 193 (KT-34566) 2019-11-05 20:13:30 +03:00
Dmitry Gridin d321f4626f Formatter: fix line break before OperationReference in elvis
#KT-22362 Fixed
2019-11-05 20:13:11 +07:00
Dmitry Gridin 247619c565 Formatter: fix line break between label and property
#KT-22273 Fixed
2019-11-05 20:13:11 +07:00
victor.petukhov 62d204f4d6 Support trailing comma
^KT-34743 Fixed
2019-11-01 19:40:20 +03:00
Nikolay Krasko ffafd96f1b Fix url for developers builds (KT-34246)
#KT-34246 Fixed
2019-11-01 12:25:44 +03:00
Andrey Uskov fd2b75e39b Fixed import of MPP project with single Android target
#KT-34639 Fixed
2019-10-31 21:39:18 +03:00
Dmitry Gridin f641e2a139 RedundantRequireNotNullCallInspection: should use BodyResolveMode.PARTIAL_WITH_CFA instead of BodyResolveMode.PARTIAL
#KT-34672 Fixed
2019-10-31 19:24:37 +07:00
Dmitry Gridin 17429d333e Create expect/actual should move cursor to target declaration
#KT-34411 Fixed
2019-10-31 19:24:36 +07:00
Toshiaki Kameyama d75b938089 Formatter: don't format elvis operator in string template
#KT-34049 Fixed
2019-10-31 18:34:42 +07:00
Nikolay Krasko b3e733ea4f 193: More mutes in 193 (SurroundWithTestGenerated, KT-34689, KT-34542, KT-34672) 2019-10-31 11:11:50 +03:00
Nikolay Krasko f7c775a080 193: Mute tests for find usages in libraries in 193 (KT-34542) 2019-10-31 11:11:50 +03:00
Nikolay Krasko 201859be92 Mute RedundantRequireNotNullCall tests in 193 (KT-34672) 2019-10-31 11:11:49 +03:00
Vladimir Dolzhenko 4b2834c4a8 Provide incremental analysis of a file when it is applicable
#KT32868 Fixed
2019-10-30 21:41:29 +01:00
Alexander Podkhalyuzin ddd25c703a SmartPointers in Introduce Variable refactoring
It's often case, when psi can die after reparse, especially after
reformatting cases, SmartPointers are opposite to it, can survive

#KT-32601 Fixed
2019-10-30 18:08:14 +03:00
Natalia Selezneva 35e2c9eb59 Fix scripting tests in 193
^KT-34541 Fixed
2019-10-30 12:02:45 +03:00
Vladimir Dolzhenko 26255f8501 Added AllowNullableArrayArgsInMain (1.4+) language setting 2019-10-29 19:20:35 +01:00
Toshiaki Kameyama 68ea677cc4 Import quick fix: support extension iterator function
#KT-34303 Fixed
2019-10-29 18:35:14 +07:00
Dmitry Savvinov 3abfe59d75 Deduplicate incompatible actual descriptors
Otherwise, we might get false positive AMBIGUOUS_ACTUALS due to one and
the same descriptor appearing multiple times in a list
2019-10-29 14:28:41 +03:00
Dmitry Savvinov 9198b7a039 Add test on weakly incompatible actual in intermediate source-set 2019-10-29 14:28:41 +03:00
Dmitry Gridin 587b0de2b8 RemoveExplicitTypeIntention: fix false positive for type aliases
#KT-33902 Fixed
2019-10-29 17:26:59 +07:00
Dmitry Gridin 9c61f42121 ChangeVisibilityModifierIntention: should affect all actual/expect declarations
#KT-29737 Fixed
2019-10-29 17:26:34 +07:00
Dmitry Gridin 13e98e712e RedundantLetInspection: fix false negative for references
#KT-34603 Fixed
2019-10-29 17:25:50 +07:00
Dmitry Gridin 5fc70f6cfd RedundantLetInspection: fix false positive for inner lambda expression
#KT-25271 Fixed
2019-10-29 17:25:50 +07:00
Dmitry Gridin 5d16753285 ImportFix: add support for WRONG_NUMBER_OF_TYPE_ARGUMENTS
#KT-23834 Fixed
2019-10-29 17:25:17 +07:00
Dmitry Gridin e14d589279 KotlinInternalInJavaInspection: fix false positive for java test module
#KT-17659 Fixed
2019-10-29 17:24:46 +07:00
Dmitry Gridin 81f3a98f49 Convert ConvertTwoComparisonsToRangeCheck intention to inspection
Relates to #KT-17310
2019-10-29 17:24:21 +07:00
Nikolay Krasko 810e1973f6 193: Mute multiline enter tests in 193 (KT-34566) 2019-10-28 14:06:06 +03:00
Nikolay Krasko 697d3a0e5a 193: Mute scripting test in 193 (KT-34541) 2019-10-28 14:06:06 +03:00
Nikolay Krasko 8563614b69 193: Mute navigation tests in 193 (KT-34542) 2019-10-28 14:06:05 +03:00
Yan Zhulanow 87e0a2d98c Debugger: Fix evaluation of function declarations with expression bodies (KT-32704)
Before this commit, the substituted FunctionDescriptor didn't have a source element.
As a result, 'CodeFragmentParameterAnalyzer.isCodeFragmentDeclaration' failed to recognize such a descriptor as fragment-local, and it was erroneously captured.
2019-10-24 21:33:00 +09:00
Igor Yakovlev 2dfe3c568d Copy refactoring update kotlin packages on target files
Fix #KT-18191
2019-10-23 16:44:18 +03:00
Vladimir Dolzhenko 072b67442f Detects main method with argument Array<String?> 2019-10-23 15:36:31 +02:00
Toshiaki Kameyama 60f4ed914a "Add parameter to function" quick fix: apply for TYPE_MISMATCH error
#KT-8478 Fixed
2019-10-22 21:22:33 +07:00
Toshiaki Kameyama bdc04547cc "Redundant qualifier name": fix false positive with inner class as constructor parameter for outer
#KT-33123 Fixed
2019-10-22 13:44:10 +07:00
Andrey Uskov 0188a0923e Update Kotlin plugin in KaptImportingTests
#KT-34033 Fixed
2019-10-21 21:38:49 +03:00
Andrey Uskov 40bb48e19b Fix actualisation of common source sets when HMPP is disabled
#KT-34256 Fixed
#KT-34402 Fixed
2019-10-21 21:38:45 +03:00
Toshiaki Kameyama 449c406e24 Redundant visibility modifier: do not report for public modifier that overrides protected setter visibility
#KT-33580 Fixed
2019-10-21 23:45:09 +07:00
Toshiaki Kameyama e8effe6727 Replace with safe call: do not add redundant elvis operator
#KT-34432 Fixed
2019-10-21 23:28:19 +07:00
Nikolay Krasko e5cc0eec9c 193: Adjust test data for HierarchyTestGenerated tests in 193 2019-10-21 15:52:33 +03:00
Nikolay Krasko 693603db68 193: Mute join lines tests in 193 (KT-34408) 2019-10-21 15:52:33 +03:00
DmiitriiJarosh 613fbf7a5d Merge else-if intention (KT-34218)
#KT-34218 Fixed
2019-10-21 15:52:32 +03:00