Commit Graph

8537 Commits

Author SHA1 Message Date
Dmitry Gridin 9d8d881bff CallableUsageReplacementStrategy: support KtSuperTypeCallEntry
#KT-37849 Fixed
2020-04-09 15:19:36 +07:00
Ilya Matveev cf157e3999 [IDE, native] Update mock K/N dist: fully qualified klib names 2020-04-09 13:07:45 +07:00
Ilya Matveev 12e4159525 [IDE, native] Update mock K/N dist: klib componentization
This patch actualizes an internal structure of mock klibs
used in IDE tests for the K/N support.
2020-04-09 13:07:44 +07:00
Toshiaki Kameyama 06bd620dd6 Replace with: do not remove annotation use-site targets 2020-04-08 19:09:53 +07:00
Valentin Kipyatkov 88cd129549 Fixed other parameter references broken in new parameter values in conventional Change Signature 2020-04-07 22:17:04 +03:00
Dmitry Gridin b548c5bf93 RemoveRedundantQualifierNameInspection: add regression test
#KT-35898
2020-04-07 15:57:34 +07:00
Igor Yakovlev 8531c1e9a5 Fixed WordSelectionTest.testDocComment test data 2020-04-07 02:12:32 +03:00
Mikhail Glukhikh 59dd57dcf7 Unmute working test from FirReferenceResolve group 2020-04-06 13:41:17 +03:00
Dmitry Gridin de1fa40c7e CodeInliner: fix KNPE
#KT-22733 Fixed
#KT-36225 Fixed
#EA-206694 Fixed
2020-04-04 00:46:15 +07:00
Nikolay Krasko b89a7325b2 Remove https://dl.bintray.com/kotlin/kotlin-eap repository from gradle tests 2020-04-03 19:31:31 +03:00
Nikolay Krasko 01e10324f0 Eliminate 1.3.60-eap-76 usages from tests 2020-04-03 19:31:31 +03:00
Igor Yakovlev a71fd0e6d9 Support for showing rendered doc comments in editor
Fixed #KT-37361
2020-04-03 12:38:51 +03:00
Toshiaki Kameyama 1f6b7dd88d "Redundant suspend modifier": fix false negative with only recursive call
#KT-35829 Fixed
2020-04-03 01:17:15 +03:00
Ilya Kirillov 126cd38360 Fix testdata of RemoveSingleLambdaParameter quickfix 2020-04-02 22:25:20 +03:00
Toshiaki Kameyama cc0cb30b53 "Remove single lambda parameter declaration": do not suggest when lambda is directly under 'if/when'
#KT-35995 Fixed
2020-04-02 22:10:57 +03:00
Toshiaki Kameyama a96b359a09 "Remove braces from 'if' statement": do not suggest when lambda is directly under 'if'
#KT-35994 Fixed
2020-04-02 12:52:11 +03:00
Toshiaki Kameyama 30366148bf Convert to block body: adjust line indent
#KT-22368 Fixed
2020-04-02 12:48:05 +03:00
Toshiaki Kameyama 1bc72f0b32 "Surround with lambda" quickfix: suggest for suspend function
#KT-34371 Fixed
2020-04-02 12:45:47 +03:00
Toshiaki Kameyama c344b85d4e Convert parameter <-> receiver intention: do not add label to 'this' if not needed
#KT-17615 Fixed
#KT-30028 Fixed
#KT-32809 Fixed
#KT-28085 Fixed
#KT-37508 Fixed

Convert receiver to parameter:

#KT-37508 Fixed
2020-04-01 13:26:55 +03:00
Toshiaki Kameyama 3263e85bee Introduce "Remove fun modifier" quick fix for FUN_INTERFACE_WRONG_COUNT_OF_ABSTRACT_MEMBERS error
#KT-37539 Fixed
2020-04-01 12:55:22 +03:00
Toshiaki Kameyama e455e926aa Implement members: fix it works correctly if primary constructor has implemented member
#KT-37312 Fixed
2020-04-01 12:24:27 +03:00
Ilya Gorbunov 10d5726a02 Update test data that depends on stdlib method docs 2020-04-01 02:55:30 +03:00
Toshiaki Kameyama 6eebe21897 Remove redundant backticks: fix false positive for multiple underscores
#KT-37496 Fixed
2020-04-01 00:46:22 +03:00
Toshiaki Kameyama 34cfe7dfdb "Add missing component" intention: fix it works correctly if entries is empty
#KT-36094 Fixed
2020-04-01 00:42:43 +03:00
Toshiaki Kameyama e5b4b03314 RedundantLambdaArrowInspection: fix false positive when receiver is qualified expression
#KT-37502 Fixed
2020-03-31 20:36:24 +03:00
pyos 23ea2446e0 IDEA: add a couple "navigate to inline function call site" tests 2020-03-31 16:06:57 +02:00
Toshiaki Kameyama 6a1923a477 "Convert to anonymous object" intention: suggest for kotlin fun interface
#KT-37749 Fixed
2020-03-31 12:17:16 +03:00
Pavel Kirpichenkov b7ea590e23 [IDEA] Add HTML render for ambiguous callable references diagnostic
^KT-36125 Fixed
2020-03-31 12:04:01 +03:00
Igor Yakovlev b205b017fe Fixed references move refactoring for NonCode usages
We need to try correctly refactor NonCode usages of Java-like facade FQ names
i.e. if we have file A.kt with method foo we need to check AKt.foo and foo entries for non-code text search

Fixed #KT-36382
2020-03-30 13:51:27 +03:00
anastasiia.spaseeva 5f4a94a1b3 [Spec tests] Enable running spec tests at all for remote run 2020-03-30 11:15:53 +03:00
Toshiaki Kameyama 09304bbd54 ConvertToAnonymousObjectFix: do not suggest when there is no lambda
#KT-31912 Fixed
2020-03-28 14:13:19 +03:00
Dmitriy Novozhilov 48fb279721 [FIR] Add constraint to flexible type for declared argument for java parameter 2020-03-27 10:17:12 +03:00
Roman Golyshev f656cd2889 KT-37781 Add FUN_KEYWORD to MODIFIERS_ORDER
- This way it is inserted before visibility modifiers
- ^KT-37781 Fixed
2020-03-26 19:37:10 +03:00
Igor Yakovlev bd9877cc62 Rename testdata from DestructuringDeclarations to DestructionDeclarations 2020-03-26 12:35:49 +03:00
Toshiaki Kameyama a96cafe066 Extract property: do not suggest duplicate property name
#KT-36504 Fixed
2020-03-25 22:19:26 +01:00
Dmitriy Novozhilov 6c9dd8bb22 [FIR] Reorganize modules of raw fir builders 2020-03-25 18:07:27 +03:00
Natalia Selezneva 47d97902c1 KotlinDslScriptsModel: import models in case when script contains errors
^KT-37237 Fixed
2020-03-25 12:11:09 +03:00
Vladimir Dolzhenko 0073d260f8 Fix incremental analysis for whitespaces
incremental analysis could ignore whitespace iff old item was whitespace

#KT-37629 Fixed
2020-03-23 14:46:55 +00:00
Mikhail Zarechenskiy 191fb02bf6 [NI] Consider intersection type with number type as Nothing
Currently, only for "in": In<in Int & A> == In<in Nothing> == In<*>

 #KT-37302 Fixed
2020-03-23 16:39:21 +03:00
Vladimir Dolzhenko 344dbeffe8 Fix IntentionTestGenerated$IntroduceImportAlias.testConflictPackage
Fix test data as find usages can handle import aliases

Relates to #KT-18619
2020-03-22 15:30:49 +01:00
Vladimir Dolzhenko e951f1a43a Find Usages and Go to declaration of element used via import alias
#KT-18619 Fixed
2020-03-20 14:59:24 +00:00
Zalim Bashorov eaac5bdac4 [IDE KN] Treat klib as Kotlin/Native library iff manifest contains builtins_platform==NATIVE 2020-03-20 01:27:41 +03:00
Dmitry Gridin 95b77f6386 AddJvmOverloadsIntention: disable for annotation classes
#KT-36482 Fixed
2020-03-18 13:51:56 +00:00
Dmitry Gridin 7a3f6f5312 Formatter: fix continuation indent in call chain
#KT-37545 Fixed
2020-03-18 12:37:28 +00:00
Dmitry Gridin 7886cb4c44 i18n: fix tests 2020-03-16 18:40:51 +07:00
Dmitry Gridin afeff3a6c8 i18n: fix tests 2020-03-16 18:40:48 +07:00
Roman Golyshev 1dded486f1 i18n: fix bundle messages/testData messages where necessary 2020-03-16 18:40:47 +07:00
Yan Zhulanow 7a40274b71 i18n: Unify string naming in KotlinBundle 2020-03-16 18:40:42 +07:00
Vladimir Dolzhenko ce9297c5d6 Be able to find annotated property accessor
#KT-37494 Fixed
2020-03-16 11:07:09 +00:00
Abduqodiri Qurbonzoda c664bfc62b Update property delegate test data 2020-03-12 16:52:36 +03:00