Mikhail Glukhikh
ab30275f14
Navigation: add expect declarations as supers #KT-16892 Fixed
2018-03-13 10:40:54 +03:00
Mikhail Glukhikh
849f9fc5c1
Navigation: add actual declarations as implementations (KT-16892)
2018-03-13 10:40:52 +03:00
Ilya Gorbunov
3530d9b4c7
Download org.jetbrains:markdown:0.1.25 from bintray
2018-03-13 09:50:10 +03:00
Pavel V. Talanov
32516a3f33
Refactor: split *LightClassGenerationSupport into separate files
...
Move cli binding trace implementation to top level
2018-03-12 12:05:05 +01:00
Pavel V. Talanov
f421181e16
Split LightClassGenerationSupport into separate entities
...
LightClassGenerationSupport:
Includes utilities related to generating light classes
Primary client of this service are KtLight* implementation classes
KotlinAsJavaSupport:
Provides APIs to transform kotlin code into Psi* entities
Primary client of this service is JavaElementFinder
2018-03-12 12:04:59 +01:00
Mikhail Glukhikh
2a6f1d7731
Regenerate tests
2018-03-07 19:24:56 +03:00
Mikhail Glukhikh
71a6827b1c
MPP wizard step refactoring: use UI layout DSL
2018-03-07 19:07:56 +03:00
Mikhail Glukhikh
ea4b04780c
MPP wizard fix: remove non-existing modules from settings.gradle
2018-03-07 19:07:56 +03:00
Mikhail Glukhikh
1d0c5413de
MPP wizard: add combobox selecting common module position + extra checks
...
So #KT-23097 Fixed
2018-03-07 19:07:55 +03:00
Mikhail Glukhikh
879779ec0d
MPP wizard: take default JDK from default project template
...
Related to KT-23097
2018-03-07 19:07:55 +03:00
Mikhail Glukhikh
4f2701385d
MPP wizard: set sourceCompatibility / jvmTarget for JVM module
...
Related to KT-23097
2018-03-07 19:07:55 +03:00
Alexey Sedunov
d9aa1796cd
MPP: Support multiple 'expectedBy' dependencies for single module
...
#KT-22865 Fixed
2018-03-07 18:34:03 +03:00
Toshiaki Kameyama
e3a69d118f
Disable "Add labeled return" for suspend lambdas #KT-23126 Fixed
2018-03-07 16:10:44 +03:00
Toshiaki Kameyama
5d1f5d9bca
"Remove redundant 'if'" now works correctly with labeled return
...
So #KT-23109 Fixed
2018-03-07 16:01:38 +03:00
Toshiaki Kameyama
733cb42ced
Make implicit this inspection work for lambda invocation #KT-22970 Fixed
2018-03-07 15:58:23 +03:00
Toshiaki Kameyama
a87f652591
Reformat intentions/Utils
2018-03-07 15:41:39 +03:00
Toshiaki Kameyama
dd4ceb8c0f
Move getCallableDescriptor function declaration to Utils
2018-03-07 15:41:07 +03:00
Toshiaki Kameyama
f48eacfbd4
Add inspection (INFORMATION) to convert Pair constructor into to call
...
So #KT-22933 Fixed
2018-03-07 15:40:19 +03:00
Toshiaki Kameyama
963e430b42
Make "Add annotation target" available on use-site annotation
...
So #KT-22861 Fixed
So #KT-22862 Fixed
2018-03-07 15:33:28 +03:00
Mikhail Glukhikh
442a89bc6c
ModuleDescriptor now sees internals of its expected by #KT-15739 Fixed
2018-03-07 13:58:31 +03:00
Mikhail Glukhikh
0c4c9251d6
Sort modifiers: process visibility & modality after others
...
Related to KT-22954
2018-03-07 13:57:16 +03:00
Toshiaki Kameyama
b9e7e8fca3
Sort modifiers: process final modifier correctly #KT-22954 fixed
2018-03-07 13:34:25 +03:00
Dmitry Jemerov
81adbcb7e6
Support for implicit package prefixes
...
Now, if all Kotlin files directly under a source root have the same
package statement, it's used as an implicit package prefix for that
source root. It's honored by the package name/directory name mismatch
inspection and by new file creation actions;
support in refactorings is TODO.
#KT-17306 Fixed
2018-03-07 10:31:57 +01:00
Yan Zhulanow
bceb138ed1
REPL, Refactoring: Get rid of nasty enum-like String literals
2018-03-06 22:27:49 +03:00
Alexey Sedunov
e145a64d50
Rename: Forbid rename of synthetic declaration references
...
#KT-20241 Fixed
2018-03-06 15:15:44 +03:00
Alexey Sedunov
9761e33110
Refactor: Use RefactoringErrorHintException to report errors in test mode
2018-03-06 15:15:44 +03:00
Alexey Sedunov
df4c80f43a
Shorten References: Allow import insertion when function and property have the same name
...
#KT-22745 Fixed
2018-03-06 15:15:44 +03:00
Alexey Sedunov
df4cd14161
Move: Relax private/protected visibility checks for usages in Java code
2018-03-06 15:15:43 +03:00
Alexey Sedunov
4fd221fc0c
Rename: Filter out destructuring references to parameters
...
They shouldn't be renamed in any case
#KT-15039 Fixed
2018-03-06 15:15:43 +03:00
Alexey Sedunov
85b381db7c
Rename: Identify elements with the same origin when checking import ambiguity
...
#KT-13284 Fixed
2018-03-06 15:15:43 +03:00
Alexey Sedunov
6c17bbe42c
Rename: Check redeclaration for local variables
...
Also add tests for other local declarations
#KT-13255 Fixed
2018-03-06 15:15:42 +03:00
Alexey Sedunov
4609b2ae37
Navigation: Resolve typealiased SAM-references to type alias declaration
...
#KT-15302 Fixed
2018-03-06 15:15:42 +03:00
Alexey Sedunov
5bff4b9f39
Rename: Allow deleting name of companion object
...
#KT-20178 Fixed
2018-03-06 15:15:42 +03:00
Alexey Sedunov
0e3e387446
Rename: Adapt VariableInplaceRenameHandler to Kotlin
...
#KT-16510 Fixed
2018-03-06 15:15:42 +03:00
Alexey Sedunov
7149a0855a
Rename: Use OverloadChecker for redeclaration conflict analysis
...
#KT-19561 Fixed
#KT-22812 Fixed
#KT-13907 Fixed
2018-03-06 15:15:41 +03:00
Alexey Sedunov
12d5a72697
Move: Show more accurate message when moving subclass of a sealed class
...
#KT-23065 Fixed
2018-03-06 15:15:41 +03:00
Alexey Sedunov
5f43bd56b4
Extract Function: Use 'public' visibility for function extracted from public inline
...
#KT-15228 Fixed
2018-03-06 15:15:41 +03:00
Alexey Sedunov
d690aedb89
References: Fix resolution of delegate reference for local variables
...
#KT-22229 Fixed
2018-03-06 15:15:40 +03:00
Alexey Sedunov
96de29dfcb
Create from Usage: Support accessors for local delegated properties
...
#KT-19730 Fixed
2018-03-06 15:15:40 +03:00
Mikhail Glukhikh
2eddce57ff
MPP wizard: add combo-box with JDK for JVM platform, if any
...
Related to KT-23097
2018-03-06 14:32:31 +03:00
Mikhail Glukhikh
2108634ddb
MPP wizard: add check-boxes to create JVM / JS module
...
Related to KT-23097
2018-03-06 14:32:31 +03:00
Mikhail Glukhikh
cc8a2b3123
MPP wizard: add common module at the same level with platform ones
...
Related to KT-23097
2018-03-06 14:32:31 +03:00
Mikhail Glukhikh
720c84d1d6
Fix style: KotlinGradleMultiplatformWizardStep
2018-03-06 14:32:31 +03:00
Mikhail Glukhikh
fe7b7fb0bd
Create actual fix: add empty brackets for classes in super-type lists
...
Related to KT-21082
2018-03-06 14:32:30 +03:00
Mikhail Glukhikh
ef3e0b01c4
Create actual fix: use target module instead of target platform
2018-03-06 14:32:30 +03:00
Mikhail Glukhikh
90e4413fc9
Create actual: put top-level actual declarations in the same file
...
When multiple expect declarations are in the same file,
and some of them already have actual declarations for this platform,
then "Create actual fix" put other declarations into the same file
with existing actual declarations
So #KT-17058 Fixed
So #KT-21082 Fixed
2018-03-06 14:32:30 +03:00
Mikhail Glukhikh
3ec2dac10b
Create actual fix: reformat
2018-03-06 14:32:30 +03:00
Pavel V. Talanov
fae0f611a0
Test java resolve against kotlin file with JvmPackageName annotation
2018-03-06 12:07:07 +01:00
Pavel V. Talanov
498431311c
Light classes: test "JvmPackageName" and actual declarations
2018-03-06 12:06:59 +01:00
Pavel V. Talanov
d2b90b84f8
KotlinFileStubForIde: save full facadeFqName
...
Prefix is not necessarily same as packageFqName since JvmPackageName was introduced
2018-03-06 12:05:53 +01:00