Mikhail Glukhikh
45c9be2945
Fix problem with mutable map in "simplifiable call chain"
...
So #KT-20315 Fixed
2017-10-10 22:48:35 +03:00
Mikhail Glukhikh
8e59d3e379
Handle modifiers correctly in "val to object" #KT-18919 Fixed
2017-10-10 22:48:33 +03:00
Mikhail Glukhikh
0b5b5d8e89
Suggest primitive array type for collection literals in "add type" fix
...
So #KT-18549 Fixed
2017-10-10 22:48:30 +03:00
Mikhail Glukhikh
e65112fcab
Disable "Replace camel-case name with spaces" intention for JS / common
...
So #KT-18773 Fixed
2017-10-10 22:48:28 +03:00
Denis Zharkov
cb7d561c6c
Add cache for declaration names in StubBasedPackageMemberDeclarationProvider
...
#KT-20683 Fixed
2017-10-10 18:34:31 +03:00
Denis Zharkov
1c9b454d90
Rename KotlinTypeFactory::simpleType to simpleTypeWithNonTrivialMemberScope
...
To state it must be used only for limited number of cases
2017-10-10 18:27:00 +03:00
Nikolay Krasko
eb32f5478a
Minor: use special extension
2017-10-10 16:29:22 +03:00
Nikolay Krasko
6664b7759b
Configure kotlin.stdlib for gradle projects (KT-19207)
...
#KT-19207 Fixed
2017-10-10 16:29:22 +03:00
Nikolay Krasko
023067aaf2
Allow to use folders for gradle configuration tests
2017-10-10 16:29:22 +03:00
Nikolay Krasko
cc0a9070b9
Add kotlin.stdlib to module-info when configure Maven project (KT-19207)
...
#KT-19207 In Progress
2017-10-10 16:29:22 +03:00
Nikolay Krasko
c0e6cb8b92
Log module name when maven project wasn't found in manager
2017-10-10 16:29:21 +03:00
Nikolay Krasko
f05e4c922b
Minor: use another method
2017-10-10 16:29:21 +03:00
Nikolay Krasko
65798cdd81
Minor: optimize imports and clean up
2017-10-10 16:29:21 +03:00
Nikolay Krasko
9d122a275a
Update module-info only for Java configurator (KT-19207)
...
#KT-19207 Fixed
2017-10-10 16:29:21 +03:00
Alexey Sedunov
ea8f3dcc65
Go to Implementation: Support suspend functions
2017-10-10 13:15:16 +03:00
Alexey Sedunov
21bf4d3f24
Rename: Suspend function support
2017-10-10 13:15:15 +03:00
Toshiaki Kameyama
c5b7d0f0df
Remove parentheses after deleting the last unused constructor parameter
...
So #KT-16636 Fixed
2017-10-10 11:55:27 +03:00
Mikhail Glukhikh
7ade2bb708
Move CreateActualFix to expectactual package
2017-10-10 10:45:12 +03:00
Mikhail Glukhikh
104826e0a9
Line markers: use descriptors in isExpect/ActualDeclaration
2017-10-10 10:45:10 +03:00
Mikhail Glukhikh
1bf0424b1c
Set line marker on expect constructor '(' if no constructor keyword
2017-10-10 10:44:51 +03:00
Mikhail Glukhikh
4bfaa46c15
Add correct mapping of module descriptor to implementedDescriptor
...
Now implements dependency is taken into account here
Old commonModuleOrNull() was deleted
Test (JVM + 2xCommon) was added
2017-10-10 10:44:44 +03:00
Mikhail Glukhikh
b5e2fa5f94
Add line marker test for type aliases #KT-20164 Fixed
2017-10-10 10:44:39 +03:00
Mikhail Glukhikh
eec8be2c21
Add line marker test for primary constructors #KT-20254 Fixed
2017-10-10 10:44:38 +03:00
Mikhail Glukhikh
0ebe9d576a
Add line marker test for sealed classes #KT-20043 Fixed
2017-10-10 10:44:36 +03:00
Mikhail Glukhikh
4e56fda439
Introduce isExpect/ActualDeclaration in KotlinLineMarkerProvider
...
Treat every member of expect declaration as expect declaration itself
So #KT-18455 Fixed
2017-10-10 10:44:35 +03:00
Mikhail Glukhikh
ceab148b09
Expect/actual markers: handle secondary constructors correctly
...
So #KT-20309 Fixed
2017-10-10 10:44:33 +03:00
Kirill Rakhman
91c35a6c59
Support listOfNotNull in SimplifiableCallChainInspection #KT-20410 Fixed
2017-10-09 16:38:52 +03:00
Vyacheslav Gerasimov
62d0e4a51a
Add name for GradleProjectImportProvider
...
#KT-20648 Fixed
2017-10-09 14:40:35 +03:00
Toshiaki Kameyama
0bda2732e5
Fix for KT-19134 IntelliJ Color Scheme editor - allow changing color of colons and double colons ( #1314 )
2017-10-09 11:02:02 +02:00
Ilya Chernikov
cff6d8cf17
Refactor context classpath discovery, share it to idea's jsr223 host...
...
...from script-util
fix daemon usage in repls
define compiler classpath for script-util tests explicitly
minor refactorings in the build scripts for better import into idea
2017-10-06 20:12:51 +02:00
xiexed
12e35ccf96
KotlinUastBindingContextProviderService moved to plugin.xml (#1303 )
2017-10-06 19:17:25 +02:00
Mikhail Glukhikh
e1ccd3afc5
Inspection: do not report anything with manual INFORMATION level offline
...
So #KT-20369 Fixed
So #KT-20333 Fixed
2017-10-06 16:21:04 +03:00
Toshiaki Kameyama
ec64a7e422
Insert brackets in "Convert reference to lambda" if necessary
...
So #KT-16394 Fixed
2017-10-06 16:20:45 +03:00
Dmitry Jemerov
85254838f6
Allow building UAST for in-memory virtual files
2017-10-06 14:43:22 +02:00
Toshiaki Kameyama
bbb571260b
Fix 'Redundant override' when delegated member hides super type override
...
So #KT-20231 Fixed
2017-10-06 14:58:15 +03:00
Mikhail Glukhikh
12ad1b2494
Open created actual class in editor #KT-20135 Fixed
2017-10-06 12:29:00 +03:00
Mikhail Glukhikh
8a3fed15f8
Report NO_ACTUAL_FOR_EXPECT etc. on relevant declaration
...
So #KT-20398 Fixed
2017-10-06 10:48:34 +03:00
Mikhail Glukhikh
472e6f462f
Report some actual declaration problems on declaration name
...
Related to KT-20398
2017-10-06 10:48:24 +03:00
Alexey Sedunov
3df43ccc6a
Gradle: Respect 'implement' when collecting transitive dependencies of
...
IDEA module
This covers the cases when module is transitively reachable via
sequence of "compile"/"implement" dependencies
with at least one "implement" present (cases when module is transitively
reachable via "compile" only are handled automatically)
#KT-16926 Fixed
2017-10-05 17:30:26 +03:00
Sergey Igushkin
28567570ea
Changes related to the 'expectedBy' Gradle configuration:
...
* Remove the `extendsFrom` relation;
* Refactor, reword warnings;
* Add the new expectedBy name to `KotlinGradleModelBuilder.kt`.
(cherry picked from commit de198f0)
2017-10-05 15:37:44 +03:00
Mikhail Glukhikh
aff689afba
Allow "create actual" for function even if partially-compatible exists
...
So #KT-20163 Fixed
2017-10-05 15:28:37 +03:00
Mikhail Glukhikh
e8321be380
Handle interface / abstract members correctly in "Create actual" fix
...
So #KT-20243 Fixed
2017-10-05 15:28:33 +03:00
Mikhail Glukhikh
fe786ad7f3
Set primary constructor and its properties actual in "create actual"
...
So #KT-20044 Fixed
2017-10-05 15:28:30 +03:00
Mikhail Glukhikh
d85c2dbe1f
Specify relevant declaration type in "create actual" fix #KT-20325 Fixed
2017-10-05 15:28:28 +03:00
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