From a6d67c83accf47a074ceddce1db0a17e2a658c8a Mon Sep 17 00:00:00 2001 From: Alexander Zolotov Date: Tue, 16 Jul 2019 13:29:31 +0300 Subject: [PATCH] Make textmate settings not roamable as they contain local paths GitOrigin-RevId: ec3541edd1845c53e05fb0dcb24fe2fd549593de --- .../plugins/textmate/configuration/TextMateSettings.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/textmate/src/org/jetbrains/plugins/textmate/configuration/TextMateSettings.java b/plugins/textmate/src/org/jetbrains/plugins/textmate/configuration/TextMateSettings.java index a3d66a5532c7..9f8fc4f37ecf 100644 --- a/plugins/textmate/src/org/jetbrains/plugins/textmate/configuration/TextMateSettings.java +++ b/plugins/textmate/src/org/jetbrains/plugins/textmate/configuration/TextMateSettings.java @@ -1,9 +1,6 @@ package org.jetbrains.plugins.textmate.configuration; -import com.intellij.openapi.components.PersistentStateComponent; -import com.intellij.openapi.components.ServiceManager; -import com.intellij.openapi.components.State; -import com.intellij.openapi.components.Storage; +import com.intellij.openapi.components.*; import com.intellij.util.ObjectUtils; import com.intellij.util.xmlb.annotations.OptionTag; import com.intellij.util.xmlb.annotations.Transient; @@ -14,7 +11,7 @@ import org.jetbrains.plugins.textmate.TextMateService; import java.util.*; -@State(name = "TextMateSettings", storages = @Storage("textmate_os.xml")) +@State(name = "TextMateSettings", storages = @Storage(value = "textmate_os.xml", roamingType = RoamingType.DISABLED)) public class TextMateSettings implements PersistentStateComponent { @NonNls public static final String DEFAULT_THEME_NAME = "Mac Classic";