Scripts: clear manual configuration loading state after project import
^KT-35268
This commit is contained in:
@@ -175,6 +175,12 @@ interface ScriptConfigurationManager {
|
||||
(getInstance(project) as AbstractScriptConfigurationManager).clearCaches()
|
||||
}
|
||||
|
||||
fun clearManualConfigurationLoadingIfNeeded(file: VirtualFile) {
|
||||
if (file.LOAD_CONFIGURATION_MANUALLY == true) {
|
||||
file.LOAD_CONFIGURATION_MANUALLY = null
|
||||
}
|
||||
}
|
||||
|
||||
fun markFileWithManualConfigurationLoading(file: VirtualFile) {
|
||||
file.LOAD_CONFIGURATION_MANUALLY = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user