Commit Graph

17 Commits

Author SHA1 Message Date
Denis Zharkov bc564af2fc Regenerate mockJDK using openJDK 7 2017-06-24 17:26:01 +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
Ilya Gorbunov fee676a281 Introduce 'takeUnless' function which is like 'takeIf' but with the predicate inverted.
#KT-7858
2017-02-13 16:07:34 +03:00
Ilya Gorbunov 3ec48ab244 Add kotlin.comparisons package to default imports. 2017-01-19 18:21:14 +03:00
Ilya Gorbunov 07e529c8ec Fix completion test: expected appearance of 'takeIf' and 'also' 2017-01-16 09:32:17 +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
Valentin Kipyatkov e04c6d1f5c KT-12299 Completion: incorrect priority of property foo over method getFoo in Kotlin-only code
#KT-12299 Fixed
2016-05-14 12:19:42 +03:00
Valentin Kipyatkov 16c38a2415 KT-12138 Do not show "::error" in smart completion when any function type accepting one argument is expected
(actually made them lowest priority)

 #KT-12138 Fixed
2016-05-04 17:28:30 +03:00
Valentin Kipyatkov 6a26e2fd82 Sorting overloads in completion 2015-11-16 18:24:37 +03:00
Valentin Kipyatkov 99b35257c6 Preference of right member after "super." and not only 2015-11-05 17:47:55 +03:00
Valentin Kipyatkov 000d2f0cd1 Lower priority for extensions on own type parameters 2015-08-14 17:38:38 +03:00
Valentin Kipyatkov af2b6588c0 Ordinary completion includes some items from smart completion + changed priority for multi-args item in smart completion
#KT-8580 Fixed
2015-08-10 17:49:34 +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
Ilya Gorbunov 78b4c13d8f apply() got to smart completion where this was expected. 2015-07-20 02:16:38 +03:00
Valentin Kipyatkov 892b2b0f83 KT-7195 Smart completion after "return ": the function itself should get smaller priority + declarations in the same file to have higher priority than default-imported
#KT-7195 Fixed
2015-05-16 17:15:08 +03:00
Valentin Kipyatkov 2adf0a3e9a KT-4908 Smart completion does not work for arguments of function with vararg
#KT-4908 Fixed
2015-05-16 17:09:50 +03:00
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00