Make plugin compatible with idea version 2021.3
This commit is contained in:
parent
75cf64185a
commit
5e3a782ecb
|
|
@ -1,4 +1,4 @@
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
|
|
||||||
pluginVersion = 1.2.0-212
|
pluginVersion = 1.2.0-213
|
||||||
platformVersion = 2021.2
|
platformVersion = 2021.3
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package de.idetools.filename_template.settings
|
package de.idetools.filename_template.settings
|
||||||
|
|
||||||
|
import com.intellij.openapi.application.ApplicationManager
|
||||||
import com.intellij.openapi.components.PersistentStateComponent
|
import com.intellij.openapi.components.PersistentStateComponent
|
||||||
import com.intellij.openapi.components.ServiceManager
|
|
||||||
import com.intellij.openapi.components.State
|
import com.intellij.openapi.components.State
|
||||||
import com.intellij.openapi.components.Storage
|
import com.intellij.openapi.components.Storage
|
||||||
import com.intellij.util.xmlb.XmlSerializerUtil
|
import com.intellij.util.xmlb.XmlSerializerUtil
|
||||||
|
|
@ -23,6 +23,6 @@ class FilenameTemplateSettingsState : PersistentStateComponent<FilenameTemplateS
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
val instance: FilenameTemplateSettingsState
|
val instance: FilenameTemplateSettingsState
|
||||||
get() = ServiceManager.getService(FilenameTemplateSettingsState::class.java)
|
get() = ApplicationManager.getApplication().getService(FilenameTemplateSettingsState::class.java)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user