Zalim Bashorov
595975a66e
LookupLocation.NO_LOCATION_FROM_IDE -> NoLookupLocation.FROM_IDE
2015-08-18 12:34:18 +03:00
Zalim Bashorov
69e0f23db9
Classify Location.NO_LOCATION usages
2015-08-18 12:21:31 +03:00
Alexey Sedunov
982655f553
Pull Up: Resolve target light class separately for each Java field usage as it may change along the way
2015-08-17 20:28:18 +03:00
Alexey Sedunov
46fe7dc7a1
Move Directory: Support Kotlin files
...
#KT-8350 Fixed
#KT-8351 Fixed
2015-08-17 20:28:17 +03:00
Alexey Sedunov
feacefe50a
Project View: Fix "Show Members" behavior for Kotlin files
...
#KT-8409 Fixed
2015-08-17 20:28:16 +03:00
Alexey Sedunov
3edc903daf
Move Declarations: Support multiple files
...
#KT-8431 Fixed
2015-08-17 20:28:14 +03:00
Alexey Sedunov
74ef93fd0c
Move Declarations: Do not show "Package doesn't exist" message twice
2015-08-17 20:28:13 +03:00
Alexey Sedunov
3134e58251
J2K Converter: Add copy/paste tests for references in extends/implements clauses
2015-08-17 20:28:11 +03:00
Alexey Sedunov
96f255225b
Push Down: Conflict analysis
2015-08-17 20:28:10 +03:00
Alexey Sedunov
a66ef47887
Push Down: Initial Support
2015-08-17 20:28:08 +03:00
Alexey Sedunov
5168ccc159
Add/Remove Modifier: Do not add modifier if it's already present in the modifier list
2015-08-17 20:28:05 +03:00
Alexey Sedunov
969b90d301
Move Declarations: Use custom hashing strategy to account for different instances of light elements with common origin
2015-08-17 20:28:04 +03:00
Alexey Sedunov
03f08326fa
Move File: Process external and internal usages after all package directives are updated
2015-08-17 20:28:03 +03:00
Valentin Kipyatkov
b6c94a9e68
ResolveElementCache works correctly for non-physical files
2015-08-17 14:24:07 +03:00
Evgeny Gerashchenko
4b6991603f
Minor. Split test file into two.
2015-08-15 12:29:46 +02:00
Evgeny Gerashchenko
799368386b
KT-6877 Wrong unused function inspection on anonymous object member
...
#KT-6877 fixed
2015-08-15 12:29:46 +02:00
Evgeny Gerashchenko
da4be8a0f5
KT-7484 Companion object is marked unused if it's only usages are statically imported from Java
...
#KT-7484 fixed
2015-08-15 12:29:44 +02:00
Evgeny Gerashchenko
3a4010503e
Minor. Renamed test data dir.
2015-08-15 12:29:43 +02:00
Evgeny Gerashchenko
fe1d4e38b3
KT-8273 Don't mark serialVersionUID as unused
...
#KT-8273 fixed
2015-08-15 12:29:42 +02:00
Evgeny Gerashchenko
1cf433909b
Test for KT-7134 Command line entry point (main function is highlighted as unused)
...
#KT-7134 obsolete
2015-08-15 12:29:12 +02:00
Natalia Ukhorskaya
9b0cfd4027
Debugger tests: migrate to new API
...
(cherry picked from commit 430c718)
2015-08-15 01:40:39 +03:00
Natalia Ukhorskaya
be5c1d0a44
Debugger tests: changes in testData
...
(cherry picked from commit 0e4b133)
2015-08-15 01:40:38 +03:00
Valentin Kipyatkov
c3ccd6da57
Renamed test data folder
2015-08-14 18:10:41 +03:00
Valentin Kipyatkov
b6cf39981f
SAM-adapters are sorted as non-extensions in completion and with correct boldness + no parameter names when from compiled
2015-08-14 18:10:41 +03:00
Valentin Kipyatkov
13fc12bbae
Moving test data into subfolders
2015-08-14 18:10:40 +03:00
Valentin Kipyatkov
9546e46ae0
Moving test data into java-specific folder
2015-08-14 18:10:40 +03:00
Valentin Kipyatkov
ec7c55c9be
Synthetic java properties are not always bold in completion and are not sorted as extensions
2015-08-14 18:10:39 +03:00
Valentin Kipyatkov
000d2f0cd1
Lower priority for extensions on own type parameters
2015-08-14 17:38:38 +03:00
Valentin Kipyatkov
9e26d0eacf
Graying members from smart cast receiver types that require explicit receiver cast
...
+ changed immediate member criteria (override member is not counted as immediate anymore)
+ fixed a bug in graying members
2015-08-14 17:38:29 +03:00
Valentin Kipyatkov
b21226ac1c
More correct calculation of smart casts in smart completion
2015-08-14 17:38:29 +03:00
Valentin Kipyatkov
f3e7560593
Enabled test
2015-08-14 17:38:29 +03:00
Valentin Kipyatkov
7b149c10c1
UsePropertyAccessSyntaxIntention: handled case when property type is more specific
2015-08-13 17:29:03 +03:00
Valentin Kipyatkov
6fcb75cfb5
One more test added
2015-08-13 17:29:03 +03:00
Valentin Kipyatkov
1fd4d4fe11
More efficient and correct implementation of conflicts checking in UsePropertyAccessSyntaxIntention
2015-08-13 17:29:02 +03:00
Valentin Kipyatkov
a5306d9e4b
Minor optimization
2015-08-13 17:29:02 +03:00
Valentin Kipyatkov
0d27e7a259
Faster replacement of get/set to synthetic extensions in converter - don't search for extension property again
2015-08-13 17:29:01 +03:00
Valentin Kipyatkov
21639c4785
J2k post-processings based on diagnostics are included into the common scheme
2015-08-13 17:29:01 +03:00
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