gradle scripts: fix isFirstLoadActual and notification typos
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ class DefaultScriptingSupport(manager: CompositeScriptConfigurationManager) : De
|
|||||||
val forceSkipNotification = skipNotification || autoReloadEnabled
|
val forceSkipNotification = skipNotification || autoReloadEnabled
|
||||||
|
|
||||||
// sync loaders can do something, let's recheck
|
// sync loaders can do something, let's recheck
|
||||||
val isFirstLoadActual = getCachedConfigurationState(virtualFile)?.applied != null
|
val isFirstLoadActual = getCachedConfigurationState(virtualFile)?.applied == null
|
||||||
|
|
||||||
val intercepted = !forceSkipNotification && async.any {
|
val intercepted = !forceSkipNotification && async.any {
|
||||||
it.interceptBackgroundLoading(virtualFile, isFirstLoadActual) {
|
it.interceptBackgroundLoading(virtualFile, isFirstLoadActual) {
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
notification.oldGradle.firstLoad=Code insight is disabled to avoid Gradle build configuration
|
notification.oldGradle.firstLoad=Code insight is disabled to avoid Gradle build configuration
|
||||||
notification.oldGradle.firstLoad.info=<div width=400>\
|
notification.oldGradle.firstLoad.info=<div width=400>\
|
||||||
<p>The Gradle configuration phase required to be run to get Script Configuration. \
|
<p>The Gradle configuration phase is required to be run to get the Script Configuration \
|
||||||
It is disabled by default since it can be expensive for large Gradle projects.</p>\
|
It is disabled by default since it can be expensive for large Gradle projects.</p>\
|
||||||
<br/>\
|
<br/>\
|
||||||
<p>Click "Load Configuration" to load evaluate Gradle build scripts.</p>\
|
<p>Click "Load Configuration" to evaluate Gradle build scripts.</p>\
|
||||||
<br/>\
|
<br/>\
|
||||||
<p>Alternatively, you can "Enable auto-reload" for all files to automatically load \
|
<p>Alternatively, you can "Enable auto-reload" for all files to automatically load \
|
||||||
configuration on the first opening and reload it on each change of build script configuration blocks.\
|
configuration on the first opening and reload it on each change of build script configuration blocks. \
|
||||||
This option is not recommended for a big Gradle project with a long configuration time.</p>\
|
This option is not recommended for a big Gradle project with a long configuration time.</p>\
|
||||||
</div>
|
</div>
|
||||||
gradle.script.configurations.importing.feature=Load gradle kotlin scripts configuration from project importing
|
gradle.script.configurations.importing.feature=Load gradle kotlin scripts configuration from project importing
|
||||||
|
|||||||
Reference in New Issue
Block a user