Commit Graph

111 Commits

Author SHA1 Message Date
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
Valentin Kipyatkov c876759ee0 Insert ']' instead of ')' 2015-10-07 23:09:55 +03:00
Valentin Kipyatkov fa51ca5716 KT-4977 Smart completion should work for arguments in brackets
#KT-4977 Fixed
2015-10-07 23:09:54 +03:00
Valentin Kipyatkov cbf5be5c08 No callable reference to generic callables 2015-10-03 10:40:54 +03:00
Valentin Kipyatkov feb4492455 No true/false for if-condition too 2015-10-03 10:40:54 +03:00
Valentin Kipyatkov 7436355c17 Fix true and false in when entry with subject broken before 2015-10-03 10:40:54 +03:00
Valentin Kipyatkov d547ea9b57 Overload callable references are now supported - changed code accordingly 2015-10-03 10:40:53 +03:00
Valentin Kipyatkov b23602237a Smart completion: no "::xxx" items for members and fixed bug with constructors not appearing there 2015-10-03 10:40:53 +03:00
Valentin Kipyatkov b0d31fc86d Property types supported in smart completion without "::" 2015-10-03 10:40:53 +03:00
Valentin Kipyatkov f58f5dd82a Added parameters and type text (grayed) to "::xxx" items in smart completion 2015-10-03 10:40:52 +03:00
Valentin Kipyatkov c0bfca4f89 A::class and A::class.java supported in smart completion too 2015-10-03 10:40:51 +03:00
Valentin Kipyatkov ebf649a681 Support for callable references in smart completion 2015-10-03 10:40:50 +03:00
Valentin Kipyatkov 3f64b25df3 Renamed tests 2015-10-03 10:40:50 +03:00
Valentin Kipyatkov 5fddefbf4d Corrected and restored test 2015-10-03 10:40:50 +03:00
Valentin Kipyatkov 1e21b0201c Renamed test folder 2015-10-03 10:40:50 +03:00
Valentin Kipyatkov 72a5a68769 Dropped support for backing fields (with '$') completion 2015-10-03 10:38:31 +03:00
Mikhail Glukhikh 6f7d9459fa Completion for sealed class inheritors and a pair of tests 2015-09-30 19:38:14 +03:00
Denis Zharkov 73799e2c3c Replace deprecated lambda syntax in testData
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Dmitry Jemerov 4ca434da54 remove support for 'trait' keyword 2015-09-22 15:00:24 +02:00
Ilya Gorbunov 92e66b0d81 Fix deprecations in testData: smart completion and find usages 2015-09-19 04:33:31 +03:00
Valentin Kipyatkov fe3e9341a1 Smart completion: no instantiation of anonymous object with uninferred type arguments in code 2015-09-04 23:27:37 +03:00
Valentin Kipyatkov 40de063ebd Smart completion for generic class instantiation to not insert explicit type arguments (for they'll probably be inferred from the expected type) 2015-09-04 23:27:37 +03:00
Valentin Kipyatkov 997aef8fee Smart completion to work when some of previous arguments do not match
#KT-8400 Fixed
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov 7663793e3d Smart completion to work when some of previous arguments have errors (+ fixed testAfterEmptyArgument broken by previous changes) 2015-09-04 23:27:36 +03:00
Valentin Kipyatkov 363295f6af Moved creation of additional items like special items for functions accepting lambda into LookupElementFactory to provide them in smart completion too 2015-08-28 16:22:44 +03:00
Valentin Kipyatkov 9e26d0eacf Graying members from smart cast receiver types that require explicit receiver cast
+ changed immediate member criteria (override member is not counted as immediate anymore)
+ fixed a bug in graying members
2015-08-14 17:38:29 +03:00
Valentin Kipyatkov b21226ac1c More correct calculation of smart casts in smart completion 2015-08-14 17:38:29 +03:00
Valentin Kipyatkov f3e7560593 Enabled test 2015-08-14 17:38:29 +03:00
Valentin Kipyatkov c05d7d51ec "true" and "false" in smart completion when Boolean? expected 2015-08-10 17:49:36 +03:00
Valentin Kipyatkov 9497143b26 Smart completion works in initializer of variable with unknown type (the same as ordinary completion)
#KT-8691 Fixed
2015-08-10 17:49:34 +03:00
Valentin Kipyatkov 2b61f4c552 KT-4915 Smart completion should work for auto-casted 'this'
#KT-4915 Fixed
2015-08-10 17:49:33 +03:00
Mikhail Glukhikh 89e0d310e3 Deprecated enum syntax removed: idea completion tests 2015-08-10 16:24:19 +03:00
Valentin Kipyatkov eb03c5a6d0 Fixed exception 2015-07-28 22:39:32 +03:00
Valentin Kipyatkov 8c02ce73a4 Corrections on code review 2015-07-22 21:06:14 +03:00
Valentin Kipyatkov 2ad981d5c9 Smart completion: don't use outer call's expected type too much 2015-07-22 21:06:14 +03:00
Valentin Kipyatkov a5384cdc28 Smart completion works for cases when no exact type known (generic parameter substitution is not known) 2015-07-22 21:06:13 +03:00
Valentin Kipyatkov 7b0b2d38c5 KT-8560 Smart completion for lambda value and more in smart completion
#KT-8560 Fixed
2015-07-22 21:04:30 +03:00
Denis Zharkov 151231ef1a Adjust testData
Standard JDK collections purely implement kotlin.Mutable* with non-platform arguments
2015-07-09 16:36:47 +03:00
Valentin Kipyatkov 1f79955275 Completion: more intuitive presentation of function items that insert lambda 2015-07-08 16:28:53 +03:00