/*
* Copyright 2000-2009 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.
*/
package com.intellij.openapi.editor.colors;
@SuppressWarnings({"deprecation", "unused"})
public interface CodeInsightColors {
TextAttributesKey WRONG_REFERENCES_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("WRONG_REFERENCES_ATTRIBUTES");
TextAttributesKey ERRORS_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("ERRORS_ATTRIBUTES");
TextAttributesKey WARNINGS_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("WARNING_ATTRIBUTES");
TextAttributesKey GENERIC_SERVER_ERROR_OR_WARNING = TextAttributesKey.createTextAttributesKey("GENERIC_SERVER_ERROR_OR_WARNING");
TextAttributesKey DUPLICATE_FROM_SERVER = TextAttributesKey.createTextAttributesKey("DUPLICATE_FROM_SERVER");
/**
* use #WEAK_WARNING_ATTRIBUTES instead
*/
@Deprecated
TextAttributesKey INFO_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("INFO_ATTRIBUTES");
TextAttributesKey WEAK_WARNING_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("INFO_ATTRIBUTES");
TextAttributesKey INFORMATION_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("INFORMATION_ATTRIBUTES");
TextAttributesKey NOT_USED_ELEMENT_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("NOT_USED_ELEMENT_ATTRIBUTES");
TextAttributesKey DEPRECATED_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("DEPRECATED_ATTRIBUTES");
/**
* @deprecated For internal use only.
*/
@Deprecated
TextAttributesKey DUMMY_DEPRECATED_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("__deprecated__");
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.LOCAL_VARIABLE or define your own.
* For Java-related code use JavaHighlightingColors.LOCAL_VARIABLE_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey LOCAL_VARIABLE_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.PARAMETER or define your own.
* For Java-related code use JavaHighlightingColors.PARAMETER_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey PARAMETER_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.LOCAL_VARIABLE or define your own.
* For Java-related code use JavaHighlightingColors.REASSIGNED_LOCAL_VARIABLE_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey REASSIGNED_LOCAL_VARIABLE_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.PARAMETER or define your own.
* For Java-related code use JavaHighlightingColors.REASSIGNED_PARAMETER_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey REASSIGNED_PARAMETER_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.IDENTIFIER or define your own.
* For Java-related code use JavaHighlightingColors.IMPLICIT_ANONYMOUS_CLASS_PARAMETER_ATTRIBUTES.
* The field will be removed in future versions.
*/
TextAttributesKey IMPLICIT_ANONYMOUS_CLASS_PARAMETER_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.INSTANCE_FIELD or define your own.
* For Java-related code use JavaHighlightingColors.INSTANCE_FIELD_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey INSTANCE_FIELD_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.INSTANCE_FIELD or define your own.
* For Java-related code use JavaHighlightingColors.INSTANCE_FINAL_FIELD_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey INSTANCE_FINAL_FIELD_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.STATIC_FIELD or define your own.
* For Java-related code use JavaHighlightingColors.STATIC_FIELD_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey STATIC_FIELD_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.STATIC_FIELD or define your own.
* For Java-related code use JavaHighlightingColors.STATIC_FINAL_FIELD_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey STATIC_FINAL_FIELD_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.CLASS_NAME or define your own.
* For Java-related code use JavaHighlightingColors.CLASS_NAME_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey CLASS_NAME_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.CLASS_NAME or define your own.
* For Java-related code use JavaHighlightingColors.ANONYMOUS_CLASS_NAME_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey ANONYMOUS_CLASS_NAME_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.IDENTIFIER or define your own.
* For Java-related code use JavaHighlightingColors.TYPE_PARAMETER_NAME_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey TYPE_PARAMETER_NAME_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.INTERFACE_NAME or define your own.
* For Java-related code use JavaHighlightingColors.INTERFACE_NAME_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey INTERFACE_NAME_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.CLASS_NAME or define your own.
* For Java-related code use JavaHighlightingColors.ENUM_NAME_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey ENUM_NAME_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.CLASS_NAME or define your own.
* For Java-related code use JavaHighlightingColors.ABSTRACT_CLASS_NAME_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey ABSTRACT_CLASS_NAME_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.FUNCTION_CALL or define your own.
* For Java-related code use JavaHighlightingColors.METHOD_CALL_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey METHOD_CALL_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.FUNCTION_DECLARATION or define your own.
* For Java-related code use JavaHighlightingColors.METHOD_DECLARATION_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey METHOD_DECLARATION_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.STATIC_METHOD or define your own.
* For Java-related code use JavaHighlightingColors.STATIC_METHOD_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey STATIC_METHOD_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.FUNCTION_CALL or define your own.
* For Java-related code use JavaHighlightingColors.ABSTRACT_METHOD_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey ABSTRACT_METHOD_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.FUNCTION_CALL or define your own.
* For Java-related code use JavaHighlightingColors.INHERITED_METHOD_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey INHERITED_METHOD_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.FUNCTION_CALL or define your own.
* For Java-related code use JavaHighlightingColors.CONSTRUCTOR_CALL_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey CONSTRUCTOR_CALL_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.FUNCTION_DECLARATION or define your own.
* For Java-related code use JavaHighlightingColors.CONSTRUCTOR_DECLARATION_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey CONSTRUCTOR_DECLARATION_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.METADATA or define your own.
* For Java-related code use JavaHighlightingColors.ANNOTATION_NAME_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey ANNOTATION_NAME_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.METADATA or define your own.
* For Java-related code use JavaHighlightingColors.ANNOTATION_ATTRIBUTE_NAME_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey ANNOTATION_ATTRIBUTE_NAME_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
/**
* @deprecated as of version 16.
* For non-Java code use DefaultLanguageHighlighterColors.METADATA or define your own.
* For Java-related code use JavaHighlightingColors.ANNOTATION_ATTRIBUTE_VALUE_ATTRIBUTES.
* The field will be removed in future versions.
*/
@Deprecated
TextAttributesKey ANNOTATION_ATTRIBUTE_VALUE_ATTRIBUTES = DUMMY_DEPRECATED_ATTRIBUTES;
TextAttributesKey MATCHED_BRACE_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("MATCHED_BRACE_ATTRIBUTES");
TextAttributesKey UNMATCHED_BRACE_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("UNMATCHED_BRACE_ATTRIBUTES");
TextAttributesKey JOIN_POINT = TextAttributesKey.createTextAttributesKey("JOIN_POINT");
TextAttributesKey BLINKING_HIGHLIGHTS_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("BLINKING_HIGHLIGHTS_ATTRIBUTES");
TextAttributesKey HYPERLINK_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("HYPERLINK_ATTRIBUTES");
TextAttributesKey FOLLOWED_HYPERLINK_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("FOLLOWED_HYPERLINK_ATTRIBUTES");
TextAttributesKey TODO_DEFAULT_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("TODO_DEFAULT_ATTRIBUTES");
TextAttributesKey BOOKMARKS_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("BOOKMARKS_ATTRIBUTES");
// Colors
ColorKey METHOD_SEPARATORS_COLOR = ColorKey.createColorKey("METHOD_SEPARATORS_COLOR");
TextAttributesKey LINE_FULL_COVERAGE = TextAttributesKey.createTextAttributesKey("LINE_FULL_COVERAGE");
TextAttributesKey LINE_PARTIAL_COVERAGE = TextAttributesKey.createTextAttributesKey("LINE_PARTIAL_COVERAGE");
TextAttributesKey LINE_NONE_COVERAGE = TextAttributesKey.createTextAttributesKey("LINE_NONE_COVERAGE");
}