Simon Ogorodnik
439e158fb2
Fix failing test after migration to IDEA 171
...
BasicCompletionWeigherTestGenerated$ExpectedInfo.testPreferMatchingThis
Looks like IDEA now rearranges elements with same weight by length and
then alphabetically
2017-03-21 16:47:16 +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
Valentin Kipyatkov
df32dcac39
Added smart priorities for true, false and null into basic completion
2015-08-10 17:49:36 +03:00
Valentin Kipyatkov
cd6d8ffa98
Basic completion prefers right type in lambda value
2015-08-10 17:49:36 +03:00
Valentin Kipyatkov
e6f5cefce3
Basic completion shows items from smart completion after "as" + do not insert any tail in basic completion
2015-08-10 17:49:35 +03:00
Valentin Kipyatkov
be0a0e4401
Items filtered out from smart completion take lower priority in ordinary one + lower priority for Enum.valueOf
2015-08-10 17:49:35 +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
22e79d89f4
Completion sorts items by name similarity in intializer of variable with no explicit type
2015-08-10 17:49:33 +03:00
Valentin Kipyatkov
9cba912fe5
Ordinary completion prefers item matching expected name
2015-08-10 17:49:33 +03:00
Valentin Kipyatkov
07311234db
"this" with matching type are preferred in ordinary completion
2015-08-10 17:49:33 +03:00
Valentin Kipyatkov
44d277af87
Completion prefers items matching expected type(s)
2015-08-10 17:49:33 +03:00