mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[Java. Logging] Move options panel to the jvm analysis bundle
IDEA-342483 GitOrigin-RevId: 1cc4c4fd19ded9c576d6f22945768da412340fbb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a41a15db3e
commit
44598e3b3b
@@ -226,6 +226,8 @@ jvm.inspections.assertnotequals.between.inconvertible.types.problem.descriptor=P
|
||||
jvm.inspections.system.get.property.display.name=Call to 'System.getProperty(str)' could be simplified
|
||||
jvm.inspections.system.get.property.problem.descriptor=Call <code>#ref</code> can be simplified for ''{0}''
|
||||
|
||||
jvm.options.general.color.descriptor.logging.string.placeholder = Log string//Placeholder
|
||||
|
||||
can.t.build.uast.tree.for.file=Can't build UAST tree for file
|
||||
title.uast=UAST
|
||||
current.version=Current version
|
||||
|
||||
@@ -7,11 +7,18 @@ import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.PropertyKey;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public final class JvmAnalysisBundle extends DynamicBundle {
|
||||
public static @Nls String message(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key, Object @NotNull ... params) {
|
||||
return ourInstance.getMessage(key, params);
|
||||
}
|
||||
|
||||
public static @NotNull Supplier<@Nls String> messagePointer(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key,
|
||||
Object @NotNull ... params) {
|
||||
return ourInstance.getLazyMessage(key, params);
|
||||
}
|
||||
|
||||
@NonNls public static final String BUNDLE = "messages.JvmAnalysisBundle";
|
||||
private static final JvmAnalysisBundle ourInstance = new JvmAnalysisBundle();
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.analysis.customization.console;
|
||||
|
||||
import com.intellij.analysis.JvmAnalysisBundle;
|
||||
import com.intellij.execution.impl.ConsoleViewUtil;
|
||||
import com.intellij.java.JavaBundle;
|
||||
import com.intellij.openapi.editor.colors.EditorColorsScheme;
|
||||
@@ -41,7 +42,7 @@ public final class ClassFinderConsoleColorsPage implements ColorSettingsPage, Di
|
||||
new AttributesDescriptor(OptionsBundle.messagePointer("options.language.defaults.class.name"), TERMINAL_CLASS_NAME_LOG_REFERENCE);
|
||||
|
||||
private static final AttributesDescriptor LOG_STRING_PLACEHOLDER_NAME =
|
||||
new AttributesDescriptor(OptionsBundle.messagePointer("options.general.color.descriptor.logging.string.placeholder"),
|
||||
new AttributesDescriptor(JvmAnalysisBundle.messagePointer("jvm.options.general.color.descriptor.logging.string.placeholder"),
|
||||
LOG_STRING_PLACEHOLDER);
|
||||
private static final AttributesDescriptor[] ATTRS = {LOG_CLASS_NAME, LOG_STRING_PLACEHOLDER_NAME,};
|
||||
|
||||
|
||||
@@ -132,7 +132,6 @@ options.general.color.descriptor.hyperlink.new=Hyperlinks//Unfollowed
|
||||
options.general.color.descriptor.hyperlink.followed=Hyperlinks//Followed
|
||||
options.general.color.descriptor.reference.hyperlink=Hyperlinks//Reference
|
||||
options.general.color.descriptor.hyperlink.inactive=Hyperlinks//Inactive
|
||||
options.general.color.descriptor.logging.string.placeholder = Log string//Placeholder
|
||||
options.general.color.descriptor.todo.defaults=Code//TODO defaults
|
||||
options.general.color.descriptor.bookmarks=Editor//Bookmarks
|
||||
options.general.color.soft.wrap.sign=Text//Soft wrap sign
|
||||
|
||||
Reference in New Issue
Block a user