Commit Graph

8434 Commits

Author SHA1 Message Date
Vladimir Dolzhenko 1ae7f693c5 Nicer performance tests suite dsl 2020-05-25 13:11:09 +00:00
Toshiaki Kameyama 081d6c1dff Useless call on collection: propose 'Replace with toList()' instead of 'Remove useless call' if receiver is array type
#KT-38961 Fixed
2020-05-20 12:46:23 +03:00
Dmitry Gridin 9beb36ca2b Code style: add option for blank lines before declarations
#KT-39024 Fixed
#KT-37420 Fixed
#KT-37891 Fixed
2020-05-20 02:22:53 +00:00
Dmitry Gridin 499a02ebe3 AddThrowsAnnotationIntention: improve for mpp
#KT-38391 Fixed
2020-05-20 02:19:10 +00:00
Dmitry Gridin 7b079a5f1c Deprecated symbol usages: fix test 2020-05-20 09:04:46 +07:00
pyos 73e91af792 IDEA: test the plugin's ability to parse correct JSR-045 data 2020-05-19 18:33:27 +02:00
pyos 5feadd56ef JVM: parse KotlinDebug when regenerating anonymous objects 2020-05-19 18:33:27 +02:00
Dmitry Gridin 12217ef2ab Add regression test for ReplaceWith
#KT-35015 Fixed
2020-05-19 16:15:13 +07:00
Toshiaki Kameyama 02c17378b1 Replace deprecated symbol usage: replace imported object function correctly
#KT-33951 Fixed
2020-05-19 15:40:59 +07:00
Dmitry Gridin b2be1a53cf SpecifyTypeExplicitlyIntention: remove annotations from result type
#KT-36930 Fixed
2020-05-19 01:17:39 +00:00
Toshiaki Kameyama 23c4eac45b Introduce "Logger initialized with foreign class" inspection
^KT-38982 Fixed
2020-05-18 18:16:52 +03:00
Toshiaki Kameyama 82d81d5223 Change Signature: move lambda outside of parentheses if the arguments are reordered so that the lambda goes last
#KT-30128 Fixed
2020-05-15 17:58:33 +02:00
Toshiaki Kameyama 1d39ac1d3e Move statement: do not move when function last parameter is on same line as right parenthesis
#KT-14757 Fixed
2020-05-15 15:02:58 +02:00
Toshiaki Kameyama 8a595ad165 Move statement: Add or remove empty lines correctly
#KT-14946 Fixed
2020-05-14 18:57:56 +02:00
Yaroslav Chernyshev 785fa7dd1c [Gradle, Import] Ignore incompatible test runs for Native targets.
#Fixed KT-34516
2020-05-14 17:43:00 +03:00
Toshiaki Kameyama 08588001be Redundant suspend modifier: do not report when the function has 'actual' modifier
#KT-37746 Fixed
2020-05-14 12:08:52 +02:00
Igor Yakovlev 9f8044ff1b Fix ultraKtLightClassForFacade compiler backend call
+minor fixes
2020-05-12 17:04:16 +03:00
Toshiaki Kameyama 3c1b41c020 Move statement: move into lambda correctly
#KT-17887 Fixed
2020-05-09 22:08:02 +02:00
Toshiaki Kameyama 19824201e2 Move statement: do not move into lambda beyond 'if/when/try/for/while'
#KT-9065 Fixed
2020-05-09 22:08:02 +02:00
Dmitry Gridin ad00d28631 TypingIndentation: add large test 2020-05-08 20:15:49 +07:00
Dmitry Gridin 50506658c0 fix some tests for as36 2020-05-08 19:13:28 +07:00
Dmitry Gridin afb15eb7cf BranchedFoldingUtils: fix psi tree after tryFoldToAssignment
#KT-38677 Fixed
2020-05-07 12:36:45 +00:00
Dmitry Gridin ee0b7426c4 KotlinFunctionCallUsage: fix psi tree
#KT-38632
2020-05-07 12:36:44 +00:00
Dmitry Gridin 11a3482970 tests: apply official code style
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00
Dmitry Gridin ccfea97390 CopyKotlinDeclarationsHandler: fix for package with backticks
#KT-38543 Fixed
2020-05-04 03:49:30 +00:00
Dmitry Gridin ac9ad30681 SetterBackingFieldAssignmentInspection: fix exception
#KT-38520 Fixed
2020-05-04 03:49:29 +00:00
Dmitry Gridin 8e35b7a29c KotlinIntroduceVariableHandler: fix for declarations with expression body
#KT-38449 Fixed
2020-05-04 03:49:28 +00:00
Toshiaki Kameyama bcefee0105 Replace deprecated symbol usage: do not add 'this' receiver for imported object function
#KT-26361 Fixed
2020-04-29 20:19:41 +07:00
Dmitry Gridin 2f015b4c7a Fix testKotlin_moveTopLevelDeclarations_movePrivatePropertyWithDefaultAccessors_MovePrivatePropertyWithDefaultAccessors test 2020-04-29 13:05:36 +07:00
Dmitry Gridin a11e6b2eed KotlinChangePackageRefactoring: fix formatting for long qualifier names
#KT-38627 Fixed
2020-04-28 12:37:18 +00:00
Dmitry Gridin db5751616a MoveKotlinDeclarationsProcessor: fix formatting for long qualifier names
#KT-35338 Fixed
2020-04-28 12:37:17 +00:00
Dmitry Gridin 2b8bb30744 Change signature: fix formatting for long qualifier names
#KT-12878 Fixed
2020-04-28 11:58:16 +00:00
Dmitriy Dolovov 151890dde5 Add test for overloading expect MemberDescriptors discrimination
Issue #KT-38298
2020-04-28 13:16:23 +07:00
Sergey Igushkin 2c63a15af2 Add a test for KT-38338
^KT-38338
2020-04-28 02:39:32 +03:00
Yuku Kotani de28a41caa KT-32163: Open Quick Documentation when cursor inside function / constructor brackets (#2502)
* Show function docs when cursor is in args of the function call

* Show constructor docs when cursor is in args of the constructor call

* Show function docs when cursor is in args of the kt function call

* Add some tests

* Use JavaDocumentationProvider to fetch java method document

* Support caret in params

#KT-32163 fixed
2020-04-27 18:15:24 +03:00
Vladimir Dolzhenko 1565fc0211 Call expression changes in property initializer are OCB
#KT-38443 Fixed
2020-04-25 20:57:14 +00:00
Dmitry Gridin c91089be59 AddJvmNameAnnotationFix: fix case with top-level functions
#KT-17209 Fixed
2020-04-24 18:53:11 +07:00
Toshiaki Kameyama f494b4ce11 Add 'Add JvmName annotation' quick fix for CONFLICTING_JVM_DECLARATIONS
#KT-17209
2020-04-24 18:53:10 +07:00
Valentin Kipyatkov 56b20b0f31 Data Flow from Here: do not include named argument references 2020-04-23 22:12:25 +03:00
Valentin Kipyatkov 7c81d93db0 Data Flow to Here: process data-class copy-method calls 2020-04-23 22:12:25 +03:00
Sinan Kozak 3f8ffb5ea7 KT-24750 Blank line after class header formatter should use user setting 2020-04-23 18:48:38 +07:00
Konstantin Tskhovrebov e6f527f1d0 Update tests: disable tests run gutters for Object. 2020-04-23 14:16:22 +03:00
Igor Yakovlev 8a7aac728d Fix invalid signature for UL method
Fixed #KT-32245
2020-04-22 12:26:51 +03:00
Igor Yakovlev ed3ae785fb Fix invalid signature for generic UL method
Fixed #KT-38348
2020-04-22 12:26:51 +03:00
Valentin Kipyatkov 91a793d575 Slicer tree view: better highlighting range inside nodes and in the editor 2020-04-18 01:25:04 +03:00
Valentin Kipyatkov 03126ba469 Container presentation in slicer tree: no type for properties and show accessor 2020-04-18 01:25:04 +03:00
Valentin Kipyatkov 2ee776a0d8 Container presentation in slicer tree: limit number of parameters shown by 2 2020-04-18 01:25:03 +03:00
Valentin Kipyatkov 3e5820e4c1 Slice tree: shorter container rendering for properties in primary constructor 2020-04-18 01:25:03 +03:00
Valentin Kipyatkov 23ead3c805 Added container text into slicer tests output 2020-04-18 01:25:03 +03:00
Valentin Kipyatkov 2d2d9337ca Do not include line numbers from librarys source into test output otherwise it will change to often when upgrading libs 2020-04-18 01:25:02 +03:00