Toshiaki Kameyama
e8aa14a283
Method sepatators: show separator between companion object and function
...
#KT-24352 Fixed
2020-06-24 10:05:27 +02:00
Gia Thuan Lam
83b52bb109
Enable Input Redirection for KotlinRunConfiguration
...
#KT-28854 Fixed
(cherry picked from commit 6e55010767b1c1a7c8d23d337bdbd5824dfa2906)
2020-06-23 21:04:09 +02:00
Dmitry Gridin
b657d60bd6
Suggest Create Class before Create File
...
#KT-37528 Fixed
2020-06-23 13:29:09 +00:00
Natalia Selezneva
bcd3921bae
Fix freeze during loading script configurations through legacy scripting API
...
Do not wrap the whole configuration loading process into readAction
^KT-39771 Fixed
2020-06-23 16:04:24 +03:00
Dmitry Gridin
abfc74c8b2
Add regression test
...
#KT-30131 Fixed
2020-06-23 18:05:17 +07:00
Dmitry Gridin
99f958c8c4
Inline refactoring: should remove redundant Unit
...
#KT-19443 Fixed
2020-06-23 10:25:54 +00:00
Dmitry Gridin
af24ce5e03
RedundantUnitExpressionInspection: support lambdas
...
#KT-39772 Fixed
2020-06-23 10:25:53 +00:00
Dmitry Gridin
4ac7dc0744
RedundantUnitExpressionInspection: make isRedundantUnit public
2020-06-23 10:25:53 +00:00
Dmitry Gridin
360a5bf348
Inline refactoring: improve resolve
...
#KT-39705 Fixed
#KT-19459 Fixed
2020-06-23 10:25:52 +00:00
Dmitry Gridin
5ad94daaa5
ImportOptimizer: cleanup code
...
#KT-31331
2020-06-23 09:48:07 +00:00
Dmitry Gridin
2610dedcbd
KotlinUnusedImportInspection: support unresolved references
...
#KT-31331 Fixed
2020-06-23 09:48:07 +00:00
Dmitry Gridin
10c62b8d77
ImportOptimizer: add cases for unresolved references
...
Part of #KT-31331
2020-06-23 09:48:06 +00:00
Dmitry Gridin
4de582564c
ImportOptimizer: basic support for removing unresolved imports
...
#KT-32409 Fixed
Part of #KT-31331
2020-06-23 09:48:05 +00:00
Dmitry Gridin
8faced9192
KotlinImportOptimizer: replace LinkedHashMap with HashMap and BodyResolveMode.FULL with BodyResolveMode.PARTIAL
2020-06-23 09:48:05 +00:00
Dmitry Gridin
383fa2d111
ImportOptimizer: cleanup code
2020-06-23 09:48:04 +00:00
Dmitry Gridin
9313073971
LineIndentProvider: temporarily disable before elvis operator
...
#KT-39716 Fixed
2020-06-23 15:17:47 +07:00
Igor Yakovlev
b21cabe671
Separate decompiled declarations light representations from LightClasses
...
Fixed #KT-39457
2020-06-22 21:17:12 +03:00
Vladimir Ilmov
40ec794c66
(UltraLightClasses) fast-path for Deprecated.HIDDEN annotation
2020-06-22 15:58:25 +02:00
Ilya Goncharov
b8aff0660c
Refactor aligning for css support
...
#KT-39770 fixed
2020-06-22 16:44:59 +03:00
Ilya Goncharov
c9c20bb34c
Add enabling css into wizard
...
#KT-39770 fixed
2020-06-22 16:44:59 +03:00
Andrei Klunnyi
558dfc6d9a
KT-36801 IDE: Unsupported language version values
2020-06-22 13:01:42 +00:00
Vladimir Ilmov
230f2f5ce0
(CoroutineDebugger) fix for debugger agent for 1.3.6 version and up
2020-06-19 18:58:46 +02:00
Yaroslav Chernyshev
c638043aee
[Gradle, CocoaPods] Improved CocoaPods Integration features with tests
2020-06-19 18:36:46 +03:00
Pavel Kirpichenkov
1ebb116056
Revert "Invalidate library caches on OOCBM with enabled resolution anchors"
...
This reverts commit 91b371789e .
^KT-39734 Open
2020-06-19 17:18:45 +03:00
Sergey Rostov
6e9efefd2a
gradle scripts: fix isFirstLoadActual and notification typos
2020-06-19 17:04:01 +03:00
Sergey Rostov
9f4569e5a1
gradle scripts: custom notification wording gradle with default scripting support (gradle older then 6.0)
2020-06-19 16:37:59 +03:00
Sergey Rostov
37fbc75008
gradle scripts: "link project" action implementation
2020-06-19 16:37:21 +03:00
Sergey Rostov
d6fc830c24
gradle scripts: temporary disable irrelevant actions when script configuration was not received during import
2020-06-19 16:37:21 +03:00
Ilya Chernikov
16100843b2
Add classpaths from all plugin classloaders to the console scripts
2020-06-19 14:56:00 +02:00
Ilya Chernikov
b5ecab31f5
Load script configuration under read action - avoid possible exception
2020-06-19 14:56:00 +02:00
Natalia Selezneva
44f6a5adcd
Filter only valid roots in KotlinScriptDependenciesClassFinder
...
ClassFinder should return only valid roots,
but in allScriptsDependenciesClassFiles may contain old roots
because they are persistently saved in the storage.
This may cause exception after IDE restart
2020-06-19 15:43:07 +03:00
Natalia Selezneva
d119298232
Add registry key to hide new Load Script Configurations action
2020-06-19 15:43:07 +03:00
Natalia Selezneva
b43014a097
Do not start gradle import if it is already in progress
2020-06-19 15:43:07 +03:00
Natalia Selezneva
66e23c9767
Floating notification shouldn't be shown during import
...
It depends on up to date check that is correct only after all caches are updated after import
2020-06-19 15:43:06 +03:00
Dmitry Savvinov
5b48845dfa
Check for native-shared source-sets properly during facet import
...
Otherwise they are detected as common source-sets, thus getting
K2MetadataCompilerArguments (instead of FakeK2NativeCompilerArguments),
and the 'applyCompilerArgumentsToFacets' will fail due to check on
javaClass equality
^KT-39657 Fixed
2020-06-19 12:15:50 +03:00
Ilya Kirillov
11a680d7d8
Wizard: group project templates into the categories on the first step
...
#KT-39700 fixed
2020-06-19 09:29:41 +03:00
Ilya Kirillov
bfedeed2c1
Wizard: use new icons in UI
2020-06-19 09:29:40 +03:00
Ilya Kirillov
7df0dd5032
Wizard: fix ui constants
2020-06-19 09:29:39 +03:00
Toshiaki Kameyama
ba5e643cb2
Redundant qualifier name: fix false positive with same name variable
...
#KT-39200 Fixed
2020-06-19 12:08:36 +07:00
Vladimir Ilmov
b100fd526f
(CoroutineDebugger)(Test) local variable removed from generated code
2020-06-19 00:32:19 +02:00
Ilmir Usmanov
542f1b8709
Minor. Update tests
2020-06-18 17:53:47 +02:00
Pavel Kirpichenkov
91b371789e
Invalidate library caches on OOCBM with enabled resolution anchors
...
Without forced clean stale references to declarations from source-dependent libraries
can be accessed after invalidation, i.e. resolved references can point to incorrect PSI.
TBD: more granular invalidation.
KT-24309
2020-06-18 18:27:28 +03:00
Natalia Selezneva
bf1ad44af9
Run partial import only for specified build root
2020-06-18 17:14:47 +03:00
Natalia Selezneva
5fe47ffbec
Workaround for bug in GradleInstallationManager.resolveGradleVersion()
...
Wrong gradle version when wrapper is used
fixed in 201
2020-06-18 17:14:47 +03:00
Natalia Selezneva
7a47994498
Get gradle version and gradle home from corresponding BuildModel after import
...
GradleProjectSettings that were used, are updated after KotlinDslListener is called,
so it isn't correct to check if kotlinDslModels are supported using it.
Also GradleScriptDefinitionsContributor should use gradle home from BuildModel, not from settings for the same reasons.
^KT-39104 Fixed
2020-06-18 17:14:46 +03:00
Yan Zhulanow
8b5f2f9474
Fix duplicate stepping filter adding on plugin start-up (KT-38628)
...
Review KT-CR-1301.
2020-06-18 22:32:34 +09:00
Pavel Kirpichenkov
470fef94fb
Use bound resolution facade in DeprecationResolver usages
...
Resolution facade should be used consistently with direct usages of frontend components.
Otherwise they can start processing descriptors from foreign resolvers which leads to memory leaks.
Plain resolution API with provided facade is not suitable as-is for compiled declarations in KotlinIndicesHelper though.
Resolution facade for module sources contained in helper can't handle decompiled
sources from PSI indices (leads to "ModuleInfo not contained in resolver" errors).
That's why "hacked" resolve via import references should be used there.
#KT-39642 Fixed
2020-06-18 14:24:17 +03:00
Vladimir Ilmov
62dcfcde79
(CoroutineDebugger) -core jar has precedence over -debug
...
#KT-39412 fixed
#KT-39648 fixed
2020-06-17 23:48:09 +02:00
Vladimir Ilmov
db127bb414
(CoroutineDebugger) fails to start in gradle mode
...
#KT-39634 fixed
2020-06-17 15:35:10 +02:00
Sergey Rostov
3d86e92bf5
gradle.kts standalone scripts: show actions inside single notification
2020-06-17 14:30:18 +03:00