diff --git a/platform/duplicates-analysis/src/com/intellij/dupLocator/DuplocatorSettings.java b/platform/duplicates-analysis/src/com/intellij/dupLocator/DuplocatorSettings.java index 66983d376eb6..337b52e293de 100644 --- a/platform/duplicates-analysis/src/com/intellij/dupLocator/DuplocatorSettings.java +++ b/platform/duplicates-analysis/src/com/intellij/dupLocator/DuplocatorSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2007 JetBrains s.r.o. + * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package com.intellij.dupLocator; import com.intellij.openapi.components.*; @@ -22,19 +21,13 @@ import com.intellij.util.xmlb.XmlSerializerUtil; import java.util.HashSet; import java.util.Set; -/** - * Created by IntelliJ IDEA. - * User: db - * Date: Apr 8, 2004 - * Time: 2:47:43 PM - * To change this template use File | Settings | File Templates. - */ @State( - name="DuplocatorSettings", + name = "DuplocatorSettings", storages = { - @Storage( - file = StoragePathMacros.APP_CONFIG + "/other.xml" - )} + @Storage(file = StoragePathMacros.APP_CONFIG + "/other.xml"), + @Storage(file = StoragePathMacros.APP_CONFIG + "/duplocator.xml") + }, + storageChooser = LastStorageChooserForWrite.class ) public class DuplocatorSettings implements PersistentStateComponent { public boolean DISTINGUISH_VARIABLES = false; diff --git a/platform/platform-resources-en/src/messages/OptionsBundle.properties b/platform/platform-resources-en/src/messages/OptionsBundle.properties index c76075a2bb85..6078417810ba 100644 --- a/platform/platform-resources-en/src/messages/OptionsBundle.properties +++ b/platform/platform-resources-en/src/messages/OptionsBundle.properties @@ -305,3 +305,4 @@ exportable.HttpConfigurable.presentable.name=HTTP Proxy exportable.KeymapManager.presentable.name=Key maps exportable.UsageViewSettings.presentable.name=Usage View exportable.BaseRefactoringSettings.presentable.name=Refactoring +exportable.DuplocatorSettings.presentable.name=Duplocator