mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-212608 Make debugger colors customizable
GitOrigin-RevId: f6fdce0fac6a31e08a2ef3c62e65cb3e89dc7078
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8d2ad6e5ab
commit
f3a71cda8a
@@ -76,6 +76,27 @@
|
||||
{
|
||||
"key": "DebuggerTabs.underlinedTabBackground"
|
||||
},
|
||||
{
|
||||
"key": "Debugger.Variables.collectingDataForeground"
|
||||
},
|
||||
{
|
||||
"key": "Debugger.Variables.evaluatingExpressionForeground"
|
||||
},
|
||||
{
|
||||
"key": "Debugger.Variables.modifyingValueForeground"
|
||||
},
|
||||
{
|
||||
"key": "Debugger.Variables.changedValueForeground"
|
||||
},
|
||||
{
|
||||
"key": "Debugger.Variables.exceptionForeground"
|
||||
},
|
||||
{
|
||||
"key": "Debugger.Variables.valueForeground"
|
||||
},
|
||||
{
|
||||
"key": "Debugger.Variables.errorMessageForeground"
|
||||
},
|
||||
{
|
||||
"key": "DefaultTabs.background"
|
||||
},
|
||||
|
||||
+15
-22
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2016 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.xdebugger.impl.ui;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
@@ -36,13 +22,20 @@ public class XDebuggerUIConstants {
|
||||
public static final Icon ERROR_MESSAGE_ICON = AllIcons.General.Error;
|
||||
public static final Icon INFORMATION_MESSAGE_ICON = AllIcons.General.Information;
|
||||
|
||||
public static final SimpleTextAttributes COLLECTING_DATA_HIGHLIGHT_ATTRIBUTES = get(new JBColor(Color.lightGray, Color.lightGray));
|
||||
public static final SimpleTextAttributes EVALUATING_EXPRESSION_HIGHLIGHT_ATTRIBUTES = get(new JBColor(Color.lightGray, Color.lightGray));
|
||||
public static final SimpleTextAttributes MODIFYING_VALUE_HIGHLIGHT_ATTRIBUTES = get(JBColor.blue);
|
||||
public static final SimpleTextAttributes CHANGED_VALUE_ATTRIBUTES = get(JBColor.blue);
|
||||
public static final SimpleTextAttributes EXCEPTION_ATTRIBUTES = get(JBColor.red);
|
||||
public static final SimpleTextAttributes VALUE_NAME_ATTRIBUTES = get(new JBColor(new Color(128, 0, 0), DarculaColors.RED.brighter()));
|
||||
public static final SimpleTextAttributes ERROR_MESSAGE_ATTRIBUTES = get(JBColor.red);
|
||||
public static final SimpleTextAttributes COLLECTING_DATA_HIGHLIGHT_ATTRIBUTES =
|
||||
get(JBColor.namedColor("Debugger.Variables.collectingDataForeground", new JBColor(Color.lightGray, Color.lightGray)));
|
||||
public static final SimpleTextAttributes EVALUATING_EXPRESSION_HIGHLIGHT_ATTRIBUTES =
|
||||
get(JBColor.namedColor("Debugger.Variables.evaluatingExpressionForeground", new JBColor(Color.lightGray, Color.lightGray)));
|
||||
public static final SimpleTextAttributes MODIFYING_VALUE_HIGHLIGHT_ATTRIBUTES =
|
||||
get(JBColor.namedColor("Debugger.Variables.modifyingValueForeground", JBColor.blue));
|
||||
public static final SimpleTextAttributes CHANGED_VALUE_ATTRIBUTES =
|
||||
get(JBColor.namedColor("Debugger.Variables.changedValueForeground", JBColor.blue));
|
||||
public static final SimpleTextAttributes EXCEPTION_ATTRIBUTES =
|
||||
get(JBColor.namedColor("Debugger.Variables.exceptionForeground", JBColor.red));
|
||||
public static final SimpleTextAttributes VALUE_NAME_ATTRIBUTES =
|
||||
get(JBColor.namedColor("Debugger.Variables.valueForeground", new JBColor(new Color(128, 0, 0), DarculaColors.RED.brighter())));
|
||||
public static final SimpleTextAttributes ERROR_MESSAGE_ATTRIBUTES =
|
||||
get(JBColor.namedColor("Debugger.Variables.errorMessageForeground", JBColor.red));
|
||||
@NonNls public static final String EQ_TEXT = " = ";
|
||||
|
||||
public static final SimpleTextAttributes TYPE_ATTRIBUTES = SimpleTextAttributes.GRAY_ATTRIBUTES;
|
||||
|
||||
Reference in New Issue
Block a user