Add setting to enable JS IC for JPS

#KT-25565 fixed
This commit is contained in:
Alexey Tsvetkov
2018-07-18 14:06:55 +03:00
parent 0b18380770
commit eef40a5940
5 changed files with 54 additions and 35 deletions
@@ -23,12 +23,14 @@ import com.intellij.openapi.components.StoragePathMacros
import com.intellij.util.xmlb.XmlSerializerUtil
@State(
name = "KotlinCompilerWorkspaceSettings",
storages = arrayOf(
Storage(file = StoragePathMacros.WORKSPACE_FILE)
)
) class KotlinCompilerWorkspaceSettings : PersistentStateComponent<KotlinCompilerWorkspaceSettings> {
name = "KotlinCompilerWorkspaceSettings",
storages = arrayOf(
Storage(file = StoragePathMacros.WORKSPACE_FILE)
)
)
class KotlinCompilerWorkspaceSettings : PersistentStateComponent<KotlinCompilerWorkspaceSettings> {
var preciseIncrementalEnabled: Boolean = true
var incrementalCompilationForJsEnabled: Boolean = false
var enableDaemon: Boolean = true
override fun getState(): KotlinCompilerWorkspaceSettings {