Alexey Sedunov
f40fb623a6
FindUsagesTest: Add overriding property without accessors
2013-11-06 14:26:38 +04:00
Alexey Sedunov
78a7afe70e
FindUsagesTest: Add usages of extensions for functions declared in objects
2013-11-06 14:26:36 +04:00
Alexey Sedunov
bc9b2bf657
Add "Find Usages" tests for nested/inner classes and objects
2013-11-06 14:26:34 +04:00
Alexey Sedunov
f99e6e6765
Fix usage type detection for static members of Java classes and members of nested classes
2013-11-06 14:26:33 +04:00
Alexey Sedunov
40900ac16c
Reuse Java usage types
2013-11-06 14:26:32 +04:00
Alexey Sedunov
a0e90f38a2
"Find Usages": add tests for Kotlin usages of Java declarations
2013-11-06 14:26:30 +04:00
Alexey Sedunov
f41cfa2b8b
"Find Usages": separate Kotlin and Java tests
2013-11-06 14:26:29 +04:00
Alexey Sedunov
f1a7d707a0
Implement "Find usages" using UsagesSearch (classes, functions, properties)
2013-11-06 14:26:27 +04:00
Alexey Sedunov
6502f21144
JetUsageTypeProvider: Eliminate SELECTOR type, replace class with object
2013-11-06 14:26:25 +04:00
Erokhin Stanislav
bb6fd90bd9
JS backend: move StringBuilder to java.lang. Fix append return type.
2013-11-05 20:55:49 +04:00
Pavel V. Talanov
3e205d162e
Formatting: exactly one space after if keyword
2013-10-29 21:03:39 +04:00
Pavel V. Talanov
77d316902c
Formatting: exactly one space after for keyword
2013-10-29 21:03:38 +04:00
Natalia Ukhorskaya
3287744415
Add common JetElement for imports: JetImportList
2013-10-25 13:55:40 +04:00
Natalia Ukhorskaya
796dad5798
Do not expand imports after optimizing
2013-10-25 11:05:02 +04:00
Alexey Sedunov
93e906ef5f
Filter usages in import directives
2013-10-23 23:00:30 +04:00
Alexey Sedunov
c3c0925de1
Add support of local declarations
2013-10-23 23:00:28 +04:00
Alexey Sedunov
46b14784e1
Fixed KT-4105: Can't find usages of private function
2013-10-23 23:00:27 +04:00
Nikolay Krasko
669104538d
Tests for shadowing and redeclaration
2013-10-23 20:43:38 +04:00
Alexey Sedunov
cf8555349e
Fix detection of constructor calls and delegates in supertype specifiers
2013-10-23 14:19:47 +04:00
Alexey Sedunov
12a460a145
KT-4043 "Find usages ignores class names usages as class objects"
2013-10-21 17:18:46 +04:00
Svetlana Isakova
14cff91fed
improved diagnostic message test
...
added ability to denote required message type (text or html)
2013-10-16 20:41:25 +04:00
Svetlana Isakova
2f02427c57
changed DiagnosticMessageTest
...
added test arguments to test data
2013-10-16 20:41:23 +04:00
Svetlana Isakova
4666b0f50c
refactoring: removed logic of rendering 'expected type mismatch' error from constraint system
2013-10-16 19:51:53 +04:00
Svetlana Isakova
731efd0781
added declared bound constraints directly to constraint system
...
added status 'hasViolatedUpperBound'
class TypeConstraintsImpl now stores constraint position for each constraint,
so we can filter out bound constraints and find out if the system is successful without them
2013-10-16 19:51:53 +04:00
Nikolay Krasko
0c49b91098
Complete functions with single parameter on typing '{'
...
For KT-4049 When completing a function that takes a lambda and immediately typing '{', swallow the '{'
#KT-4049 Fixed
2013-10-16 18:56:51 +04:00
Alexey Sedunov
71a0d4cc45
KT-4018 When moving members move comments too
2013-10-15 18:44:00 +04:00
Alexey Sedunov
28b3db53fe
Fix irregular PSI structure for classes without body
2013-10-15 18:43:59 +04:00
Alexey Sedunov
bdc908d45f
Fix search of package-level function/property usages in Java code
2013-10-15 18:43:57 +04:00
Andrey Breslav
f05f3f5686
Let the user know that class object bounds are not supported
...
KT-4080 Code analisys show all good, but got compile error
#KT-4080 Fixed
2013-10-15 14:45:22 +04:00
Andrey Breslav
60425b15e6
Support circular dependencies
...
We generate a module script with information on all modules in the chunk, then build the whole chunk as "one big module"
2013-10-14 14:42:24 +04:00
Alexey Sedunov
eff62bfd83
KT-4008 'Replace if with when' is available but does not work
2013-10-11 17:24:07 +04:00
Alexander Udalov
102ced153c
Remove binary test data from completion tests
...
Delete CompileBinaryTestData script, since there are no tests with binary test
data left in the repository
2013-10-10 20:28:22 +04:00
Alexander Udalov
a2c74d4324
Refactor OverrideImplementWithLibTest
...
Use JdkAndMockLibraryProjectDescriptor instead of a jar file, which needs to be
regenerated every time binary format changes
2013-10-10 20:28:21 +04:00
Andrey Breslav
d4a89d04d7
Each module carries its output directory
2013-10-10 17:49:17 +04:00
Pavel V. Talanov
91336a888c
Fix invalid usage of getOverriddenDescriptors in JetLineMarkerProvider
2013-10-07 20:50:37 +04:00
Pavel V. Talanov
4a217d8cde
Fix invalid usage of descriptorToDeclaration in GotoSuperActionHandler
2013-10-07 20:50:36 +04:00
Nikolay Krasko
d0e4245112
Add test for enum highlighting
2013-10-03 23:35:54 +04:00
Nikolay Krasko
f09ba64234
Refactoring: Use generators for highlighting tests
...
- Store options for test in file
- Change default for namesHighlightingTest
- Combine highlighting and deprecated tests
2013-10-03 23:35:53 +04:00
Alexander Udalov
fdc631d595
Increase ABI version after changes to package fragment names
2013-10-02 17:05:47 +04:00
Alexander Udalov
8a5336aca2
Don't use $ in package fragment class names
...
Package fragment classes now are named "*Package-<filename>-<hash>" instead of
"*Package$src$<filename>$<hash>". This will help to avoid erroneous code in
intellij FileManager, which assumes that classes with dollars are always inner
classes of some other class (see AnnotationDescriptorDeserializer)
2013-10-02 17:03:24 +04:00
Evgeny Gerashchenko
eb5455e89f
Got rid of "jet" file extension.
2013-10-01 19:32:38 +04:00
Alexander Udalov
a97bb80216
Serialize FQ names of Kotlin classes
...
This helps to avoid a nasty hack with loading inner Kotlin classes in JDR,
which makes it a bit easier to 'lazify' JDR, since now the container of a
Kotlin class is no longer required to be resolved eagerly before resolution of
the class itself
2013-09-30 22:43:18 +04:00
Pavel V. Talanov
9eeda58747
Fix for MakeOverriddenMemberOpenFix
...
Fixes bugs which led to BindingContextUtils#descriptorToDeclaration throwing exception
2013-09-30 20:54:43 +04:00
Pavel V. Talanov
10797db588
Create test for resolving with compiled kotlin dependency
...
Test for resolving fake overrides from binaries
2013-09-30 20:54:35 +04:00
Mikhael Bogdanov
625efe1be1
Update to idea 132.425
2013-09-30 12:39:40 +04:00
Alexey Sedunov
c93d35ad57
Use KotlinCallHierarchyNodeDescriptor for Kotlin declarations only
2013-09-27 19:20:46 +04:00
Alexey Sedunov
5b7881f40c
Call Hierarchy: Add support of local declarations
2013-09-27 19:20:45 +04:00
Alexey Sedunov
41ea7da1e3
Implement call hierarchy
2013-09-27 19:20:44 +04:00
Alexey Sedunov
e859e02c8b
Implement "if null" / "if not null" live templates
2013-09-25 19:44:24 +04:00
Alexander Udalov
a814f6a897
Advertise CompileBinaryTestData.kt in tests with binaries
2013-09-25 16:04:17 +04:00