Natalia Selezneva
47a4500eaa
Show notification that script dependencies are not ready yet
2019-03-06 15:42:49 +03:00
Natalia Selezneva
1d56f44093
Show progress for loading script dependencies even show notification is true when there are more than 3 scripts in queue
...
We are trying to update script dependencies silently when 'Reload script dependencies on file change' is off,
but in case when the queue for update is too long we need to make process visible to user and make it cancelable.
2019-03-06 15:42:49 +03:00
Natalia Selezneva
8331d9789e
Fire one 'roots changed' event after all scripts dependencies loaded
...
^KT-29474
2019-03-06 15:42:49 +03:00
Natalia Selezneva
6bc6dea916
Check project.isDisposed before attaching script reports
2019-03-06 15:42:48 +03:00
Natalia Selezneva
c2dd365158
Do not search for text occurrences if this option is switched off
2019-03-06 15:40:59 +03:00
Natalia Selezneva
4a0574dc5f
Scratch can be modified during execution (KT-30200)
...
^KT-30200 Fixed
2019-03-06 15:40:46 +03:00
Natalia Selezneva
0dbbd8e08c
Introduce ScratchPanelListener to set module in the created panel (KT-30049)
...
^KT-30049 Fixed
2019-03-06 15:40:30 +03:00
Toshiaki Kameyama
6b35c06d50
Add intention to replace '!isNotEmpty()' to 'isEmpty()'
...
#KT-30123 Fixed
2019-03-06 11:06:40 +03:00
Yan Zhulanow
3315c1c35b
Debugger: Call invokeMethod() safely, through the execution context (KT-30268, EA-131589)
2019-03-06 03:30:56 +03:00
Yan Zhulanow
9d176917e6
Fix EA-138393: Calculate async stack traces only on breakpoints
2019-03-06 03:30:55 +03:00
Yan Zhulanow
bab1c63126
Fix EA-135863: Access allLineLocations() safely
2019-03-06 03:30:54 +03:00
Yan Zhulanow
b54f9a0c05
Fix EA-105847, use 'location()' safely
2019-03-06 03:30:54 +03:00
Mikhael Bogdanov
20da778046
Add default values to KotlinTypeMapper constructor, remove them from call sites
...
~
2019-03-05 20:34:25 +01:00
Mikhael Bogdanov
cc0c3b1592
Specify default value for irBackend
2019-03-05 20:33:35 +01:00
Mikhael Bogdanov
315df81397
Convert KotlinTypeMapper to Kotlin
2019-03-05 20:33:33 +01:00
Denis Zharkov
2dbe96c853
Extract ConeClassifierLookupTag (aka SearchSymbol)
...
So, for classifiers there are both Symbols and LookupTags
The difference between them is that the former are assumed to have
a reference to the actual FirDeclaration while LookupTags
effectively contain only classId and
something informative may only be obtained by FirSession
#KT-24075 Fixed
2019-03-05 18:23:17 +03:00
Toshiaki Kameyama
6b5ba272a0
Import members from: suggest on type reference
...
#KT-29927 Fixed
2019-03-05 18:19:33 +03:00
Anton Yalyshev
52f297c644
renewed pictures of our wizards in TipOfTheDay #KT-28941 Fixed
2019-03-05 11:40:19 +03:00
Anton Yalyshev
8a3659008e
unified naming of Kotlin projects #KT-17829 Fixed
2019-03-05 11:40:19 +03:00
Anton Yalyshev
415793be1c
better look for wizards names and descriptions: removed word dups and specified build system #KT-27183 Fixed
2019-03-05 11:40:19 +03:00
Mikhail Glukhikh
14a6f684dc
Reformat "make constructor parameter a property" quick-fix
2019-03-04 17:57:52 +03:00
Mikhail Glukhikh
9e2ee6183c
Fix "make constructor parameter a property" for vararg case
...
Same should work for annotated parameters
#KT-29312 Fixed
2019-03-04 17:57:52 +03:00
Mikhail Glukhikh
c714e599ea
Don't report "Unsafe call with ? extension receiver" with smart-cast
...
#KT-29499 Fixed
2019-03-04 17:57:52 +03:00
Mikhail Glukhikh
4d19120d84
Don't report "main parameter not necessary" in objects #KT-29414 Fixed
2019-03-04 17:57:52 +03:00
Mikhail Glukhikh
022c625d2d
MPP web builder: upgrade Ktor version to 1.1.3 #KT-29918 Fixed
2019-03-04 17:57:52 +03:00
Simon Ogorodnik
4882627712
Make type-system KotlinType-independent
...
- Port NewKotlinTypeChecker.equalTypes
- Decouple new-type transform from isSubtypeOf
- Port isSubtypeForSameConstructor
- Port checkSubtypeForSpecialCases
- Port isSubTypeOf without internals
- Port anySupertype
- Port isSubtypeForSameConstructor, findCorrespondingSupertypes
- Port isSubtypeOfForSingleClassifierType
- Port NullabilityChecker
- Reorder checks for performance
2019-03-04 17:27:45 +03:00
Natalia Selezneva
fe278ea0a0
Add test for build.gradle.kts highlighting
2019-03-04 16:13:23 +03:00
Toshiaki Kameyama
1b7627e039
Surround with null check: suggested for an assignment
...
#KT-30215 Fixed
2019-03-04 15:11:57 +03:00
Toshiaki Kameyama
2314a38342
Reformat SurroundWithNullCheckFix
2019-03-04 15:11:57 +03:00
Dmitry Gridin
dce2139eb0
Fix KNPE from "Create" quick fix
...
#KT-27289 Fixed
2019-03-04 13:01:18 +03:00
Dmitry Gridin
78bee70946
Refactoring
2019-03-04 13:01:18 +03:00
Nikolay Krasko
b458e187af
Extract ITNReporter.submit() compatibility problem to separate file
2019-03-04 12:14:23 +03:00
Nikolay Krasko
a5434d7d9e
Add internal action for reporting exceptions from Kotlin plugin
2019-03-04 12:14:23 +03:00
Nikolay Krasko
6504cb285b
Add internal action for continuous enabling and disable dumb mode
2019-03-04 12:14:22 +03:00
Nikolay Krasko
27ba9b5481
Fix Goto tests by invoking action directly instead of using handler
...
Problem introduced in
https://github.com/JetBrains/intellij-community/commit/1f7f3d9fdc2bf849be9a73cd8be4d6a83641ca7a
Implementation CodeInsightActionHandler was returned for GotoDeclarationAction later.
2019-03-04 12:14:22 +03:00
Dmitry Gridin
5927032143
Fix "Introduce import alias" on extensions
...
#KT-30214 Fixed
2019-03-04 10:15:52 +03:00
Pavel V. Talanov
853e9a2aa0
Prevent calls to onFirstRun default implementation for gradle rc
...
This is temporary until we get compatible API from IDEA
to support gradle run configurations for MPP projects in IDEA 191+
2019-03-04 02:52:41 +01:00
Andrey Uskov
25dc81c2bd
Fix memory leak in gradle import
...
#KT-30076 Fixed
2019-03-03 20:28:04 +03:00
Andrey Uskov
3919898d19
Minor. Reformat code in multiplatform project importer
2019-03-03 20:27:12 +03:00
Ilya Chernikov
e99715cf82
Extract extra imports provision into an extension, implement one ...
...
for script in the plugin, drop direct dependency on scripts from
FileScopeFactory
2019-03-02 08:10:17 +01:00
Ilya Chernikov
336f43dbf2
Reorganize files and folders in the scripting plugin
2019-03-02 08:10:16 +01:00
Ilya Chernikov
adb4d264ec
Move script definition extraction functions to the plugin
...
plus finish refactoring of these functions
2019-03-02 08:10:16 +01:00
Dmitry Gridin
2a940f5b0a
Fix KT-26965
2019-03-01 17:43:56 +03:00
Dereck Bridie
4156a76129
#KT-26965 Add inspection + quickfix for replacing Collection<T>.count() with .size
2019-03-01 16:58:36 +03:00
Toshiaki Kameyama
240ff08069
Specify type: escape with backticks if need
...
#KT-29677 Fixed
2019-03-01 16:43:02 +03:00
Toshiaki Kameyama
1a818970c3
Add inspection to replace Java Map.forEach with Kotlin's forEach
...
#KT-17278 Fixed
2019-03-01 16:15:23 +03:00
Andrey Uskov
735f86a50e
Fix creation of KotlinSDK. GradleFacetImportTest fixed
2019-03-01 13:12:43 +03:00
Andrey Uskov
325ed8eb32
Change class hierarchy of KotlinSourceRootType. Deadlock during concurrent classloading fixed
...
#KT-30137 Fixed
2019-03-01 13:12:16 +03:00
Toshiaki Kameyama
87dc1a035b
Convert property initializer to getter: suggest on property name
...
#KT-29344 Fixed
2019-03-01 11:37:42 +03:00
Toshiaki Kameyama
20aa8ebdb0
Add "Throwable not thrown" Inspection
...
#KT-11629 Fixed
2019-03-01 11:35:12 +03:00