Ilya Kirillov
d825428718
New J2K : move resolve resolve out of EDT in shorten references processing
...
relates to #KT-31812
2020-05-20 11:11:46 +03:00
Natalia Selezneva
16b7232b4f
Minor: do not associate with the same extensions multiple times in ScriptDefinitionsManager
2020-05-19 15:04:14 +03:00
Natalia Selezneva
1513429613
Load script definitions in IDE on project opening
...
This will speed up first script opening,
will avoid unexpected indexing because of new definitions
Script definitions are also needed for Kotlin scripting settings
2020-05-19 15:04:14 +03:00
Sergey Rostov
4daac14008
Revert due to massive flaky tests
2020-05-12 23:01:01 +03:00
Sergey Rostov
63e355d979
Scripting IDE cache: unblocking concurrent update
...
#KT-38875 Fixed
2020-05-12 19:49:43 +03:00
Sergey Rostov
f19f49711c
Scripting: minor changes
2020-05-12 16:22:48 +03:00
Sergey Rostov
14bd6fe781
scripting ucache: update synchronously in unit test mode
2020-05-12 16:22:48 +03:00
Sergey Rostov
9aa5f0c31a
Scripting unified cache: update sdks synchronously on changes
2020-05-12 16:22:48 +03:00
Sergey Rostov
ed6e369735
minor: ScriptingSupport.Provider -> ScriptingSupport, KDoc
2020-05-12 16:22:47 +03:00
Sergey Rostov
a4c7981424
Scripting, minor: updateScriptDefinitions -> updateScriptDefinitionReferences
2020-05-12 16:20:47 +03:00
Sergey Rostov
0e5b981363
ScriptClassRootsCache, sdk: use toSystemIndependentName
2020-05-12 16:20:47 +03:00
Sergey Rostov
fa679129d1
ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock
2020-05-12 16:20:46 +03:00
Sergey Rostov
75e8f15b5e
ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync
2020-05-12 16:20:46 +03:00
Sergey Rostov
4e07e4c8fe
ScriptClassRootsUpdater: run synchronously in unit test mode
2020-05-12 16:20:46 +03:00
Sergey Rostov
c6be0a8213
UnusedSymbolInspection: load script configurations from cache
2020-05-12 16:20:45 +03:00
Sergey Rostov
cde53285c6
.gradle.kts, listener: support multiple gradle projects linked to one IntelliJ project
...
GradleScriptInputsWatcher moved to GradleScriptListener.kt and GradleBuildRootsManager.kt
2020-05-12 16:20:45 +03:00
Sergey Rostov
258064d82d
gradle.kts: docs
2020-05-12 16:20:45 +03:00
Sergey Rostov
64682ad550
ScriptConfigurationManager: take OutsidersPsiFileSupport into account
2020-05-12 16:20:44 +03:00
Sergey Rostov
e7c19ab3ef
Scripts, minor: get rid of ScriptingSupportHelper
2020-05-12 16:20:44 +03:00
Sergey Rostov
e972203a2a
gradle.kts: solve the linked gradle builds hell
2020-05-12 16:20:44 +03:00
Sergey Rostov
0ff95ee516
ScriptConfigurationManager, outsider files: search in roots cache too
2020-05-12 16:20:44 +03:00
Sergey Rostov
751d167f66
ScriptConfigurationManager: rebuild cache synchronously from default loader
2020-05-12 16:20:44 +03:00
Sergey Rostov
ab51292da8
gradle.kts: cache definitions
2020-05-12 16:20:44 +03:00
Sergey Rostov
b04fabf1e8
CompositeScriptConfigurationManager: unified caching
2020-05-12 16:20:43 +03:00
Sergey Rostov
14edc26cf1
Revert due to test failing in 201
2020-05-08 10:13:07 +03:00
Sergey Rostov
c76c983614
minor: ScriptingSupport.Provider -> ScriptingSupport, KDoc
2020-05-07 21:48:50 +03:00
Sergey Rostov
5474d55795
Scripting, minor: updateScriptDefinitions -> updateScriptDefinitionReferences
2020-05-07 21:48:49 +03:00
Sergey Rostov
0d6c7f2b41
ScriptClassRootsCache, sdk: use toSystemIndependentName
2020-05-07 21:48:49 +03:00
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