File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 44package software.aws.toolkits.jetbrains.settings
55
66import com.intellij.openapi.components.PersistentStateComponent
7+ import com.intellij.openapi.components.RoamingType
78import com.intellij.openapi.components.Service
89import com.intellij.openapi.components.State
910import com.intellij.openapi.components.Storage
1011import com.intellij.openapi.components.service
1112import com.intellij.util.xmlb.annotations.Attribute
1213
1314@Service
14- @State(name = " lspSettings" , storages = [Storage (" aws.xml" )])
15+ @State(name = " lspSettings" , storages = [Storage (" aws.xml" , roamingType = RoamingType . DISABLED )])
1516class LspSettings : PersistentStateComponent <LspConfiguration > {
1617 private var state = LspConfiguration ()
1718
@@ -29,12 +30,12 @@ class LspSettings : PersistentStateComponent<LspConfiguration> {
2930 }
3031
3132 fun setExecutablePath (artifactPath : String? ) {
32- if (artifactPath == null ) {
33- state.artifactPath = " "
34- } else {
35- state.artifactPath = artifactPath
36- }
33+ if (artifactPath == null ) {
34+ state.artifactPath = " "
35+ } else {
36+ state.artifactPath = artifactPath
3737 }
38+ }
3839
3940 companion object {
4041 fun getInstance (): LspSettings = service()
You can’t perform that action at this time.
0 commit comments