Run indexes update after typing in script if needed
This commit is contained in:
@@ -118,6 +118,7 @@ class ScriptDependenciesUpdater(
|
|||||||
if (!ProjectRootsUtil.isInProjectSource(ktFile, includeScriptsOutsideSourceRoots = true)) return
|
if (!ProjectRootsUtil.isInProjectSource(ktFile, includeScriptsOutsideSourceRoots = true)) return
|
||||||
|
|
||||||
updateDependencies(file)
|
updateDependencies(file)
|
||||||
|
makeRootsChangeIfNeeded()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -149,6 +150,7 @@ class ScriptDependenciesUpdater(
|
|||||||
{
|
{
|
||||||
FileDocumentManager.getInstance().saveDocument(document)
|
FileDocumentManager.getInstance().saveDocument(document)
|
||||||
updateDependencies(file)
|
updateDependencies(file)
|
||||||
|
makeRootsChangeIfNeeded()
|
||||||
},
|
},
|
||||||
scriptChangesListenerDelay,
|
scriptChangesListenerDelay,
|
||||||
true
|
true
|
||||||
|
|||||||
Reference in New Issue
Block a user