Valentin Kipyatkov
e66d0f71ac
Implemented more general scheme of post-processing with intentions in J2K + added replacement of get/set with property access there
2015-08-13 17:29:00 +03:00
Valentin Kipyatkov
671b9f5d56
Finally fixed KT-8751
2015-08-13 15:02:52 +03:00
Sergey Mashkov
2f7193064f
#KT-8708 migrate tests to new trimIdent() and prependIndent
2015-08-13 14:40:07 +03:00
Sergey Mashkov
c0078a53e6
Temporary move trimIndent implementations to tests as private members to avoid resolution ambiguity
2015-08-12 18:45:10 +03:00
Valentin Kipyatkov
8104a78746
Fixed completion for type parameters broken recently
2015-08-12 13:34:28 +03:00
Valentin Kipyatkov
41f80cde9e
Checked that "KT-6898 References to type arguments of unresolved class name are not resolved" has been fixed
2015-08-11 13:51:29 +03:00
Valentin Kipyatkov
ae552f49a7
Added test for KT-8471
2015-08-11 13:35:32 +03:00
Valentin Kipyatkov
98c970d394
Fixed resolving class name before dot and nothing else
2015-08-11 13:21:56 +03:00
Valentin Kipyatkov
8b749ee76d
KT-6891 Type argument of generic type before dot is not resolved
...
KT-7373 Type parameter names are not suggested
KT-6838 Class declared in same file is not suggested in completion
#KT-6891 Fixed
#KT-7373 Fixed
#KT-6838 Fixed
2015-08-11 13:21:56 +03:00
Valentin Kipyatkov
f658cce1f1
KT-8176 References to type arguments are not resolved when number of them does not match type parameters
...
KT-8078 FQ-name inserted on class name completion in type arguments
#KT-8176 Fixed
#KT-8078 Fixed
2015-08-11 13:21:56 +03:00
Mikhail Glukhikh
adf43519d6
Code mover fix: correct commas / semicolons after enum entries, relevant test fixes, extra tests
2015-08-11 10:38:20 +03:00
Mikhail Glukhikh
3f14e74b08
Drop old enum syntax. Comma / semicolon are now a syntactic part of enum entry.
...
Comma must present now between enum entries, semicolon between last entry & first member, constructor calls must be without colons / specifiers.
A swarm of tests fixed accordingly.
2015-08-11 10:38:10 +03:00
Mikhail Glukhikh
e5ab7de870
Enum entry stub name fixed
2015-08-11 10:38:02 +03:00
Mikhail Glukhikh
3793d99b00
Decompiler fix: enum entries are now separated by , and have ; at the end, relevant tests fixed
2015-08-11 10:37:48 +03:00
Michael Nedzelsky
c74577951e
minor fix in idea/testData: ImplementFunctionType.kt -> implementFunctionType.kt
2015-08-11 04:23:18 +03:00
Valentin Kipyatkov
377201bbcd
KT-8716 Exception on attempt to implement function
...
#KT-8716 Fixed
2015-08-10 20:29:51 +03:00
Valentin Kipyatkov
c943ec104d
KT-8718 KNPE at PropertyUsagesSearchHelper.makeItemList() on erasing parameter name
...
#KT-8718 Fixed
2015-08-10 20:29:51 +03:00
Valentin Kipyatkov
1cfdbdea82
KT-8751 Assertion in HeuriticSignatures
...
#KT-8751 Fixed
2015-08-10 20:28:52 +03:00
Valentin Kipyatkov
98ac13fd59
KT-8743 Propose class names for extension receiver in completion after 'fun' if a capital letter was entered
...
#KT-8743 Fixed
2015-08-10 17:49:36 +03:00
Valentin Kipyatkov
cafb5ac10a
Fixed parameter name&type completion for type parameters
2015-08-10 17:49:36 +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
c05d7d51ec
"true" and "false" in smart completion when Boolean? expected
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
96109230eb
Fixed crash on runtime
2015-08-10 17:49:35 +03:00
Valentin Kipyatkov
200c99e722
Reordered methods + minor
2015-08-10 17:49:35 +03:00
Valentin Kipyatkov
7016a087c3
Refactoring
2015-08-10 17:49:35 +03:00
Valentin Kipyatkov
2728047acd
No useless null in return value of ExpectedInfos.calculate
2015-08-10 17:49:35 +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
2a8dcabbce
Filtering of smart completion items in ordinary completion
2015-08-10 17:49:34 +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
73b98aba17
Moving logic into ExpectedInfos
2015-08-10 17:49:34 +03:00
Valentin Kipyatkov
c76f6333a0
Minor
2015-08-10 17:49:34 +03:00
Valentin Kipyatkov
b475860327
Moved classes
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
2b61f4c552
KT-4915 Smart completion should work for auto-casted 'this'
...
#KT-4915 Fixed
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
99f604f1c3
Refactored smart completion so that completion in for-loop range and after "in" are covered by ExpectedInfo's
2015-08-10 17:48:53 +03:00
Mikhail Glukhikh
89e0d310e3
Deprecated enum syntax removed: idea completion tests
2015-08-10 16:24:19 +03:00
Mikhail Glukhikh
022e7d1169
Deprecated enum syntax removed: most idea tests
2015-08-10 16:24:16 +03:00
Mikhail Glukhikh
b87bbfc3e0
Deprecated enum syntax removed: change signature tests
2015-08-10 16:24:04 +03:00
Mikhail Glukhikh
076ac4f5ee
Create class from usage fix: enum entries are created with new constructor syntax
2015-08-10 16:24:01 +03:00
Mikhail Glukhikh
fe716d7e56
Change signature fix: correct parameter add / remove from enum constructor calls, relevant test fixes
2015-08-10 16:23:57 +03:00
Nikolay Krasko
0ccdf1d43b
J2K: JetClassFileDecompiler.java converter
2015-08-10 13:07:42 +03:00
Nikolay Krasko
99b70b49c4
J2K: JetClassFileDecompiler.java file rename
2015-08-10 13:07:39 +03:00
Nikolay Krasko
0b35aa69a3
Update since to 142.3553.1
2015-08-10 13:07:35 +03:00
Zalim Bashorov
0978e9f169
Minor: move LookupLocation to org.jetbrains.kotlin.incremental.components
2015-08-08 02:08:16 +03:00