Andrey Breslav
8e7f6f3c8c
Migrated from @HiddenDeclaration to @Deprecated(..., level = DeprecationLevel.HIDDEN)
2015-10-13 13:50:16 +03:00
Valentin Kipyatkov
ee7425c1de
Checking "infix" modifier in completion and import popup
2015-10-12 15:10:39 +03:00
Dmitry Petrov
7e9e427d4c
Java 8 rules for method overrides:
...
- report errors on implementing methods of Any in interfaces
- update testData
~~~
Java 8 override restrictions: interface can't implement a method of 'Any'
- update compiler sources
2015-10-12 14:12:31 +03:00
Dmitry Jemerov
1523d5bcbf
removing static type assertions work in progress
2015-10-12 11:11:23 +02:00
Denis Zharkov
a76a8fcc3f
Adjust various testData to remove/charAt transformation
2015-10-11 19:59:31 +03:00
Valentin Kipyatkov
6fb329c1cd
Minor
2015-10-09 16:42:07 +03:00
Valentin Kipyatkov
21b2631558
KT-9500 Prohibit java.lang.Deprecated in completion + no duplicates for built-ins in completion
...
#KT-9500 Fixed
2015-10-09 16:42:07 +03:00
Valentin Kipyatkov
91b2ba9ef3
Fixed warnings
2015-10-09 16:42:07 +03:00
Valentin Kipyatkov
b549bc913a
Dropped ability to specify custom PrefixMatcher in LookupElementsCollector
2015-10-09 16:42:07 +03:00
Valentin Kipyatkov
aa0a68b4be
More simple prefix matching in ParameterNameAndTypeCompletion
2015-10-09 16:42:06 +03:00
Valentin Kipyatkov
9b4070b881
Changed lookup strings and prefix matchers for parameter name&type completion to get more stable and correct ordering
2015-10-09 16:42:06 +03:00
Valentin Kipyatkov
7c39064f75
Removed unnecessary 'data' modifier
2015-10-09 16:42:06 +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
Pavel V. Talanov
c28107034a
Idea tests: INSTANCE$ -> INSTANCE
2015-10-09 16:25:17 +03:00
Svetlana Isakova
63d9e287b7
Converted JetTypeReference to Kotlin
2015-10-09 11:05:52 +03:00
Valentin Kipyatkov
9d51e8e0e6
Added test
2015-10-07 23:09:56 +03:00
Valentin Kipyatkov
016401a2b7
Fixed test data
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
6e8be8d5af
Extracted common code for detecting candidates for a Call
2015-10-07 23:09:55 +03:00
Valentin Kipyatkov
b997b3b09e
No named arguments completion in brackets
2015-10-07 23:09:55 +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
e69cfdaaa0
Parameter info: overload "grey" status is calculated via resolve
2015-10-07 23:09:52 +03:00
Ilya Gorbunov
ec416c5210
Replace identityEqulas with ===
2015-10-07 22:36:20 +03:00
Ilya Gorbunov
b50c106648
Replace reverse with reversed or asReversed.
2015-10-07 22:36:18 +03:00
Ilya Gorbunov
37a0347669
Replace sort with sorted.
2015-10-07 22:36:16 +03:00
Ilya Gorbunov
c6caa67cfb
StdLib cleanup: replace KeyMissingException with NoSuchElementException.
...
Remove KeyMissingException from testData
2015-10-07 22:36:11 +03:00
Natalia Ukhorskaya
6fc8a16dd5
Completion for codeFragments: do not show java getters/setters at first completion
2015-10-07 20:29:57 +03:00
Natalia Ukhorskaya
9d7585207c
Completion for codeFragments: no duplicates for synthetic properties
2015-10-07 20:29:56 +03:00
Natalia Ukhorskaya
9f96de3f7b
Compare descriptors by topmost override
2015-10-07 20:29:56 +03:00
Dmitry Jemerov
8fd9d181de
add @suppress to the list of known KDoc tags
...
#KT-9415 Fixed
2015-10-06 16:12:08 +02:00
Pavel V. Talanov
3ed04aea8a
Imports from objects: Do not create new instances on getOriginal every time
...
Also fixes a problem where DeclarationLookupObjectImpl didn't have stable hashCode
2015-10-06 16:31:23 +03:00
Valentin Kipyatkov
ec685195bd
Better tests
2015-10-05 15:33:50 +03:00
Valentin Kipyatkov
7b063d0391
Completion: lower priority for override member items
...
#KT-9403 Fixed
2015-10-05 15:33:50 +03:00
Valentin Kipyatkov
c5fdd649ab
Overrides completion on typing member name too
...
#KT-9431 Fixed
2015-10-05 15:33:49 +03:00
Valentin Kipyatkov
fd6244ac51
Never take ExpectedInfo from outer expression "as is"
2015-10-05 15:33:49 +03:00
Valentin Kipyatkov
da7c62e788
Refactored
2015-10-05 15:33:48 +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
2e02f02d9b
More clear code
2015-10-03 10:40:53 +03:00
Valentin Kipyatkov
184d59a645
No shadowed declaration filtering for callable references (as well as imports)
2015-10-03 10:40:53 +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
aaf507121f
Refactored code: the same code for detection of callable reference type
2015-10-03 10:40:52 +03:00
Valentin Kipyatkov
1bc132bc1a
No members&extensions after non-qualified "::" because it will be soon unsupported by the compiler
2015-10-03 10:40:52 +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
58bcb576a1
Completion: grayed parameters and type in completion of imports and callable references (arguable)
2015-10-03 10:40:52 +03:00
Valentin Kipyatkov
e562c019f9
No "{...}" in presentation for functions in completion of imports and callable references
2015-10-03 10:40:51 +03:00