Sergey Rostov
7de0bc9cdc
ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock
2020-05-07 21:48:49 +03:00
Sergey Rostov
bc0255890d
ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync
2020-05-07 21:48:49 +03:00
Sergey Rostov
c79858e965
ScriptClassRootsUpdater: run synchronously in unit test mode
2020-05-07 21:48:48 +03:00
Sergey Rostov
d8692a78ba
UnusedSymbolInspection: load script configurations from cache
2020-05-07 21:48:48 +03:00
Sergey Rostov
39c6efd40f
.gradle.kts, listener: support multiple gradle projects linked to one IntelliJ project
...
GradleScriptInputsWatcher moved to GradleScriptListener.kt and GradleBuildRootsManager.kt
2020-05-07 21:48:47 +03:00
Sergey Rostov
02940f9f17
gradle.kts: docs
2020-05-07 21:48:47 +03:00
Sergey Rostov
0e7cf60b04
ScriptConfigurationManager: take OutsidersPsiFileSupport into account
2020-05-07 21:48:47 +03:00
Sergey Rostov
316c7ce60f
Scripts, minor: get rid of ScriptingSupportHelper
2020-05-07 21:48:47 +03:00
Sergey Rostov
b7e1cd7489
gradle.kts: solve the linked gradle builds hell
2020-05-07 21:48:47 +03:00
Sergey Rostov
7942b4a0d2
ScriptConfigurationManager, outsider files: search in roots cache too
2020-05-07 21:48:46 +03:00
Sergey Rostov
eb672c02fa
ScriptConfigurationManager: rebuild cache synchronously from default loader
2020-05-07 21:48:46 +03:00
Sergey Rostov
e6528a26e9
gradle.kts: cache definitions
2020-05-07 21:48:46 +03:00
Sergey Rostov
6ad0ed7f40
CompositeScriptConfigurationManager: unified caching
2020-05-07 21:48:46 +03:00
Dmitry Gridin
f50e289033
fix psi tree in moveFunctionLiteralOutsideParentheses
2020-05-07 12:36:46 +00:00
Dmitry Gridin
b058dc12df
packageUtils: cleanup code
2020-05-04 03:49:30 +00:00
Anton Yalyshev
658c30b6b3
Combine usage of kotlin.ide.settings FUS collector
...
#KT-38620 Fixed
2020-04-30 01:06:03 +03:00
Natalia Selezneva
8e93ac0df7
Merge pull request #3331 from gharrma/fix-script-change-listener
...
Move vFile.isValid() check inside read action
2020-04-27 17:59:13 +03:00
Vladimir Dolzhenko
f4b6e1bff6
Reworked deprecated fileTypeFactory EP usage
...
Relates to #KT-38571
2020-04-27 14:08:17 +00:00
Matthew Gharrity
e0ca94279a
Move vFile.isValid() check inside read action
...
Fixes KT-38541
2020-04-23 19:30:02 -04:00
Natalia Selezneva
85141b753b
Show notification that gradle project is needed to be imported to get code insight for kotlin scripts
2020-04-23 20:14:01 +03:00
Natalia Selezneva
69d86a2972
Fix getting default sdk for scripts after refactoring
2020-04-23 20:14:01 +03:00
Sergey Rostov
73760effee
Refactor GradleScriptingSupport to support multiple gradle projects linked to one idea project
...
For each externalGradleProject separate GradleScriptingSupport is created.
This allows to save script configurations by gradle projects
^KT-37806 Obsolete
^KT-35151 Fixed
2020-04-23 20:14:01 +03:00
Natalia Selezneva
34df3066b3
Fix messages for script configuration loading
...
Remove word "dependencies" from UI, use "configuration" instead
2020-04-23 20:14:01 +03:00
Natalia Selezneva
3904e0f97c
Fix indexing for force load configuration action
2020-04-23 20:14:00 +03:00
Natalia Selezneva
b472e915e6
Minor: rename files
2020-04-23 20:14:00 +03:00
Natalia Selezneva
217696fad5
Minor: rename class
2020-04-23 20:14:00 +03:00
Natalia Selezneva
3008010d73
Minor: extract class
2020-04-23 20:13:59 +03:00
Natalia Selezneva
59bdf67aa2
Refactoring: extract separate manager to update script configurations of gradle scripts
...
The main goal is to extract logic that is related to Gradle scripts only to separate place.
Configurations for gradle scripts are updated during import simultaneously, there is no need to manage script configuration update for one file
Note that for Gradle less than 6.0 The DefaultScriptingSupport is used
2020-04-23 20:13:59 +03:00
Natalia Selezneva
da76fff83c
Remove unused parts
2020-04-23 20:13:59 +03:00
Natalia Selezneva
a35523b6d0
Implement global notification for configurations update of gradle scripts
...
For 193: it will be a simple notification at the bottom of the IDEA window
For 201: a floating notification in the editor is implemented near "Load Gradle Changes" icon
^KT-34443 Fixed
2020-04-23 20:13:58 +03:00
Natalia Selezneva
e300b30de1
Do not use hard coded string literals in UI
2020-04-23 20:13:58 +03:00
Natalia Selezneva
10aeead925
Run gradle import instead of usage of scripting API during configurations update
...
For Gradle 6.0 or higher
^KT-34481
2020-04-23 20:13:57 +03:00
Natalia Selezneva
97e5ff858d
Add ability to postpone script configuration loading
...
Show notification for scripts with out of date configurations
^KT-35573
2020-04-23 20:13:57 +03:00
Vladimir Dolzhenko
6fae29bcc0
Add more checkCanceled to PsiFacade.findClass
...
Relates to #KT-38012
2020-04-14 13:11:11 +02:00
Anton Yalyshev
c8fe842508
Add FUS collector for Migration tool
2020-04-13 18:21:03 +03:00
Natalia Selezneva
a07f455ae5
Fix unexpected loading for script configurations during branch switch
2020-04-10 16:47:49 +03:00
Dmitry Gridin
aec3c22497
ReplacementPerformer: implement ReplacementPerformer for KtSuperTypeCallEntry
...
#KT-37849
2020-04-09 15:19:35 +07:00
Anton Yalyshev
f451cb93da
Fix collectors name to match it to the whitelist
2020-04-05 20:53:21 +03:00
Toshiaki Kameyama
e455e926aa
Implement members: fix it works correctly if primary constructor has implemented member
...
#KT-37312 Fixed
2020-04-01 12:24:27 +03:00
Vladimir Dolzhenko
9f09e50a28
ApplicationUtils syntax improvements
2020-03-31 17:00:19 +02:00
Anton Yalyshev
8877559c02
Add FUS support to move refactoring
2020-03-30 13:51:28 +03:00
Igor Yakovlev
ff831aded4
Move refactoring on kts fixes
...
Set file target filenames to kts if moved declarations are from kts
Fixed exceptions throwing on script declaration move that could lead to not valid file state (Fixed #KT-36129)
2020-03-30 13:51:25 +03:00
Dmitry Gridin
025d8a80e3
i18n: update bundle in idea-core
...
#KT-37483
2020-03-30 14:58:28 +07:00
Dmitry Gridin
c70809553f
i18n, KotlinSurrounderUtils: convert field to function
...
#KT-37483
2020-03-30 14:58:27 +07:00
Vladimir Dolzhenko
674f1d129f
Clean up of plugin-common.xml and convert components to services
2020-03-27 07:54:14 +00:00
Anton Yalyshev
23eb612954
Fix: forgot to call FUS logger in this collector
2020-03-26 23:50:01 +03:00
Anton Yalyshev
e863d81f30
Improve wizards names composition for FUS reporter
2020-03-26 23:50:01 +03:00
Anton Yalyshev
47bb73d90b
Change FUS data format for New Project Wizards collector
2020-03-26 23:50:01 +03:00
Dmitriy Novozhilov
6c9dd8bb22
[FIR] Reorganize modules of raw fir builders
2020-03-25 18:07:27 +03:00
Dmitry Savvinov
26ab9b4fc9
Move Klib-related logic from idea-native module
2020-03-23 15:38:40 +07:00