mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
java DebuggerSettings — store in standard debugger.xml
This commit is contained in:
@@ -16,7 +16,10 @@
|
||||
package com.intellij.debugger.settings;
|
||||
|
||||
import com.intellij.debugger.impl.DebuggerUtilsEx;
|
||||
import com.intellij.openapi.components.*;
|
||||
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.diagnostic.Logger;
|
||||
import com.intellij.openapi.util.InvalidDataException;
|
||||
import com.intellij.openapi.util.WriteExternalException;
|
||||
@@ -36,7 +39,10 @@ import java.util.Map;
|
||||
@State(
|
||||
name = "DebuggerSettings",
|
||||
defaultStateAsResource = true,
|
||||
storages = @Storage(file = StoragePathMacros.APP_CONFIG + "/other.xml")
|
||||
storages = {
|
||||
@Storage(file = "debugger.xml"),
|
||||
@Storage(file = "other.xml", deprecated = true)
|
||||
}
|
||||
)
|
||||
public class DebuggerSettings implements Cloneable, PersistentStateComponent<Element> {
|
||||
private static final Logger LOG = Logger.getInstance(DebuggerSettings.class);
|
||||
|
||||
@@ -328,6 +328,7 @@ exportable.FileTypeManager.presentable.name=File types
|
||||
exportable.EditorColorsManager.presentable.name=Color schemes
|
||||
exportable.ShortcutPromoterManager.presentable.name=Shortcut Promoter
|
||||
exportable.XDebuggerSettings.presentable.name=Debugger
|
||||
exportable.DebuggerSettings.presentable.name=Debugger: Java
|
||||
exportable.WebBrowsersConfiguration.presentable.name=Web Browsers
|
||||
exportable.TextDiffSettings.presentable.name=Text Diff
|
||||
exportable.PathMacrosImpl.presentable.name=Path Macros
|
||||
|
||||
+6
-3
@@ -15,7 +15,10 @@
|
||||
*/
|
||||
package com.intellij.xdebugger.impl.settings;
|
||||
|
||||
import com.intellij.openapi.components.*;
|
||||
import com.intellij.openapi.components.ComponentSerializationUtil;
|
||||
import com.intellij.openapi.components.PersistentStateComponent;
|
||||
import com.intellij.openapi.components.State;
|
||||
import com.intellij.openapi.components.Storage;
|
||||
import com.intellij.openapi.util.JDOMUtil;
|
||||
import com.intellij.util.SmartList;
|
||||
import com.intellij.util.xmlb.SkipDefaultValuesSerializationFilters;
|
||||
@@ -38,8 +41,8 @@ import java.util.*;
|
||||
@State(
|
||||
name = "XDebuggerSettings",
|
||||
storages = {
|
||||
@Storage(file = StoragePathMacros.APP_CONFIG + "/debugger.xml"),
|
||||
@Storage(file = StoragePathMacros.APP_CONFIG + "/other.xml", deprecated = true)
|
||||
@Storage(file = "debugger.xml"),
|
||||
@Storage(file = "other.xml", deprecated = true)
|
||||
}
|
||||
)
|
||||
public class XDebuggerSettingManagerImpl extends XDebuggerSettingsManager implements PersistentStateComponent<XDebuggerSettingManagerImpl.SettingsState> {
|
||||
|
||||
Reference in New Issue
Block a user