Commit Graph

99 Commits

Author SHA1 Message Date
Valentin Kipyatkov 3ec28f1242 Attempt to preserve partial substitution when detecting expected type for smart completion 2017-03-20 19:08:03 +03:00
Valentin Kipyatkov b5dd2cc540 Completion of lambda parameters
Also changed policy for sorting of smart completion items in basic completion

 #KT-16800 Fixed
 #KT-12002 Fixed
2017-03-20 19:08:02 +03:00
Simon Ogorodnik c2ba4e3ab9 KT-14252 Completion could suggest constructors available via typealiases
#KT-14252 fixed
2017-01-31 15:14:18 +03:00
Simon Ogorodnik d117b0210f Revert "KT-14252 Completion could suggest constructors available via typealiases"
Reverted due problems with tests
This reverts commit 55eeb74c08.
2017-01-30 16:46:38 +03:00
Simon Ogorodnik 55eeb74c08 KT-14252 Completion could suggest constructors available via typealiases
#KT-14252 fixed
2017-01-30 16:24:12 +03:00
Dmitry Petrov 77ea0614f9 Fix testData in smart completion test
(abbreviation is preserved for 'arrayListOf').
2017-01-30 10:51:47 +03:00
Ilya Gorbunov eb07d9407d Unexpected appearance of minOf/maxOf for T: Comparable<T> in smart completion tests 2017-01-11 14:42:36 +03:00
Ilya Gorbunov 18245c5b73 Expected appearance of minOf/maxOf for T: Comparable<T> in one of smart completion tests 2017-01-11 14:42:36 +03:00
Valentin Kipyatkov a2ebf07a93 KT-14386 Smart completion: add "<parameter name> = true/false" choices
#KT-14386 Fixed
2016-11-07 18:28:23 +03:00
Michael Bogdanov fd6d4c352c Special enum function support; Fix for KT-10569: Cannot iterate over values of an enum class when it is used as a generic parameter
#KT-10569 Fixed
2016-11-03 14:27:13 +03:00
Valentin Kipyatkov 7b12dd498f KT-13780 No completion and assertion error in log
#KT-13780 Fixed
2016-10-13 15:10:53 +03:00
Valentin Kipyatkov a25841e9c7 Smart completion for bound callable references 2016-07-19 20:35:31 +03:00
Valentin Kipyatkov 941b415981 KT-12150 Smart completion suggests to compare non-nullable with null
#KT-12150 Fixed
2016-05-04 17:28:29 +03:00
Valentin Kipyatkov 40022e8f7a KT-12068 Special completion item for "[]" get-operator access
#KT-12068 Fixed
2016-04-27 23:47:34 +03:00
Valentin Kipyatkov 2aba11abb8 Added test for generic operator 2016-04-05 19:33:07 +03:00
Valentin Kipyatkov 3aff4d4c17 Smart completion to use super type for override if no explicit type specified 2016-04-05 19:33:06 +03:00
Valentin Kipyatkov 7af67da4ac Better smart completion after "by" for override property with no explicit type specified 2016-04-05 19:33:06 +03:00
Valentin Kipyatkov e18fb20d5a Completion after "by" for top-level properties 2016-04-05 19:33:05 +03:00
Valentin Kipyatkov fe9d6aca9a More correct test data 2016-04-05 19:33:04 +03:00
Valentin Kipyatkov 24764ed865 Checking for conflicting substitutors in completion after "by" 2016-04-05 19:33:04 +03:00
Valentin Kipyatkov e05d6a7056 Smart completion after "by" works for getValue/setValue in generic class 2016-04-05 19:33:03 +03:00
Valentin Kipyatkov 4dde458e84 Smart completion after "by" works for generic properties too 2016-04-05 19:33:02 +03:00
Valentin Kipyatkov 20ac76fe3a Member functions of enum should not be in smart completion 2016-04-05 19:33:02 +03:00
Valentin Kipyatkov 9c6fed1622 Enabled old test 2016-04-05 19:33:01 +03:00
Valentin Kipyatkov 3e09a6902a Renamed test 2016-04-05 19:33:01 +03:00
Valentin Kipyatkov 88bdf88bbb "Delegates" members in smart completion after "by"
#KT-6231 Fixed
2016-04-05 19:32:58 +03:00
Valentin Kipyatkov ae0d840aab "Static members" completion after "by" 2016-04-05 19:32:58 +03:00
Valentin Kipyatkov 6fa230311c Show substituted type arguments for type instantiation items 2016-04-05 19:32:57 +03:00
Valentin Kipyatkov 0edc5c15e2 Complete type instantiation items after "by" 2016-04-05 19:32:56 +03:00
Valentin Kipyatkov ba6accd5f9 Correct substitutions for smart completion after "by" and "in" 2016-04-05 19:32:55 +03:00
Valentin Kipyatkov 7d3229538e One more test 2016-04-05 19:32:55 +03:00
Valentin Kipyatkov cda539d769 Initial implementation of smart completion after "by"
#KT-11787 Fixed
2016-04-05 19:32:37 +03:00
Valentin Kipyatkov c2065c1856 "contains" now requires to be marked as operator + no heuristic signature for contains needed anymore 2016-04-05 18:44:06 +03:00
Valentin Kipyatkov 135ec78d7d Fixed EA-70945 2016-03-02 21:43:42 +03:00
Ilya Gorbunov 25c4453dc5 Cleanup deprecated symbol usages in testData 2016-01-22 05:54:38 +03:00
Ilya Gorbunov f4822cd757 Fix testData in compiler: add collections and ranges package to fq-names. 2016-01-22 05:54:38 +03:00
Valentin Kipyatkov 0a3631db6a Fixed KT-10602 Incorrect completion for class name
#KT-10602 Fixed
2016-01-12 22:09:12 +03:00
Alexey Sedunov 1c74bab1cc Iterate Intention: Fix detection of extension iterators
#KT-8616 Fixed
2015-12-25 18:50:23 +03:00
Ilya Gorbunov 59a9e2549c Fix tests: codegen, completion, decompiler consistency, quickdoc, intentions, navigation, reference resolver, quick fixes 2015-12-14 04:29:25 +03:00
Ilya Gorbunov f2ce849f18 Fix parameter names in testData 2015-11-21 07:09:03 +03:00
Valentin Kipyatkov 927df1c4cd KT-5072 Values of extension function type are not seen in completion
#KT-5072 Fixed
2015-11-16 18:24:37 +03:00
Valentin Kipyatkov 4c5d5ed18f Do not show "assertFailsWith" in any smart completion 2015-11-09 15:37:47 +03:00
Valentin Kipyatkov e33e1ef8d7 KT-8968 Special completion after "super."
#KT-8968 Fixed
2015-11-05 17:47:55 +03:00
Valentin Kipyatkov b73c574d19 Correct completion after "super."
#KT-8406 Fixed
2015-11-05 17:47:54 +03:00
Valentin Kipyatkov b05d490eeb Performance optimization in completion: search context variables of functional types later 2015-11-03 11:46:18 +03:00
Dmitry Jemerov 736b496f6a drop deprecated @platformName and @platformStatic annotations 2015-11-02 17:00:44 +01:00
Valentin Kipyatkov ee7425c1de Checking "infix" modifier in completion and import popup 2015-10-12 15:10:39 +03:00
Valentin Kipyatkov 2c1defaf18 Smart completion for "ClassName::class" and "ClassName::class.java" when specific KClass or Class expected 2015-10-09 16:42:06 +03:00
Valentin Kipyatkov 9d51e8e0e6 Added test 2015-10-07 23:09:56 +03:00
Valentin Kipyatkov af9e66da62 Checked that "KT-7441 Smart completion does not work for argument of "this(..)" or "super(..)" call in non-primary constructor declaration" has been fixed too
#KT-7441 Fixed
2015-10-07 23:09:56 +03:00