Valentin Kipyatkov
0f332bd8b9
Refactored sorting in completion
...
Also changed semantics of DeclarationDescriptor.importableFqName - it now returns null when descriptor cannot be referenced by import + dropped DeclarationDescriptor.importableFqNameSafe
2015-08-25 18:56:16 +03:00
Valentin Kipyatkov
68c0c83879
Better sorting: current package is preferred
2015-08-25 18:56:16 +03:00
Valentin Kipyatkov
275299f5e2
Merged 2 tests
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
000d2f0cd1
Lower priority for extensions on own type parameters
2015-08-14 17:38:38 +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
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
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
Valentin Kipyatkov
e05c20b5c0
Completion: fixed ordering for packages + exclude for package items supported too
2015-07-21 16:00:10 +03:00
Ilya Gorbunov
78b4c13d8f
apply() got to smart completion where this was expected.
2015-07-20 02:16:38 +03:00
Valentin Kipyatkov
ecbc7ba5b6
Parameter name completion allows user prefix part in the name + more strict prefix matcher used
2015-06-25 21:57:14 +02:00
Valentin Kipyatkov
8520235934
Fixed deprecated ordering and quick doc for java and compiled classes in completion
2015-06-25 21:57:14 +02:00
Valentin Kipyatkov
84ba634c3e
Parameter names from current file get higher priority + number of occurrences matters
2015-06-25 21:57:13 +02:00
Valentin Kipyatkov
c0126b08c3
Parameter name completion: added more tests for ordering
2015-06-25 21:57:12 +02:00
Valentin Kipyatkov
6478c7d460
Ordering of parameter name suggestions by type relevance
2015-06-25 21:57:12 +02:00
Valentin Kipyatkov
603f7ef3c1
KT-7756 Completion of "return null", "return true" and "return false"
...
#KT-7756 Fixed
2015-06-04 17:21:27 +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