Nikolay Krasko
44b8e22bef
More tests for generating methods from different caret positions
2014-10-06 17:53:10 +04:00
Nikolay Krasko
774af134fa
Move caret to generated element and add selection
2014-10-06 17:53:02 +04:00
Nikolay Krasko
a50720d74d
Remove rest of whitespace on override or implement to insert generated at caret offset
2014-10-06 17:53:00 +04:00
Nikolay Krasko
03d1c64d27
KT-5103 No delegated members in Override/Implement
...
#KT-5103 Fixed
2014-10-06 17:52:41 +04:00
Pavel V. Talanov
af963ea244
Fix being unable to find declaration for substituted callable from library
...
#KT-5900 Fixed
#KT-5901 Fixed
2014-10-03 21:33:18 +04:00
Nikolay Krasko
f0e7435254
A better heuristics is declaration implemented or overriden
2014-10-01 18:05:46 +04:00
Nikolay Krasko
5c6d74af7d
Test for "Incorrect override icon shown for overloaded methods" (KT-4428)
...
#KT-4428 Fixed
2014-10-01 18:03:02 +04:00
Nikolay Krasko
236cdc7d82
Filter synthetic trait overrides for "overriding" markers too
2014-10-01 18:02:54 +04:00
Nikolay Krasko
897ebd0347
Linemarker tests
2014-10-01 18:02:52 +04:00
Nikolay Krasko
6aa5e53a00
Fix navigate to super declaration line marker tooltip
...
Don't show overridden function signature each time, show only where it's declared
2014-10-01 17:58:56 +04:00
Andrey Breslav
38d4ca5469
Do not generate @NotNull annotations on void- or primitive-returning methods
...
#KT-4834 Fixed
#KT-5255 Fixed
2014-06-24 15:54:11 +04:00
Alexey Sedunov
6bc3772d29
Override/Implement: Add test to cover import optimization in the case of multiple import insertion (see #KT-4732)
2014-06-23 19:32:29 +04:00
Alexander Udalov
a78b7fb31f
Don't add initializer to extension property on override/implement
2014-05-29 21:24:06 +04:00
Nikolay Krasko
3d588acd2d
Add space between 'when' and '('
2014-05-16 17:10:02 +04:00
Nikolay Krasko
45013ce8af
Fix formatting for multiline binary expressions
...
#KT-4797 Fixed
2014-05-16 17:09:50 +04:00
Alexey Sedunov
f5fb2ea0ab
Reuse intention test data in inspection tests
2014-04-08 15:34:51 +04:00
Alexey Sedunov
1bbec14cc0
Inspections: Explicit "get"
2014-03-25 16:49:43 +04:00
Alexander Udalov
f7b6457139
Replace "jet" package name with "kotlin" in testData
2014-03-02 19:55:26 +04:00
Alexander Udalov
3dcd85bdb4
Add toString() to Any, fix all tests
...
#KT-4517 Fixed
2014-03-02 19:54:49 +04:00
Alexander Udalov
b8ec50f38c
Handle fake overrides of members of Any in BuiltInsReferenceResolver
2014-03-02 19:54:48 +04:00
Nikolay Krasko
7e4bb1d467
Test that lazy resolve is able to do propagation in Kotlin-Java-Kotlin hierarchy
...
Patch by Evgeny Gerashchenko
2014-02-20 16:31:25 +04:00
Nikolay Krasko
9a8a8364dd
KT-4344 "Overridden method parameters are not annotated" warnings from Java
...
#KT-4344 Fixed
2014-02-18 14:49:34 +04:00
Alexey Sedunov
0e9875aec3
Support moving into "else" branch of conditional expression
...
#KT-3877 Fixed
2014-01-29 15:58:53 +04:00
Alexey Sedunov
609154bab3
Generalize movable element constraint
...
#KT-4468 Fixed
#KT-4376 Fixed
2014-01-29 15:58:51 +04:00
Natalia Ukhorskaya
a71e062504
Insert proper default value when overriding property of type float, double, char
2014-01-28 18:21:37 +04:00
Pavel V. Talanov
53d503e242
Formatter: support "catch on new line" and "finally on new line" options
2014-01-20 19:54:44 +04:00
Nikolay Krasko
c0187ffcd1
Always create descriptors for class object psi element in lazy resolve
...
KT-4397 Exception: @NotNull method org/jetbrains/jet/lang/resolve/lazy/ResolveSession.getClassDescriptor must not return null
#KT-4397 Fixed
2014-01-13 16:14:59 +04:00
Alexey Sedunov
e13abf2444
KT-4274 #Fixed
2013-12-17 01:41:19 +04:00
Nikolay Krasko
372106b914
KT-1043 'Implement Methods' throws a ClassCastException
...
#KT-1043 Obsolete
2013-12-16 19:39:42 +04:00
Alexey Sedunov
71a0d4cc45
KT-4018 When moving members move comments too
2013-10-15 18:44:00 +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
Pavel V. Talanov
91336a888c
Fix invalid usage of getOverriddenDescriptors in JetLineMarkerProvider
2013-10-07 20:50:37 +04:00
Alexander Udalov
fdc631d595
Increase ABI version after changes to package fragment names
2013-10-02 17:05:47 +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
Alexander Udalov
a814f6a897
Advertise CompileBinaryTestData.kt in tests with binaries
2013-09-25 16:04:17 +04:00
Alexander Udalov
da1325f5cc
Add a script to regenerate binary test data (jars)
2013-09-24 20:33:00 +04:00
Alexander Udalov
1de637c143
Regenerate compiled testData
...
Add sources and instructions to tests which had compiled jars in the testData.
PLEASE ALWAYS ADD SOURCES for tests with jars.
Delete runtime, stdlib and their sources from these jars -- PLEASE DO NOT PUT
kotlin-runtime.jar INTO TEST DATA JARS: every such jar is around 1Mb, it spoils
the repository
2013-09-24 20:32:07 +04:00
Pavel V. Talanov
a1b397ee2d
Test for invoking "Override methods" for fake override from library
2013-09-10 13:19:07 +04:00
Alexey Sedunov
d80512f68a
Fix move when multi-line elements have shared lines
2013-09-06 19:41:17 +04:00
Alexey Sedunov
b3b948ac39
Fix movement bug when expression is followed/preceded by comment at the functional literal block boundary
2013-09-06 19:41:15 +04:00
Alexey Sedunov
f700870bea
KT-3791 (Move statement moves lambda parameters out of lambda itself) Fixed
2013-09-06 19:41:14 +04:00
Andrey Breslav
fa2ea75c09
Do not add explicit visibility modifiers in Override/Implement
2013-09-05 21:59:41 +04:00
Alexey Sedunov
6e513f067f
KT-3736 Fixed: "Move Statement Down doesn't work to improperly formatted code"
2013-07-10 18:46:09 +04:00
Alexey Sedunov
3a881672e8
KT-3732 "Move statement" should respect DSLs
2013-07-09 18:33:33 +04:00
Alexey Sedunov
4a19d4f77b
Fix "Move statement" for the cases when nested closure is used (KT-3735)
2013-07-08 19:16:58 +04:00
Nikolay Krasko
21fa398380
KT-3750 When without else
...
#KT-3750 Fixed
2013-07-08 13:04:58 +04:00
Evgeny Gerashchenko
1f2676becd
Ignoring SAM adapters when checking for unimplemented methods or methods to override.
2013-06-25 20:17:45 +04:00
Alexey Sedunov
d019c23395
Implement general expresion remover
2013-06-21 19:32:14 +04:00
Alexey Sedunov
0b634cc918
Implement Unwrap/Remove for try expressions
2013-06-21 19:32:09 +04:00
Alexey Sedunov
9d46c90165
Implement Unwrap/Remove for lambdas
2013-06-21 19:32:03 +04:00