Alexey Sedunov
77b637e238
Change Signature: Skip Java methods which can't be resolved from Kotlin (such as methods of local classes)
...
#KT-10432 Fixed
2016-01-22 15:50:17 +03:00
Alexey Sedunov
0104bfec86
Add val/var to Constructor Parameter: Fix caret position before starting template
2016-01-22 15:50:16 +03:00
Alexey Sedunov
8da986ff24
Add Initializer Quick-Fix: Place caret at the end of generated initializer
...
#KT-10704 Fixed
2016-01-22 15:50:15 +03:00
Alexey Sedunov
9081f5df52
Introduce Variable: Move caret to the end of declaration when replacing "statement" expression
...
#KT-10663 Fixed
2016-01-22 15:50:14 +03:00
Dmitry Petrov
a33c840939
Fix Kotlin build after fixing when-related type checking issues.
...
Filed: KT-10752, KT-10755.
2016-01-22 10:41:55 +03:00
Ilya Gorbunov
4d5ec9be3f
Drop identityEquals from builtins, compiler and tests.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
eefbd72a64
Remove AddStarProjectionsFix for removed javaClass<T> function.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
9fbbc9db98
Packages: move Ranges, Progression, ProgressionIterators to kotlin.ranges and PrimitiveIterators to kotlin.collections.
2016-01-22 05:54:38 +03:00
Pavel V. Talanov
1fe749c114
Refactor: get rid of LightClassUtil#getPsiClass() in favor of KtClassOrObject:toLightClass extension
2016-01-21 20:47:22 +03:00
Valentin Kipyatkov
84e530bc1a
KT-6079 Show "parameter information" popup for type arguments
...
#KT-6079 Fixed
2016-01-21 19:07:39 +03:00
Dmitry Jemerov
84d507b770
code review
2016-01-21 15:30:13 +01:00
Dmitry Jemerov
4910b06f2c
show "kotlin not configured" editor notification
2016-01-21 15:30:11 +01:00
Dmitry Jemerov
170ba98b20
show unsupported ABI notification only when current module or its dependencies have libraries with bad ABI
2016-01-21 15:30:11 +01:00
Dmitry Jemerov
6f80f36f2e
UnsupportedAbiVersionNotificationPanelProvider: fix compilation and cleanup after J2K
2016-01-21 15:30:10 +01:00
Dmitry Jemerov
b1c5d3644e
UnsupportedAbiVersionNotificationPanelProvider: J2K
2016-01-21 15:30:10 +01:00
Dmitry Jemerov
e20fdac9df
UnsupportedAbiVersionNotificationPanelProvider: rename to .kt
2016-01-21 15:30:09 +01:00
Dmitry Jemerov
2379fd80fc
don't show "kotlin not configured" notification for modules where the runtime is outdated
2016-01-21 15:30:08 +01:00
Dmitry Jemerov
85ea295e92
OutdatedKotlinRuntimeNotification: J2K and cleanup
2016-01-21 15:30:08 +01:00
Dmitry Jemerov
ca9979f9fb
OutdatedKotlinRuntimeNotification.java: rename to .kt
2016-01-21 15:30:07 +01:00
Dmitry Jemerov
2272516d09
KotlinRuntimeLibraryUtil: J2K
2016-01-21 15:30:07 +01:00
Dmitry Jemerov
f588ef2912
KotlinRuntimeLibraryUtil: rename to .kt
2016-01-21 15:30:06 +01:00
Dmitry Jemerov
6c2a2b91b4
offer "All modules" choice in "Configure Kotlin in project" dialog, allow to invoke the action when there are no Kotlin files in the project
...
#KT-7979 Fixed
2016-01-21 15:30:05 +01:00
Dmitry Jemerov
4ffac80710
ConfigureKotlinInProjectUtils: convert to Kotlin, cleanup
2016-01-21 15:30:05 +01:00
Dmitry Jemerov
cff06cccf7
ConfigureKotlinInProjectUtils.kt: rename
2016-01-21 15:30:04 +01:00
Dmitry Jemerov
3b4a6afe01
Kotlin-produced test run configurations replace Java-produced ones (to avoid duplicate run configuration suggestions appearing since KtFile.getClasses() was implemented)
2016-01-21 14:46:26 +01:00
Alexander Udalov
8fe964f269
Resolve array access RHS always as the last argument of the call
...
Also do not attempt to match any of the arguments in the brackets with the last
parameter of the 'set' method
#KT-10633 Fixed
2016-01-21 00:36:35 +03:00
Dmitry Jemerov
f88f38f7d2
Android Studio adds Android-Gradle facet to all modules, so we need to check for Android facet and Gradle module instead
...
#KT-9600 Fixed
2016-01-20 14:32:10 +01:00
Valentin Kipyatkov
59fb90a5ee
Dropped KtTypedef
2016-01-19 19:31:44 +03:00
Alexander Udalov
d4c4515944
Refactor BinaryVersion and subclasses, get rid of static factories
2016-01-19 18:39:59 +03:00
Alexander Udalov
b587d3a78d
Use JvmMetadataVersion where appropriate instead of bytecode version
2016-01-19 18:39:59 +03:00
Alexander Udalov
9552accaec
Introduce BinaryVersion.isCompatible()
...
To decrease the chance to mix up the receiver and the first argument when
checking version compatibility
2016-01-19 18:39:59 +03:00
Alexander Udalov
2f64680b63
Add several subclasses of BinaryVersion
...
To simplify comparison of expected vs actual versions in the future
2016-01-19 18:39:59 +03:00
Valentin Kipyatkov
a1d760fc36
KT-10631 Consider creating a synthetic property even when the setter returns 'this'
...
#KT-10631 Fixed
2016-01-19 15:57:20 +03:00
Nikolay Krasko
adbf098166
Store information is file was compiled with Kotlin in attributes (KT-10312)
...
- Add boolean attribute for all binary files in the project
- Stop using JarUserDataManager for full file indexing
- Store full header of files compiled with Kotlin in file UserData
2016-01-19 13:33:51 +03:00
Dmitry Jemerov
f85c4dd458
cleanup KotlinProjectViewProvider
2016-01-19 11:04:10 +01:00
Dmitry Jemerov
f1b5e72b99
always add mavenCentral() as buildscript repository dependency (KT-10342)
...
#KT-10342 Fixed
2016-01-18 20:09:30 +01:00
Dmitry Jemerov
60ca1cbcf3
don't represent Kotlin project view nodes as light classes (KT-10703)
2016-01-18 19:07:51 +01:00
Dmitry Jemerov
8cca34a00e
KotlinProjectViewProvider: J2K
2016-01-18 19:00:56 +01:00
Dmitry Jemerov
f4d4ab691b
KotlinProjectViewProvider: rename to .kt
2016-01-18 18:58:52 +01:00
Valentin Kipyatkov
4c62304a1d
KT-10337 Object marked as unused
...
#KT-10337 Fixed
2016-01-18 17:40:04 +03:00
Valentin Kipyatkov
4c2a14ff43
KT-9834 Optimizing imports with named import (kinda like static import)
...
#KT-9834 Fixed
2016-01-18 17:40:03 +03:00
Valentin Kipyatkov
bec16efbd7
Add/remove argument name intentions to work for super class constructor call
2016-01-18 17:40:03 +03:00
Valentin Kipyatkov
c44340a351
Corrections on code review
2016-01-18 15:34:20 +03:00
Valentin Kipyatkov
65f5dd1dd5
Got rid of special methods "applyTo" without editor parameter in intentions
2016-01-18 15:34:20 +03:00
Valentin Kipyatkov
552359ce03
KT-7443 Inspection + intention to replace assert (x != null) with "!!" or elvis
...
#KT-7443 Fixed
2016-01-18 15:34:20 +03:00
Ilya Gorbunov
92c2d17910
Cleanup leftovers in compiler and IDE
2016-01-17 15:52:11 +03:00
Stanislav Erokhin
133155f4cc
Minor. Temporary import forEach as forEachStdLib to avoid problem with introducing HidesMembers annotation
2016-01-16 11:30:38 +03:00
Dmitry Jemerov
0c995d0ae1
Merge pull request #808 from mcgee/KT-10196
...
KT-10196: Suggest to replace 'substring' calls by take/drop/dropLast calls when possible
2016-01-15 19:52:35 +01:00
Dmitry Jemerov
63dd0fc4ae
streamlined plugin update logic
2016-01-15 19:18:26 +01:00
Dmitry Jemerov
765d58b8eb
plugin autoupdate fixed: always provide plugin descriptor with new version number to plugin downloader
2016-01-15 19:18:26 +01:00