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
This commit is contained in:
Natalia Selezneva
2020-04-02 16:02:24 +03:00
parent 942c8aaafc
commit 1513429613
2 changed files with 30 additions and 4 deletions
@@ -10,5 +10,6 @@
<trafficLightRendererContributor implementation="org.jetbrains.kotlin.idea.core.script.ScriptTrafficLightRendererContributor"/>
<fileBasedIndex implementation="org.jetbrains.kotlin.idea.script.ScriptTemplatesClassRootsIndex"/>
<postStartupActivity implementation="org.jetbrains.kotlin.idea.core.script.LoadScriptDefinitionsStartupActivity"/>
</extensions>
</idea-plugin>