Mikhail Glukhikh
93109c0d0e
Generate actual keyword for secondary constructors #KT-20008 Fixed
2017-10-05 15:28:25 +03:00
Mikhail Glukhikh
1e79d9791d
Generate actual nested classes for actual owner class #KT-19937 Fixed
2017-10-05 15:28:22 +03:00
Mikhail Glukhikh
e47feaf0b8
Add test for KT-20007
2017-10-05 15:28:21 +03:00
Toshiaki Kameyama
e92af08c98
Introduce "Assign to property" quick-fix #KT-17204 Fixed
2017-10-05 14:25:28 +03:00
Mikhail Zarechenskiy
c6a00af2f0
Fix test data after f3344ec
2017-10-05 10:21:26 +03:00
Mikhail Zarechenskiy
68a2ba4918
Fix function, expected declaration can be without expect modifier
...
For example, for nested classes of expected class
2017-10-05 00:10:45 +03:00
Mikhail Zarechenskiy
4b2fc9a325
Don't offer to remove empty primary constructor of expect class
2017-10-05 00:10:44 +03:00
Leonid Stashevsky
95d32d8d1e
Add @UnderMigration annotation and options for report level
2017-10-03 16:44:02 +03:00
Nikolay Krasko
a524bde9b7
Rename: JetRunConfiguration* -> KotlinRunConfiguration*
2017-10-03 16:18:54 +03:00
Nikolay Krasko
0bffd04ef1
Add kotlin.stdlib requirement to module-info on configure (KT-19207)
...
KotlinAddRequiredModuleFix is almost copy ofAddRequiredModuleFix from
the platform but it moves actual fix method to static with less
parameters and checks directive presence before add.
#KT-19207 Fixed
2017-10-03 16:18:53 +03:00
Nikolay Krasko
2634ed15fa
Configure sdk properly in configure Kotlin tests
2017-10-03 16:10:33 +03:00
Nikolay Krasko
0f61a0f7bd
Fix file root access failure in configure tests
2017-10-03 16:10:33 +03:00
Nikolay Krasko
3145c096a7
Refactoring: introduce Sdk.version extension
...
(cherry picked from commit d387e6e)
2017-10-03 16:10:33 +03:00
Nikolay Krasko
4cdd4c04a3
Run configurations with module path for Java 9 named modules (KT-19886)
...
#KT-19886 Fixed
(cherry picked from commit 1e12828)
2017-10-03 16:10:33 +03:00
Nikolay Krasko
166682937f
Copy mock JDK 9 from intellij idea
...
(cherry picked from commit aef9220)
2017-10-03 16:10:33 +03:00
Nikolay Krasko
8aa4b75e1c
Quick fix for module is absent in module-info requirements (KT-20108)
...
#KT-20108 Fixed
2017-10-03 16:10:32 +03:00
Simon Ogorodnik
289b0862a7
Fix MavenTestCase to use Maven mirror only when it available
2017-10-03 15:18:04 +03:00
Mikhail Glukhikh
5c4c77a80a
Determine enclosing element correctly inside base constructor
...
So #KT-17680 Fixed
So #KT-18740 Fixed
So EA-76201 Fixed
2017-10-03 11:05:21 +03:00
Nicolay Mitropolsky
b839081349
Support for collections literals in LightAnnotations (KT-20543)
2017-10-02 18:44:23 +03:00
Alexey Sedunov
b288406e3c
Multiplatform: Fix dependencies of implementing module descriptors cache
...
This fixes some failing tests
2017-10-02 18:14:05 +03:00
Alexey Sedunov
67798d73a1
Minor: Fix multi-module test data
...
This is required since "implements" dependency is now specified
explicitly in the Kotlin facet configuration
2017-10-02 18:14:04 +03:00
Alexey Sedunov
ea99a2b537
Kotlin Facet: Fix deserialization of "implements" dependency
2017-10-02 18:14:04 +03:00
Alexey Sedunov
9afd2d367b
Minor: Fix ReferenceResolveTestGenerated test data
2017-10-02 18:14:04 +03:00
Alexey Sedunov
aabe23d410
Minor: Fix coroutine package name in quick fix tests
2017-10-02 18:14:04 +03:00
Toshiaki Kameyama
2121322665
Fix useless "Remove curly braces" before Chinese character
...
So #KT-20409 Fixed
2017-10-02 17:46:07 +03:00
Mikhail Glukhikh
912ddfcb2b
Build name correctly in ShadowedDeclarationsFilter
...
So #KT-16383 Fixed
Also should fix EA-104812, EA-99338, EA-107064
2017-10-02 17:41:24 +03:00
Mikhail Glukhikh
9aa25f8af8
Code cleanup: shadowed declarations filter
2017-10-02 17:41:24 +03:00
Alexey Sedunov
be21a84778
Configuration: Fix modification checking in compiler settings UI
...
#KT-18996 Fixed
2017-09-29 14:37:04 +03:00
Alexey Sedunov
b4847e69e8
Minor: Fix test data
2017-09-29 14:37:04 +03:00
Alexey Sedunov
f63e33b23d
Modules: Support production-on-test dependency
...
This feature is supported in IDEA project configuration
and can be used in Maven/Gradle-based projects
#KT-20112 Fixed
2017-09-29 14:37:04 +03:00
Mikhail Glukhikh
5c5776a6b5
Use resolveToDescriptorIfAny in IDELightClassGenerationSupport
2017-09-28 18:43:38 +03:00
Denis Zharkov
5b7c766a54
Use Jsr305State.DEFAULT instead of IGNORE as a default value
2017-09-28 15:38:27 +03:00
Denis Zharkov
dd2630e5c6
Fix loading additional compiler arguments from facets for libraries
2017-09-28 15:38:11 +03:00
Mikhail Glukhikh
43f1dbeabf
Introduce cached ModuleDescriptor.implementingDescriptors
...
This property is used instead of findImplementingDescriptors,
which is basically too slow
2017-09-28 15:15:03 +03:00
Mikhail Glukhikh
fa23471397
Add test for KT-19222 to fix behaviour
...
Issue was fixed together with KT-17374
So #KT-19222 Fixed
2017-09-28 15:15:02 +03:00
Mikhail Glukhikh
5687fe6e39
Introduce ModuleDescriptor.findImplementingDescriptor() via facets
...
This function is now used instead of allImplementingCompatibleModules,
thus allowing it to be deleted together with allImplementingModules
So #KT-17369 Fixed
So #KT-17374 Fixed
May fix also some other MPP issues
2017-09-28 15:15:02 +03:00
Mikhail Glukhikh
c9f11e4bc2
Add implements common dependency for regular multiplatform tests
2017-09-28 15:15:02 +03:00
Mikhail Glukhikh
848a80a266
Add test (with incorrect work yet) for KT-17374
2017-09-28 15:15:01 +03:00
Mikhail Glukhikh
390de737e7
Fix messages in some multi platform highlighting tests
2017-09-28 15:15:01 +03:00
Mikhail Glukhikh
5edeb359c8
Split multi module and multi platform highlighting tests
...
Now both of them can execute without problems
2017-09-28 15:15:01 +03:00
Denis Zharkov
12b348ae48
Fix incorrectly configured IDE tests
...
The important changes are in ideaTestUtils.kt:
`configureByFiles` must be called on the relative to testData dir path,
otherwise java files in the project belong to src/idea/testData/.../A.java
instead of src/A.java and can't be found in the root package
New updates in resolution when resolving A() call is now asking whether
<root>.A exists in PsiPackage::getClasses instead of
PsiPackage::findClassByShortName that can find a class even if it's located
in the wrong directory
2017-09-28 14:01:30 +03:00
Denis Zharkov
69f3b01e98
Introduce ImportingScope::computeImportedNames
2017-09-28 14:01:30 +03:00
Denis Zharkov
cd3edfc5b2
Introduce MemberScope::classifierNames and some implementations
...
It aims to help with further optimizations
2017-09-28 14:01:30 +03:00
Denis Zharkov
1b255b4ed0
Implement LazyPackageMemberScope::getFunctions/VariableNames
...
It's necessary for future optimizations
Although current implementation is rather conservative,
it should be enough for current needs
2017-09-28 14:01:30 +03:00
Mikhail Glukhikh
7b5842a088
Fix inspection test
2017-09-28 14:00:56 +03:00
Dmitry Jemerov
16a97a8917
Mark multiplatform projects as experimental in the UI
2017-09-27 17:18:12 +02:00
Dmitry Jemerov
c290212901
Allow to suppress "Kotlin not configured" notification per-module
2017-09-26 14:52:10 +02:00
Dmitry Jemerov
572ec19c55
SuppressNotificationState: J2K
2017-09-26 14:46:40 +02:00
Dmitry Jemerov
e02d121438
SuppressNotificationState: rename to .kt
2017-09-26 14:46:40 +02:00
Dmitry Jemerov
09f826b68d
Enable UI Designer instrumentation in Gradle build
2017-09-26 14:43:01 +02:00