Class PreferenceConstants


  • public class PreferenceConstants
    extends Object
    Preference constants used in the JDT-UI preference store. Clients should only read the JDT-UI preference store using these values. Clients are not allowed to modify the preference store programmatically.

    This class it is not intended to be instantiated or subclassed by clients.

    Since:
    2.0
    Restriction:
    This class is not intended to be subclassed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Field Detail

      • APPEARANCE_METHOD_RETURNTYPE

        public static final String APPEARANCE_METHOD_RETURNTYPE
        A named preference that controls return type rendering of methods in the UI.

        Value is of type Boolean: if true return types are rendered

        See Also:
        Constant Field Values
      • APPEARANCE_METHOD_TYPEPARAMETERS

        public static final String APPEARANCE_METHOD_TYPEPARAMETERS
        A named preference that controls type parameter rendering of methods in the UI.

        Value is of type Boolean: if true return types are rendered

        Since:
        3.1
        See Also:
        Constant Field Values
      • APPEARANCE_OVERRIDE_INDICATOR

        @Deprecated
        public static final String APPEARANCE_OVERRIDE_INDICATOR
        Deprecated.
        Override Indicator is now controlled on the platform's decorator preference page
        A named preference that controls if override indicators are rendered in the UI.

        Value is of type Boolean: if true override indicators are rendered

        See Also:
        Constant Field Values
      • EDITOR_QUICKASSIST_LIGHTBULB

        public static final String EDITOR_QUICKASSIST_LIGHTBULB
        A named preference that controls if quick assist light bulbs are shown.

        Value is of type Boolean: if true light bulbs are shown for quick assists.

        Since:
        3.0
        See Also:
        Constant Field Values
      • APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW

        public static final String APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW
        A named preference that defines the pattern used for package name compression.

        Value is of type String. For example for the given package name 'org.eclipse.jdt' pattern '.' will compress it to '..jdt', '1~' to 'o~.e~.jdt'.

        See Also:
        Constant Field Values
      • APPEARANCE_PKG_NAME_ABBREVIATION_PATTERN_FOR_PKG_VIEW

        public static final String APPEARANCE_PKG_NAME_ABBREVIATION_PATTERN_FOR_PKG_VIEW
        A named preference that defines the patterns used for package name abbreviation.

        Value is of type String. Value is a newline separated list of packagePrefix=abbreviation pairs. For example, a pattern of 'javax.management=<JMX>' will abbreviate 'javax.management.monitor' to '<JMX>.monitor'. A '#' at the beginning of a line disables an entry.

        Since:
        3.7
        See Also:
        Constant Field Values
      • APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER

        public static final String APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER
        A named preference that controls if empty inner packages are folded in the hierarchical mode of the package explorer.

        Value is of type Boolean: if true empty inner packages are folded.

        Since:
        2.1
        See Also:
        Constant Field Values
      • APPEARANCE_SORT_LIBRARY_ENTRIES_BY_NAME

        public static final String APPEARANCE_SORT_LIBRARY_ENTRIES_BY_NAME
        A named preference that controls if entries of library containers are sorted alphabetically.

        Value is of type Boolean: if true entries are sorted alphabetically, otherwise by their occurance order.

        Since:
        3.14
        See Also:
        Constant Field Values
      • APPEARANCE_MEMBER_SORT_ORDER

        public static final String APPEARANCE_MEMBER_SORT_ORDER
        A named preference that defines how member elements are ordered by the Java views using the JavaElementSorter.

        Value is of type String: A comma separated list of the following entries. Each entry must be in the list, no duplication. List order defines the sort order.

        • T: Types
        • C: Constructors
        • I: Initializers
        • M: Methods
        • F: Fields
        • SI: Static Initializers
        • SM: Static Methods
        • SF: Static Fields
        Since:
        2.1
        See Also:
        Constant Field Values
      • APPEARANCE_VISIBILITY_SORT_ORDER

        public static final String APPEARANCE_VISIBILITY_SORT_ORDER
        A named preference that defines how member elements are ordered by visibility in the Java views using the JavaElementSorter.

        Value is of type String: A comma separated list of the following entries. Each entry must be in the list, no duplication. List order defines the sort order.

        • B: Public
        • V: Private
        • R: Protected
        • D: Default
        Since:
        3.0
        See Also:
        Constant Field Values
      • APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER

        public static final String APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER
        A named preferences that controls if Java elements are also sorted by visibility.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • APPEARANCE_CATEGORY

        public static final String APPEARANCE_CATEGORY
        A named preference that controls category rendering of Java elements in the UI.

        Value is of type Boolean: if true category is rendered

        Since:
        3.2
        See Also:
        Constant Field Values
      • APPEARANCE_JAVADOC_FONT

        public static final String APPEARANCE_JAVADOC_FONT
        The symbolic font name for the font used to display Javadoc (value "org.eclipse.jdt.ui.javadocfont").
        Since:
        3.3
        See Also:
        Constant Field Values
      • CODEGEN_USE_GETTERSETTER_PREFIX

        @Deprecated
        public static final String CODEGEN_USE_GETTERSETTER_PREFIX
        Deprecated.
        Use JavaCore preference store (key JavaCore. CODEASSIST_FIELD_PREFIXES and CODEASSIST_STATIC_FIELD_PREFIXES)
        A named preference that controls if prefix removal during setter/getter generation is turned on or off.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • CODEGEN_GETTERSETTER_PREFIX

        @Deprecated
        public static final String CODEGEN_GETTERSETTER_PREFIX
        Deprecated.
        Use JavaCore preference store (key JavaCore. CODEASSIST_FIELD_PREFIXES and CODEASSIST_STATIC_FIELD_PREFIXES)
        A named preference that holds a list of prefixes to be removed from a local variable to compute setter and getter names.

        Value is of type String: comma separated list of prefixed

        See Also:
        Constant Field Values
      • CODEGEN_USE_GETTERSETTER_SUFFIX

        @Deprecated
        public static final String CODEGEN_USE_GETTERSETTER_SUFFIX
        Deprecated.
        Use JavaCore preference store (key JavaCore. CODEASSIST_FIELD_PREFIXES and CODEASSIST_STATIC_FIELD_PREFIXES)
        A named preference that controls if suffix removal during setter/getter generation is turned on or off.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • CODEGEN_GETTERSETTER_SUFFIX

        @Deprecated
        public static final String CODEGEN_GETTERSETTER_SUFFIX
        Deprecated.
        Use setting from JavaCore preference store (key JavaCore. CODEASSIST_FIELD_SUFFIXES and CODEASSIST_STATIC_FIELD_SUFFIXES)
        A named preference that holds a list of suffixes to be removed from a local variable to compute setter and getter names.

        Value is of type String: comma separated list of suffixes

        See Also:
        Constant Field Values
      • CODEGEN_KEYWORD_THIS

        public static final String CODEGEN_KEYWORD_THIS
        A named preference that controls whether the keyword "this" will be added automatically to field accesses in generated methods.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • CODEGEN_IS_FOR_GETTERS

        public static final String CODEGEN_IS_FOR_GETTERS
        A named preference that controls whether automatically created getters which return a boolean field should start with "is" or should be prefixed with "get".

        If true and if the field starts with "is" then the created getter name will not be additionally prefixed and "is" will not be part of the setter name.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • CODEGEN_EXCEPTION_VAR_NAME

        public static final String CODEGEN_EXCEPTION_VAR_NAME
        A named preference that defines the preferred variable names for exceptions in catch clauses.

        Value is of type String.

        Since:
        3.0
        See Also:
        Constant Field Values
      • CODEGEN_ADD_COMMENTS

        public static final String CODEGEN_ADD_COMMENTS
        A named preference that controls if comment stubs will be added automatically to newly created types and methods.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • CODEGEN__JAVADOC_STUBS

        @Deprecated
        public static final String CODEGEN__JAVADOC_STUBS
        Deprecated.
        Use CODEGEN_ADD_COMMENTS instead (Name is more precise).
        A named preference that controls if a comment stubs will be added automatically to newly created types and methods.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • CODEGEN__NON_JAVADOC_COMMENTS

        @Deprecated
        public static final String CODEGEN__NON_JAVADOC_COMMENTS
        Deprecated.
        New code template story: user can specify the overriding method comment.
        A named preference that controls if a non-javadoc comment gets added to methods generated via the "Override Methods" operation.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • CODEGEN__FILE_COMMENTS

        @Deprecated
        public static final String CODEGEN__FILE_COMMENTS
        Deprecated.
        New code template story: user can specify the new file code template.
        A named preference that controls if a file comment gets added to newly created files.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • CODEGEN_USE_OVERRIDE_ANNOTATION

        public static final String CODEGEN_USE_OVERRIDE_ANNOTATION
        A named preference that controls whether to add a override annotation for newly created methods

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • TYPEFILTER_ENABLED

        public static final String TYPEFILTER_ENABLED
        A named preference that holds a list of semicolon separated fully qualified type names with wild card characters.
        Since:
        3.0
        See Also:
        Constant Field Values
      • TYPEFILTER_DISABLED

        public static final String TYPEFILTER_DISABLED
        A named preference that holds a list of semicolon separated fully qualified type names with wild card characters.
        Since:
        3.0
        See Also:
        Constant Field Values
      • ORGIMPORTS_IMPORTORDER

        public static final String ORGIMPORTS_IMPORTORDER
        A named preference that holds a list of semicolon separated package names. The list specifies the import order used by the "Organize Imports" operation.

        Value is of type String: semicolon separated list of package names

        See Also:
        Constant Field Values
      • ORGIMPORTS_ONDEMANDTHRESHOLD

        public static final String ORGIMPORTS_ONDEMANDTHRESHOLD
        A named preference that specifies the number of imports added before a star-import declaration is used.

        Value is of type Integer: positive value specifying the number of non star-import is used

        See Also:
        Constant Field Values
      • ORGIMPORTS_STATIC_ONDEMANDTHRESHOLD

        public static final String ORGIMPORTS_STATIC_ONDEMANDTHRESHOLD
        A named preference that specifies the number of static imports added before a star-import declaration is used.

        Value is of type Integer: positive value specifying the number of non star-import is used

        Since:
        3.2
        See Also:
        Constant Field Values
      • ORGIMPORTS_IGNORELOWERCASE

        public static final String ORGIMPORTS_IGNORELOWERCASE
        A named preferences that controls if types that start with a lower case letters get added by the "Organize Import" operation.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • SHOW_CU_CHILDREN

        public static final String SHOW_CU_CHILDREN
        A named preference that specifies whether children of a compilation unit are shown in the package explorer.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • LINK_PACKAGES_TO_EDITOR

        @Deprecated
        public static final String LINK_PACKAGES_TO_EDITOR
        Deprecated.
        Since 3.3. Not used anymore. Package view always restores with the last recently used setting.
        A named preference that controls whether the package explorer's selection is linked to the active editor.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • LINK_TYPEHIERARCHY_TO_EDITOR

        @Deprecated
        public static final String LINK_TYPEHIERARCHY_TO_EDITOR
        Deprecated.
        Since 3.3. Not used anymore. Type hierarchy view always restores with the last recently used setting.
        A named preference that controls whether the hierarchy view's selection is linked to the active editor.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • LINK_BROWSING_PROJECTS_TO_EDITOR

        public static final String LINK_BROWSING_PROJECTS_TO_EDITOR
        A named preference that controls whether the projects view's selection is linked to the active editor.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • LINK_BROWSING_PACKAGES_TO_EDITOR

        public static final String LINK_BROWSING_PACKAGES_TO_EDITOR
        A named preference that controls whether the packages view's selection is linked to the active editor.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • LINK_BROWSING_TYPES_TO_EDITOR

        public static final String LINK_BROWSING_TYPES_TO_EDITOR
        A named preference that controls whether the types view's selection is linked to the active editor.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • LINK_BROWSING_MEMBERS_TO_EDITOR

        public static final String LINK_BROWSING_MEMBERS_TO_EDITOR
        A named preference that controls whether the members view's selection is linked to the active editor.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • SRCBIN_FOLDERS_IN_NEWPROJ

        public static final String SRCBIN_FOLDERS_IN_NEWPROJ
        A named preference that controls whether new projects are generated using source and output folder.

        Value is of type Boolean. if true new projects are created with a source and output folder. If false source and output folder equals to the project.

        See Also:
        Constant Field Values
      • SRCBIN_SRCNAME

        public static final String SRCBIN_SRCNAME
        A named preference that specifies the source folder name used when creating a new Java project. Value is inactive if SRCBIN_FOLDERS_IN_NEWPROJ is set to false.

        Value is of type String.

        See Also:
        SRCBIN_FOLDERS_IN_NEWPROJ, Constant Field Values
      • SRCBIN_BINNAME

        public static final String SRCBIN_BINNAME
        A named preference that specifies the output folder name used when creating a new Java project. Value is inactive if SRCBIN_FOLDERS_IN_NEWPROJ is set to false.

        Value is of type String.

        See Also:
        SRCBIN_FOLDERS_IN_NEWPROJ, Constant Field Values
      • NEWPROJECT_JRELIBRARY_LIST

        public static final String NEWPROJECT_JRELIBRARY_LIST
        A named preference that holds a list of possible JRE libraries used by the New Java Project wizard. A library consists of a description and an arbitrary number of IClasspathEntrys, that will represent the JRE on the new project's class path.

        Value is of type String: a semicolon separated list of encoded JRE libraries. NEWPROJECT_JRELIBRARY_INDEX defines the currently used library. Clients should use the method encodeJRELibrary to encode a JRE library into a string and the methods decodeJRELibraryDescription(String) and decodeJRELibraryClasspathEntries(String) to decode the description and the array of class path entries from an encoded string.

        See Also:
        NEWPROJECT_JRELIBRARY_INDEX, encodeJRELibrary(String, IClasspathEntry[]), decodeJRELibraryDescription(String), decodeJRELibraryClasspathEntries(String), Constant Field Values
      • NEWPROJECT_JRELIBRARY_INDEX

        public static final String NEWPROJECT_JRELIBRARY_INDEX
        A named preferences that specifies the current active JRE library.

        Value is of type Integer: an index into the list of possible JRE libraries.

        See Also:
        NEWPROJECT_JRELIBRARY_LIST, Constant Field Values
      • UPDATE_JAVA_VIEWS

        @Deprecated
        public static final String UPDATE_JAVA_VIEWS
        Deprecated.
        Since 3.0, views now always update while editing
        A named preference that controls whether Java views update their presentation while editing or when saving the content of an editor.

        Value is of type String: possible values are UPDATE_ON_SAVE or UPDATE_WHILE_EDITING.

        See Also:
        UPDATE_ON_SAVE, UPDATE_WHILE_EDITING, Constant Field Values
      • JAVADOC_COMMAND

        public static final String JAVADOC_COMMAND
        A named preference that holds the path of the Javadoc command used by the Javadoc creation wizard.

        Value is of type String.

        See Also:
        Constant Field Values
      • EDITOR_TEXT_HOVER_MODIFIERS

        public static final String EDITOR_TEXT_HOVER_MODIFIERS
        A named preference that defines the key for the hover modifiers.
        Since:
        2.1
        See Also:
        JavaUI, Constant Field Values
      • EDITOR_TEXT_HOVER_MODIFIER_MASKS

        public static final String EDITOR_TEXT_HOVER_MODIFIER_MASKS
        A named preference that defines the key for the hover modifier state masks. The value is only used if the value of EDITOR_TEXT_HOVER_MODIFIERS cannot be resolved to valid SWT modifier bits.
        Since:
        2.1.1
        See Also:
        JavaUI, EDITOR_TEXT_HOVER_MODIFIERS, Constant Field Values
      • ID_BESTMATCH_HOVER

        public static final String ID_BESTMATCH_HOVER
        The id of the best match hover contributed for extension point javaEditorTextHovers.
        Since:
        2.1
        See Also:
        Constant Field Values
      • ID_SOURCE_HOVER

        public static final String ID_SOURCE_HOVER
        The id of the source code hover contributed for extension point javaEditorTextHovers.
        Since:
        2.1
        See Also:
        Constant Field Values
      • ID_JAVADOC_HOVER

        public static final String ID_JAVADOC_HOVER
        The id of the javadoc hover contributed for extension point javaEditorTextHovers.
        Since:
        2.1
        See Also:
        Constant Field Values
      • ID_PROBLEM_HOVER

        @Deprecated
        public static final String ID_PROBLEM_HOVER
        Deprecated.
        as of 3.0, this hover is no longer available
        The id of the problem hover contributed for extension point javaEditorTextHovers.
        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_MATCHING_BRACKETS

        public static final String EDITOR_MATCHING_BRACKETS
        A named preference that controls whether bracket matching highlighting is turned on or off.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_HIGHLIGHT_BRACKET_AT_CARET_LOCATION

        public static final String EDITOR_HIGHLIGHT_BRACKET_AT_CARET_LOCATION
        A named preference that controls whether bracket at caret location is highlighted or not.

        Value is of type Boolean.

        Since:
        3.8
        See Also:
        Constant Field Values
      • EDITOR_ENCLOSING_BRACKETS

        public static final String EDITOR_ENCLOSING_BRACKETS
        A named preference that controls whether enclosing bracket matching highlighting is turned on or off.

        Value is of type Boolean.

        Since:
        3.8
        See Also:
        Constant Field Values
      • EDITOR_MATCHING_BRACKETS_COLOR

        public static final String EDITOR_MATCHING_BRACKETS_COLOR
        A named preference that holds the color used to highlight matching brackets.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_SPACES_FOR_TABS

        @Deprecated
        public static final String EDITOR_SPACES_FOR_TABS
        Deprecated.
        As of 3.1 replaced by the formatter setting defined in DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR
        A named preference that specifies if the editor uses spaces for tabs.

        Value is of type Boolean. If truespaces instead of tabs are used in the editor. If false the editor inserts a tab character when pressing the tab key.

        See Also:
        Constant Field Values
      • EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE

        public static final String EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE
        A named preference that controls whether the outline view selection should stay in sync with with the element at the current cursor position.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_CORRECTION_INDICATION

        public static final String EDITOR_CORRECTION_INDICATION
        A named preference that controls if correction indicators are shown in the UI.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_WARNING_INDICATION

        @Deprecated
        public static final String EDITOR_WARNING_INDICATION
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the editor shows warning indicators in text (squiggly lines).

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_BOOKMARK_INDICATION

        @Deprecated
        public static final String EDITOR_BOOKMARK_INDICATION
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the editor shows bookmark indicators in text (squiggly lines).

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_SEARCH_RESULT_INDICATION

        @Deprecated
        public static final String EDITOR_SEARCH_RESULT_INDICATION
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the editor shows search indicators in text (squiggly lines).

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_UNKNOWN_INDICATION

        @Deprecated
        public static final String EDITOR_UNKNOWN_INDICATION
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the editor shows unknown indicators in text (squiggly lines).

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER

        @Deprecated
        public static final String EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the overview ruler shows error indicators.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER

        @Deprecated
        public static final String EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the overview ruler shows warning indicators.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER

        @Deprecated
        public static final String EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the overview ruler shows task indicators.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER

        @Deprecated
        public static final String EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the overview ruler shows bookmark indicators.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER

        @Deprecated
        public static final String EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the overview ruler shows search result indicators.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER

        @Deprecated
        public static final String EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER
        Deprecated.
        as of 3.0 replaced by MarkerAnnotationPreferences
        A named preference that controls whether the overview ruler shows unknown indicators.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_CLOSE_STRINGS

        public static final String EDITOR_CLOSE_STRINGS
        A named preference that controls whether the 'close strings' feature is enabled.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_WRAP_STRINGS

        public static final String EDITOR_WRAP_STRINGS
        A named preference that controls whether the 'wrap strings' feature is enabled.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_ESCAPE_STRINGS

        public static final String EDITOR_ESCAPE_STRINGS
        A named preference that controls whether the 'escape strings' feature is enabled.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_ESCAPE_STRINGS_NON_ASCII

        public static final String EDITOR_ESCAPE_STRINGS_NON_ASCII
        A named preference that controls whether non-ascii characters are replaced by unicode escape sequences when the 'escape strings' feature is used.

        Value is of type Boolean.

        Since:
        3.14
        See Also:
        Constant Field Values
      • EDITOR_CLOSE_BRACKETS

        public static final String EDITOR_CLOSE_BRACKETS
        A named preference that controls whether the 'close brackets' feature is enabled.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_CLOSE_BRACES

        public static final String EDITOR_CLOSE_BRACES
        A named preference that controls whether the 'close braces' feature is enabled.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_CLOSE_JAVADOCS

        public static final String EDITOR_CLOSE_JAVADOCS
        A named preference that controls whether the 'close java docs' feature is enabled.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_ADD_JAVADOC_TAGS

        public static final String EDITOR_ADD_JAVADOC_TAGS
        A named preference that controls whether the 'add JavaDoc tags' feature is enabled.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_FORMAT_JAVADOCS

        public static final String EDITOR_FORMAT_JAVADOCS
        A named preference that controls whether the 'format Javadoc tags' feature is enabled.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_SMART_PASTE

        public static final String EDITOR_SMART_PASTE
        A named preference that controls whether the 'smart paste' feature is enabled.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_SMART_INDENT_AFTER_NEWLINE

        public static final String EDITOR_SMART_INDENT_AFTER_NEWLINE
        A named preference that controls whether on Enter key the indentation should be smart or the same as previous line.

        Value is of type Boolean.

        Since:
        3.7
        See Also:
        Constant Field Values
      • EDITOR_IMPORTS_ON_PASTE

        public static final String EDITOR_IMPORTS_ON_PASTE
        A named preference that controls whether 'paste' should update the imports.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_SUB_WORD_NAVIGATION

        public static final String EDITOR_SUB_WORD_NAVIGATION
        A named preference that controls whether the 'sub-word navigation' feature is enabled.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_EVALUTE_TEMPORARY_PROBLEMS

        public static final String EDITOR_EVALUTE_TEMPORARY_PROBLEMS
        A named preference that controls if temporary problems are evaluated and shown in the UI.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_LINKED_POSITION_COLOR

        @Deprecated
        public static final String EDITOR_LINKED_POSITION_COLOR
        Deprecated.
        not used any longer as the linked positions are displayed as annotations
        A named preference that holds the color used to render linked positions inside code templates.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_BOLD_SUFFIX

        public static final String EDITOR_BOLD_SUFFIX
        Preference key suffix for bold text style preference keys.
        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_ITALIC_SUFFIX

        public static final String EDITOR_ITALIC_SUFFIX
        Preference key suffix for italic text style preference keys.
        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_STRIKETHROUGH_SUFFIX

        public static final String EDITOR_STRIKETHROUGH_SUFFIX
        Preference key suffix for strikethrough text style preference keys.
        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_UNDERLINE_SUFFIX

        public static final String EDITOR_UNDERLINE_SUFFIX
        Preference key suffix for underline text style preference keys.
        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_MULTI_LINE_COMMENT_COLOR

        public static final String EDITOR_MULTI_LINE_COMMENT_COLOR
        A named preference that holds the color used to render multi-line comments.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_TEXT_FONT

        public static final String EDITOR_TEXT_FONT
        The symbolic font name for the Java editor text font (value "org.eclipse.jdt.ui.editors.textfont").
        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_MULTI_LINE_COMMENT_BOLD

        public static final String EDITOR_MULTI_LINE_COMMENT_BOLD
        A named preference that controls whether multi-line comments are rendered in bold.

        Value is of type Boolean. If true multi-line comments are rendered in bold. If false the are rendered using no font style attribute.

        See Also:
        Constant Field Values
      • EDITOR_MULTI_LINE_COMMENT_ITALIC

        public static final String EDITOR_MULTI_LINE_COMMENT_ITALIC
        A named preference that controls whether multi-line comments are rendered in italic.

        Value is of type Boolean. If true multi-line comments are rendered in italic. If false the are rendered using no italic font style attribute.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_MULTI_LINE_COMMENT_STRIKETHROUGH

        public static final String EDITOR_MULTI_LINE_COMMENT_STRIKETHROUGH
        A named preference that controls whether multi-line comments are rendered in strikethrough.

        Value is of type Boolean. If true multi-line comments are rendered in strikethrough. If false the are rendered using no strikethrough font style attribute.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_MULTI_LINE_COMMENT_UNDERLINE

        public static final String EDITOR_MULTI_LINE_COMMENT_UNDERLINE
        A named preference that controls whether multi-line comments are rendered in underline.

        Value is of type Boolean. If true multi-line comments are rendered in underline. If false the are rendered using no underline font style attribute.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_SINGLE_LINE_COMMENT_COLOR

        public static final String EDITOR_SINGLE_LINE_COMMENT_COLOR
        A named preference that holds the color used to render single line comments.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_SINGLE_LINE_COMMENT_BOLD

        public static final String EDITOR_SINGLE_LINE_COMMENT_BOLD
        A named preference that controls whether single line comments are rendered in bold.

        Value is of type Boolean. If true single line comments are rendered in bold. If false the are rendered using no font style attribute.

        See Also:
        Constant Field Values
      • EDITOR_SINGLE_LINE_COMMENT_ITALIC

        public static final String EDITOR_SINGLE_LINE_COMMENT_ITALIC
        A named preference that controls whether single line comments are rendered in italic.

        Value is of type Boolean. If true single line comments are rendered in italic. If false the are rendered using no italic font style attribute.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_SINGLE_LINE_COMMENT_STRIKETHROUGH

        public static final String EDITOR_SINGLE_LINE_COMMENT_STRIKETHROUGH
        A named preference that controls whether single line comments are rendered in strikethrough.

        Value is of type Boolean. If true single line comments are rendered in strikethrough. If false the are rendered using no italic font style attribute.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_SINGLE_LINE_COMMENT_UNDERLINE

        public static final String EDITOR_SINGLE_LINE_COMMENT_UNDERLINE
        A named preference that controls whether single line comments are rendered in underline.

        Value is of type Boolean. If true single line comments are rendered in underline. If false the are rendered using no italic font style attribute.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_KEYWORD_COLOR

        public static final String EDITOR_JAVA_KEYWORD_COLOR
        A named preference that holds the color used to render java keywords.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVA_KEYWORD_BOLD

        public static final String EDITOR_JAVA_KEYWORD_BOLD
        A named preference that controls whether keywords are rendered in bold.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_JAVA_KEYWORD_ITALIC

        public static final String EDITOR_JAVA_KEYWORD_ITALIC
        A named preference that controls whether keywords are rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVA_KEYWORD_STRIKETHROUGH

        public static final String EDITOR_JAVA_KEYWORD_STRIKETHROUGH
        A named preference that controls whether keywords are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_KEYWORD_UNDERLINE

        public static final String EDITOR_JAVA_KEYWORD_UNDERLINE
        A named preference that controls whether keywords are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_STRING_COLOR

        public static final String EDITOR_STRING_COLOR
        A named preference that holds the color used to render string constants.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_STRING_BOLD

        public static final String EDITOR_STRING_BOLD
        A named preference that controls whether string constants are rendered in bold.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_STRING_ITALIC

        public static final String EDITOR_STRING_ITALIC
        A named preference that controls whether string constants are rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_STRING_STRIKETHROUGH

        public static final String EDITOR_STRING_STRIKETHROUGH
        A named preference that controls whether string constants are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_STRING_UNDERLINE

        public static final String EDITOR_STRING_UNDERLINE
        A named preference that controls whether string constants are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_METHOD_NAME_COLOR

        @Deprecated
        public static final String EDITOR_JAVA_METHOD_NAME_COLOR
        Deprecated.
        the method name highlighting has been replaced by a semantic highlighting, see SemanticHighlightings.METHOD
        A named preference that holds the color used to render method names.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.0
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVA_METHOD_NAME_BOLD

        @Deprecated
        public static final String EDITOR_JAVA_METHOD_NAME_BOLD
        Deprecated.
        the method name highlighting has been replaced by a semantic highlighting, see SemanticHighlightings.METHOD
        A named preference that controls whether method names are rendered in bold.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVA_METHOD_NAME_ITALIC

        @Deprecated
        public static final String EDITOR_JAVA_METHOD_NAME_ITALIC
        Deprecated.
        the method name highlighting has been replaced by a semantic highlighting, see SemanticHighlightings.METHOD
        A named preference that controls whether method names are rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVA_KEYWORD_RETURN_COLOR

        public static final String EDITOR_JAVA_KEYWORD_RETURN_COLOR
        A named preference that holds the color used to render the 'return' keyword.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.0
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVA_KEYWORD_RETURN_BOLD

        public static final String EDITOR_JAVA_KEYWORD_RETURN_BOLD
        A named preference that controls whether 'return' keyword is rendered in bold.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVA_KEYWORD_RETURN_ITALIC

        public static final String EDITOR_JAVA_KEYWORD_RETURN_ITALIC
        A named preference that controls whether 'return' keyword is rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVA_KEYWORD_RETURN_STRIKETHROUGH

        public static final String EDITOR_JAVA_KEYWORD_RETURN_STRIKETHROUGH
        A named preference that controls whether 'return' keyword is rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_KEYWORD_RETURN_UNDERLINE

        public static final String EDITOR_JAVA_KEYWORD_RETURN_UNDERLINE
        A named preference that controls whether 'return' keyword is rendered in italic.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_OPERATOR_COLOR

        public static final String EDITOR_JAVA_OPERATOR_COLOR
        A named preference that holds the color used to render operators.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.0
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVA_OPERATOR_BOLD

        public static final String EDITOR_JAVA_OPERATOR_BOLD
        A named preference that controls whether operators are rendered in bold.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVA_OPERATOR_ITALIC

        public static final String EDITOR_JAVA_OPERATOR_ITALIC
        A named preference that controls whether operators are rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVA_OPERATOR_STRIKETHROUGH

        public static final String EDITOR_JAVA_OPERATOR_STRIKETHROUGH
        A named preference that controls whether operators are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_OPERATOR_UNDERLINE

        public static final String EDITOR_JAVA_OPERATOR_UNDERLINE
        A named preference that controls whether operators are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_BRACKET_COLOR

        public static final String EDITOR_JAVA_BRACKET_COLOR
        A named preference that holds the color used to render brackets.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.3
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVA_BRACKET_BOLD

        public static final String EDITOR_JAVA_BRACKET_BOLD
        A named preference that controls whether brackets are rendered in bold.

        Value is of type Boolean.

        Since:
        3.3
        See Also:
        Constant Field Values
      • EDITOR_JAVA_BRACKET_ITALIC

        public static final String EDITOR_JAVA_BRACKET_ITALIC
        A named preference that controls whether brackets are rendered in italic.

        Value is of type Boolean.

        Since:
        3.3
        See Also:
        Constant Field Values
      • EDITOR_JAVA_BRACKET_STRIKETHROUGH

        public static final String EDITOR_JAVA_BRACKET_STRIKETHROUGH
        A named preference that controls whether brackets are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.3
        See Also:
        Constant Field Values
      • EDITOR_JAVA_BRACKET_UNDERLINE

        public static final String EDITOR_JAVA_BRACKET_UNDERLINE
        A named preference that controls whether brackets are rendered in underline.

        Value is of type Boolean.

        Since:
        3.3
        See Also:
        Constant Field Values
      • EDITOR_JAVA_ANNOTATION_COLOR

        @Deprecated
        public static final String EDITOR_JAVA_ANNOTATION_COLOR
        Deprecated.
        the annotation highlighting has been replaced by a semantic highlighting, see SemanticHighlightings.ANNOTATION
        A named preference that holds the color used to render annotations.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.1
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVA_ANNOTATION_BOLD

        @Deprecated
        public static final String EDITOR_JAVA_ANNOTATION_BOLD
        Deprecated.
        the annotation highlighting has been replaced by a semantic highlighting, see SemanticHighlightings.ANNOTATION
        A named preference that controls whether annotations are rendered in bold.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_ANNOTATION_ITALIC

        @Deprecated
        public static final String EDITOR_JAVA_ANNOTATION_ITALIC
        Deprecated.
        the annotation highlighting has been replaced by a semantic highlighting, see SemanticHighlightings.ANNOTATION
        A named preference that controls whether annotations are rendered in italic.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_ANNOTATION_STRIKETHROUGH

        @Deprecated
        public static final String EDITOR_JAVA_ANNOTATION_STRIKETHROUGH
        Deprecated.
        the annotation highlighting has been replaced by a semantic highlighting, see SemanticHighlightings.ANNOTATION
        A named preference that controls whether annotations are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_ANNOTATION_UNDERLINE

        @Deprecated
        public static final String EDITOR_JAVA_ANNOTATION_UNDERLINE
        Deprecated.
        the annotation highlighting has been replaced by a semantic highlighting, see SemanticHighlightings.ANNOTATION
        A named preference that controls whether annotations are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_DEFAULT_COLOR

        public static final String EDITOR_JAVA_DEFAULT_COLOR
        A named preference that holds the color used to render java default text.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVA_DEFAULT_BOLD

        public static final String EDITOR_JAVA_DEFAULT_BOLD
        A named preference that controls whether Java default text is rendered in bold.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_JAVA_DEFAULT_ITALIC

        public static final String EDITOR_JAVA_DEFAULT_ITALIC
        A named preference that controls whether Java default text is rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVA_DEFAULT_STRIKETHROUGH

        public static final String EDITOR_JAVA_DEFAULT_STRIKETHROUGH
        A named preference that controls whether Java default text is rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVA_DEFAULT_UNDERLINE

        public static final String EDITOR_JAVA_DEFAULT_UNDERLINE
        A named preference that controls whether Java default text is rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_TASK_TAG_COLOR

        public static final String EDITOR_TASK_TAG_COLOR
        A named preference that holds the color used to render task tags.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        2.1
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_TASK_TAG_BOLD

        public static final String EDITOR_TASK_TAG_BOLD
        A named preference that controls whether task tags are rendered in bold.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_TASK_TAG_ITALIC

        public static final String EDITOR_TASK_TAG_ITALIC
        A named preference that controls whether task tags are rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_TASK_TAG_STRIKETHROUGH

        public static final String EDITOR_TASK_TAG_STRIKETHROUGH
        A named preference that controls whether task tags are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_TASK_TAG_UNDERLINE

        public static final String EDITOR_TASK_TAG_UNDERLINE
        A named preference that controls whether task tags are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_KEYWORD_COLOR

        public static final String EDITOR_JAVADOC_KEYWORD_COLOR
        A named preference that holds the color used to render javadoc keywords.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVADOC_KEYWORD_BOLD

        public static final String EDITOR_JAVADOC_KEYWORD_BOLD
        A named preference that controls whether javadoc keywords are rendered in bold.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_KEYWORD_ITALIC

        public static final String EDITOR_JAVADOC_KEYWORD_ITALIC
        A named preference that controls whether javadoc keywords are rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_KEYWORD_STRIKETHROUGH

        public static final String EDITOR_JAVADOC_KEYWORD_STRIKETHROUGH
        A named preference that controls whether javadoc keywords are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_KEYWORD_UNDERLINE

        public static final String EDITOR_JAVADOC_KEYWORD_UNDERLINE
        A named preference that controls whether javadoc keywords are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_TAG_COLOR

        public static final String EDITOR_JAVADOC_TAG_COLOR
        A named preference that holds the color used to render javadoc tags.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVADOC_TAG_BOLD

        public static final String EDITOR_JAVADOC_TAG_BOLD
        A named preference that controls whether javadoc tags are rendered in bold.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_TAG_ITALIC

        public static final String EDITOR_JAVADOC_TAG_ITALIC
        A named preference that controls whether javadoc tags are rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_TAG_STRIKETHROUGH

        public static final String EDITOR_JAVADOC_TAG_STRIKETHROUGH
        A named preference that controls whether javadoc tags are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_TAG_UNDERLINE

        public static final String EDITOR_JAVADOC_TAG_UNDERLINE
        A named preference that controls whether javadoc tags are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_LINKS_COLOR

        public static final String EDITOR_JAVADOC_LINKS_COLOR
        A named preference that holds the color used to render javadoc links.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVADOC_LINKS_BOLD

        public static final String EDITOR_JAVADOC_LINKS_BOLD
        A named preference that controls whether javadoc links are rendered in bold.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_LINKS_ITALIC

        public static final String EDITOR_JAVADOC_LINKS_ITALIC
        A named preference that controls whether javadoc links are rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_LINKS_STRIKETHROUGH

        public static final String EDITOR_JAVADOC_LINKS_STRIKETHROUGH
        A named preference that controls whether javadoc links are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_LINKS_UNDERLINE

        public static final String EDITOR_JAVADOC_LINKS_UNDERLINE
        A named preference that controls whether javadoc links are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_DEFAULT_COLOR

        public static final String EDITOR_JAVADOC_DEFAULT_COLOR
        A named preference that holds the color used to render javadoc default text.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_JAVADOC_DEFAULT_BOLD

        public static final String EDITOR_JAVADOC_DEFAULT_BOLD
        A named preference that controls whether javadoc default text is rendered in bold.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_DEFAULT_ITALIC

        public static final String EDITOR_JAVADOC_DEFAULT_ITALIC
        A named preference that controls whether javadoc default text is rendered in italic.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_DEFAULT_STRIKETHROUGH

        public static final String EDITOR_JAVADOC_DEFAULT_STRIKETHROUGH
        A named preference that controls whether javadoc default text is rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_JAVADOC_DEFAULT_UNDERLINE

        public static final String EDITOR_JAVADOC_DEFAULT_UNDERLINE
        A named preference that controls whether javadoc default text is rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_SHOW_HOVER

        public static final String EDITOR_SHOW_HOVER
        A named preference that controls whether hover tool tips in the editor are turned on or off.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_NO_HOVER_CONFIGURED_ID

        @Deprecated
        public static final String EDITOR_NO_HOVER_CONFIGURED_ID
        Deprecated.
        As of 3.0, replaced by EDITOR_TEXT_HOVER_MODIFIERS
        A string value used by the named preferences for hover configuration to describe that no hover should be shown for the given key modifiers.
        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_DEFAULT_HOVER_CONFIGURED_ID

        @Deprecated
        public static final String EDITOR_DEFAULT_HOVER_CONFIGURED_ID
        Deprecated.
        As of 3.0, replaced by EDITOR_TEXT_HOVER_MODIFIERS
        A string value used by the named preferences for hover configuration to describe that the default hover should be shown for the given key modifiers. The default hover is described by the EDITOR_DEFAULT_HOVER property.
        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_DEFAULT_HOVER

        @Deprecated
        public static final String EDITOR_DEFAULT_HOVER
        Deprecated.
        As of 3.0, replaced by EDITOR_TEXT_HOVER_MODIFIERS
        A named preference that defines the hover named the 'default hover'. Value is of type String: possible values are EDITOR_NO_HOVER_CONFIGURED_ID or the hover id of a hover contributed as javaEditorTextHovers.
        Since:
        2.1
        See Also:
        Constant Field Values
      • EDITOR_SHOW_SEGMENTS

        public static final String EDITOR_SHOW_SEGMENTS
        A named preference that controls if segmented view (show selected element only) is turned on or off.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • EDITOR_MARK_OCCURRENCES

        public static final String EDITOR_MARK_OCCURRENCES
        A named preference that controls whether occurrences are marked in the editor.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_STICKY_OCCURRENCES

        public static final String EDITOR_STICKY_OCCURRENCES
        A named preference that controls whether occurrences are sticky in the editor.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_MARK_TYPE_OCCURRENCES

        public static final String EDITOR_MARK_TYPE_OCCURRENCES
        A named preference that controls whether type occurrences are marked. Only valid if EDITOR_MARK_OCCURRENCES is true.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_MARK_METHOD_OCCURRENCES

        public static final String EDITOR_MARK_METHOD_OCCURRENCES
        A named preference that controls whether method occurrences are marked. Only valid if EDITOR_MARK_OCCURRENCES is true.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_MARK_FIELD_OCCURRENCES

        public static final String EDITOR_MARK_FIELD_OCCURRENCES
        A named preference that controls whether non-constant field occurrences are marked. Only valid if EDITOR_MARK_OCCURRENCES is true.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_MARK_CONSTANT_OCCURRENCES

        public static final String EDITOR_MARK_CONSTANT_OCCURRENCES
        A named preference that controls whether constant (static final) occurrences are marked. Only valid if EDITOR_MARK_OCCURRENCES is true.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_MARK_LOCAL_VARIABLE_OCCURRENCES

        public static final String EDITOR_MARK_LOCAL_VARIABLE_OCCURRENCES
        A named preference that controls whether local variable occurrences are marked. Only valid if EDITOR_MARK_OCCURRENCES is true.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_MARK_EXCEPTION_OCCURRENCES

        public static final String EDITOR_MARK_EXCEPTION_OCCURRENCES
        A named preference that controls whether exception occurrences are marked. Only valid if EDITOR_MARK_OCCURRENCES is true.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_MARK_METHOD_EXIT_POINTS

        public static final String EDITOR_MARK_METHOD_EXIT_POINTS
        A named preference that controls whether method exit points are marked. Only valid if EDITOR_MARK_OCCURRENCES is true.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_MARK_BREAK_CONTINUE_TARGETS

        public static final String EDITOR_MARK_BREAK_CONTINUE_TARGETS
        A named preference that controls whether targets for of break and continue statements are marked. Only valid if EDITOR_MARK_OCCURRENCES is true.

        Value is of type Boolean.

        Since:
        3.2
        See Also:
        Constant Field Values
      • EDITOR_MARK_IMPLEMENTORS

        public static final String EDITOR_MARK_IMPLEMENTORS
        A named preference that controls whether method exit points are marked. Only valid if EDITOR_MARK_OCCURRENCES is true.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_SEMANTIC_HIGHLIGHTING_PREFIX

        public static final String EDITOR_SEMANTIC_HIGHLIGHTING_PREFIX
        A named preference prefix for semantic highlighting preferences.
        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_JAVA_CODEMINING_PREFIX

        public static final String EDITOR_JAVA_CODEMINING_PREFIX
        A named preference prefix for Java code mining preferences.
        Since:
        3.14
        See Also:
        Constant Field Values
      • EDITOR_SEMANTIC_HIGHLIGHTING_ENABLED

        @Deprecated
        public static final String EDITOR_SEMANTIC_HIGHLIGHTING_ENABLED
        Deprecated.
        As of 3.1, this preference is not used or set any longer; see SemanticHighlightings.affectsEnablement(IPreferenceStore, org.eclipse.jface.util.PropertyChangeEvent)
        A named preference that controls if semantic highlighting is enabled.

        Value is of type Boolean:true if enabled.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_SEMANTIC_HIGHLIGHTING_COLOR_SUFFIX

        public static final String EDITOR_SEMANTIC_HIGHLIGHTING_COLOR_SUFFIX
        A named preference suffix that controls a semantic highlighting's color.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.0
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_SEMANTIC_HIGHLIGHTING_BOLD_SUFFIX

        public static final String EDITOR_SEMANTIC_HIGHLIGHTING_BOLD_SUFFIX
        A named preference suffix that controls if semantic highlighting has the text attribute bold.

        Value is of type Boolean: true if bold.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_SEMANTIC_HIGHLIGHTING_ITALIC_SUFFIX

        public static final String EDITOR_SEMANTIC_HIGHLIGHTING_ITALIC_SUFFIX
        A named preference suffix that controls if semantic highlighting has the text attribute italic.

        Value is of type Boolean: true if italic.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_SEMANTIC_HIGHLIGHTING_STRIKETHROUGH_SUFFIX

        public static final String EDITOR_SEMANTIC_HIGHLIGHTING_STRIKETHROUGH_SUFFIX
        A named preference suffix that controls if semantic highlighting has the text attribute strikethrough.

        Value is of type Boolean: true if strikethrough.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_SEMANTIC_HIGHLIGHTING_UNDERLINE_SUFFIX

        public static final String EDITOR_SEMANTIC_HIGHLIGHTING_UNDERLINE_SUFFIX
        A named preference suffix that controls if semantic highlighting has the text attribute underline.

        Value is of type Boolean: true if underline.

        Since:
        3.1
        See Also:
        Constant Field Values
      • EDITOR_SEMANTIC_HIGHLIGHTING_ENABLED_SUFFIX

        public static final String EDITOR_SEMANTIC_HIGHLIGHTING_ENABLED_SUFFIX
        A named preference suffix that controls if semantic highlighting is enabled.

        Value is of type Boolean: true if enabled.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_SMART_SEMICOLON

        public static final String EDITOR_SMART_SEMICOLON
        A named preference that controls the "smart semicolon" smart typing handler.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_SMART_BACKSPACE

        public static final String EDITOR_SMART_BACKSPACE
        A named preference that controls the smart backspace behavior.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_SMART_OPENING_BRACE

        public static final String EDITOR_SMART_OPENING_BRACE
        A named preference that controls the "smart opening brace" smart typing handler.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_SMART_TAB

        public static final String EDITOR_SMART_TAB
        A named preference that controls the smart tab behavior.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • SPELLING_IGNORE_DIGITS

        public static final String SPELLING_IGNORE_DIGITS
        A named preference that controls whether words containing digits should be skipped during spell checking.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • SPELLING_IGNORE_MIXED

        public static final String SPELLING_IGNORE_MIXED
        A named preference that controls whether mixed case words should be skipped during spell checking.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • SPELLING_IGNORE_SENTENCE

        public static final String SPELLING_IGNORE_SENTENCE
        A named preference that controls whether sentence capitalization should be ignored during spell checking.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • SPELLING_IGNORE_UPPER

        public static final String SPELLING_IGNORE_UPPER
        A named preference that controls whether upper case words should be skipped during spell checking.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • SPELLING_IGNORE_URLS

        public static final String SPELLING_IGNORE_URLS
        A named preference that controls whether URLs should be ignored during spell checking.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • SPELLING_IGNORE_SINGLE_LETTERS

        public static final String SPELLING_IGNORE_SINGLE_LETTERS
        A named preference that controls whether single letters should be ignored during spell checking.

        Value is of type Boolean.

        Since:
        3.3
        See Also:
        Constant Field Values
      • SPELLING_IGNORE_AMPERSAND_IN_PROPERTIES

        public static final String SPELLING_IGNORE_AMPERSAND_IN_PROPERTIES
        A named preference that controls whether '&' in Java properties files are ignored.

        Value is of type Boolean.

        Since:
        3.3
        See Also:
        Constant Field Values
      • SPELLING_IGNORE_NON_LETTERS

        public static final String SPELLING_IGNORE_NON_LETTERS
        A named preference that controls whether non-letters at word boundaries should be ignored during spell checking.

        Value is of type Boolean.

        Since:
        3.3
        See Also:
        Constant Field Values
      • SPELLING_IGNORE_JAVA_STRINGS

        public static final String SPELLING_IGNORE_JAVA_STRINGS
        A named preference that controls whether Java strings should be ignored during spell checking.

        Value is of type Boolean.

        Since:
        3.4
        See Also:
        Constant Field Values
      • SPELLING_LOCALE

        public static final String SPELLING_LOCALE
        A named preference that controls the locale used for spell checking.

        Value is of type String.

        Since:
        3.0
        See Also:
        Constant Field Values
      • SPELLING_PROPOSAL_THRESHOLD

        public static final String SPELLING_PROPOSAL_THRESHOLD
        A named preference that controls the number of proposals offered during spell checking.

        Value is of type Integer.

        Since:
        3.0
        See Also:
        Constant Field Values
      • SPELLING_PROBLEMS_THRESHOLD

        public static final String SPELLING_PROBLEMS_THRESHOLD
        A named preference that controls the maximum number of problems reported during spell checking.

        Value is of type Integer.

        Since:
        3.4
        See Also:
        Constant Field Values
      • SPELLING_USER_DICTIONARY

        public static final String SPELLING_USER_DICTIONARY
        A named preference that specifies the workspace user dictionary.

        Value is of type Integer.

        Since:
        3.0
        See Also:
        Constant Field Values
      • SPELLING_USER_DICTIONARY_ENCODING

        public static final String SPELLING_USER_DICTIONARY_ENCODING
        A named preference that specifies encoding of the workspace user dictionary.

        Value is of type String.

        Since:
        3.3
        See Also:
        Constant Field Values
      • SPELLING_ENABLE_CONTENTASSIST

        public static final String SPELLING_ENABLE_CONTENTASSIST
        A named preference that specifies whether spelling dictionaries are available to content assist. Note: This is currently not supported because the spelling engine cannot return word proposals but only correction proposals.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • CODEASSIST_AUTOACTIVATION

        public static final String CODEASSIST_AUTOACTIVATION
        A named preference that controls if the Java code assist gets auto activated.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • CODEASSIST_AUTOACTIVATION_DELAY

        public static final String CODEASSIST_AUTOACTIVATION_DELAY
        A name preference that holds the auto activation delay time in milliseconds.

        Value is of type Integer.

        See Also:
        Constant Field Values
      • CODEASSIST_SHOW_VISIBLE_PROPOSALS

        public static final String CODEASSIST_SHOW_VISIBLE_PROPOSALS
        A named preference that controls if code assist contains only visible proposals.

        Value is of type Boolean. if true code assist only contains visible members. If false all members are included.

        See Also:
        Constant Field Values
      • CODEASSIST_AUTOINSERT

        public static final String CODEASSIST_AUTOINSERT
        A named preference that controls if the Java code assist inserts a proposal automatically if only one proposal is available.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • CODEASSIST_ADDIMPORT

        public static final String CODEASSIST_ADDIMPORT
        A named preference that controls if the Java code assist adds import statements.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • CODEASSIST_INSERT_COMPLETION

        public static final String CODEASSIST_INSERT_COMPLETION
        A named preference that controls if the Java code assist only inserts completions. If set to false the proposals can also _replace_ code.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • CODEASSIST_CASE_SENSITIVITY

        public static final String CODEASSIST_CASE_SENSITIVITY
        A named preference that controls whether code assist proposals filtering is case sensitive or not.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • CODEASSIST_ORDER_PROPOSALS

        @Deprecated
        public static final String CODEASSIST_ORDER_PROPOSALS
        Deprecated.
        use CODEASSIST_SORTER instead
        A named preference that defines if code assist proposals are sorted in alphabetical order.

        Value is of type Boolean. If true that are sorted in alphabetical order. If false that are unsorted.

        See Also:
        Constant Field Values
      • CODEASSIST_FILL_ARGUMENT_NAMES

        public static final String CODEASSIST_FILL_ARGUMENT_NAMES
        A named preference that controls if argument names are filled in when a method is selected from as list of code assist proposal.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • CODEASSIST_GUESS_METHOD_ARGUMENTS

        public static final String CODEASSIST_GUESS_METHOD_ARGUMENTS
        A named preference that controls if method arguments are guessed when a method is selected from as list of code assist proposal.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA

        public static final String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA
        A named preference that holds the characters that auto activate code assist in Java code.

        Value is of type String. All characters that trigger auto code assist in Java code.

        See Also:
        Constant Field Values
      • CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC

        public static final String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC
        A named preference that holds the characters that auto activate code assist in Javadoc.

        Value is of type String. All characters that trigger auto code assist in Javadoc.

        See Also:
        Constant Field Values
      • CODEASSIST_PARAMETERS_BACKGROUND

        public static final String CODEASSIST_PARAMETERS_BACKGROUND
        A named preference that holds the background color used for parameter hints.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • CODEASSIST_PARAMETERS_FOREGROUND

        public static final String CODEASSIST_PARAMETERS_FOREGROUND
        A named preference that holds the foreground color used in the code assist selection dialog.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • CODEASSIST_REPLACEMENT_BACKGROUND

        public static final String CODEASSIST_REPLACEMENT_BACKGROUND
        A named preference that holds the background color used in the code assist selection dialog to mark replaced code.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        2.1
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • CODEASSIST_REPLACEMENT_FOREGROUND

        public static final String CODEASSIST_REPLACEMENT_FOREGROUND
        A named preference that holds the foreground color used in the code assist selection dialog to mark replaced code.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        2.1
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • REFACTOR_SAVE_ALL_EDITORS

        public static final String REFACTOR_SAVE_ALL_EDITORS
        A named preference that controls whether all dirty editors are automatically saved before a refactoring is executed.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • REFACTOR_LIGHTWEIGHT

        public static final String REFACTOR_LIGHTWEIGHT
        A named preference that controls whether certain refactorings use a lightweight UI when started from a Java editor.

        Value is of type Boolean.

        Note: this is work in progress and may change any time

        Since:
        3.3
        See Also:
        Constant Field Values
      • SEARCH_USE_REDUCED_MENU

        public static final String SEARCH_USE_REDUCED_MENU
        A named preference that controls a reduced search menu is used in the Java editors.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • BROWSING_LINK_VIEW_TO_EDITOR

        public static final String BROWSING_LINK_VIEW_TO_EDITOR
        A named preference that controls if the Java Browsing views are linked to the active editor.

        Value is of type Boolean.

        See Also:
        Constant Field Values
      • BROWSING_STACK_VERTICALLY

        public static final String BROWSING_STACK_VERTICALLY
        A named preference that controls the layout of the Java Browsing views vertically. Boolean value.

        Value is of type Boolean. If true the views are stacked vertical. If false they are stacked horizontal.

        See Also:
        Constant Field Values
      • TEMPLATES_USE_CODEFORMATTER

        public static final String TEMPLATES_USE_CODEFORMATTER
        A named preference that controls if templates are formatted when applied.

        Value is of type Boolean.

        Since:
        2.1
        See Also:
        Constant Field Values
      • FORMATTER_PROFILE

        public static final String FORMATTER_PROFILE
        A named preference that controls which profile is used by the code formatter.

        Value is of type String.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_ANNOTATION_ROLL_OVER

        public static final String EDITOR_ANNOTATION_ROLL_OVER
        A named preference that controls whether annotation roll over is used or not.

        Value is of type Boolean. If true the annotation ruler column uses a roll over to display multiple annotations

        Since:
        3.0
        See Also:
        Constant Field Values
      • CODEASSIST_PREFIX_COMPLETION

        public static final String CODEASSIST_PREFIX_COMPLETION
        A named preference that controls if content assist inserts the common prefix of all proposals before presenting choices.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • CODEASSIST_CATEGORY_ORDER

        public static final String CODEASSIST_CATEGORY_ORDER
        A named preference that controls which the order of the specific code assist commands.

        Value is of type String, a "\0"-separated list with categoryId:cycleState where

        • categoryId is the String holding the category ID
        • cycleState is an int which specifies the rank and the enablement:
          • enabled= cycleState < 65535
          • rank= enabled ? cycleState : cycleState - 65535)
        Since:
        3.2
        See Also:
        Constant Field Values
      • EDITOR_FOLDING_ENABLED

        public static final String EDITOR_FOLDING_ENABLED
        A named preference that controls whether folding is enabled in the Java editor.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_FOLDING_PROVIDER

        public static final String EDITOR_FOLDING_PROVIDER
        A named preference that stores the configured folding provider.

        Value is of type String.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_FOLDING_JAVADOC

        public static final String EDITOR_FOLDING_JAVADOC
        A named preference that stores the value for Javadoc folding for the default folding provider.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_FOLDING_INNERTYPES

        public static final String EDITOR_FOLDING_INNERTYPES
        A named preference that stores the value for inner type folding for the default folding provider.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_FOLDING_METHODS

        public static final String EDITOR_FOLDING_METHODS
        A named preference that stores the value for method folding for the default folding provider.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_FOLDING_IMPORTS

        public static final String EDITOR_FOLDING_IMPORTS
        A named preference that stores the value for imports folding for the default folding provider.

        Value is of type Boolean.

        Since:
        3.0
        See Also:
        Constant Field Values
      • EDITOR_FOLDING_HEADERS

        public static final String EDITOR_FOLDING_HEADERS
        A named preference that stores the value for header comment folding for the default folding provider.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PREF_DEFAULT_EXPAND_WITH_CONSTRUCTORS_MEMBERS

        public static final String PREF_DEFAULT_EXPAND_WITH_CONSTRUCTORS_MEMBERS
        A named preference that holds the methods or types whose methods are by default expanded with constructors in the Call Hierarchy.

        Value is of type String: semicolon separated list of fully qualified type names appended with ".*" or "." + method name.

        Since:
        3.6
        See Also:
        Constant Field Values
      • PREF_ANONYMOUS_EXPAND_WITH_CONSTRUCTORS

        public static final String PREF_ANONYMOUS_EXPAND_WITH_CONSTRUCTORS
        A named preference that controls whether methods from anonymous types are by default expanded with constructors in the Call Hierarchy.

        Value is of type Boolean.

        Since:
        3.6
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_EDITOR_TEXT_FONT

        public static final String PROPERTIES_FILE_EDITOR_TEXT_FONT
        The symbolic font name for the Java properties file editor text font (value "org.eclipse.jdt.ui.PropertiesFileEditor.textfont").
        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_KEY

        public static final String PROPERTIES_FILE_COLORING_KEY
        A named preference that holds the color used to render keys in a properties file.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.1
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • PROPERTIES_FILE_COLORING_KEY_BOLD

        public static final String PROPERTIES_FILE_COLORING_KEY_BOLD
        A named preference that controls whether keys in a properties file are rendered in bold.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_KEY_ITALIC

        public static final String PROPERTIES_FILE_COLORING_KEY_ITALIC
        A named preference that controls whether keys in a properties file are rendered in italic.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_KEY_STRIKETHROUGH

        public static final String PROPERTIES_FILE_COLORING_KEY_STRIKETHROUGH
        A named preference that controls whether keys in a properties file are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_KEY_UNDERLINE

        public static final String PROPERTIES_FILE_COLORING_KEY_UNDERLINE
        A named preference that controls whether keys in a properties file are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_COMMENT

        public static final String PROPERTIES_FILE_COLORING_COMMENT
        A named preference that holds the color used to render comments in a properties file.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.1
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • PROPERTIES_FILE_COLORING_COMMENT_BOLD

        public static final String PROPERTIES_FILE_COLORING_COMMENT_BOLD
        A named preference that controls whether comments in a properties file are rendered in bold.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_COMMENT_ITALIC

        public static final String PROPERTIES_FILE_COLORING_COMMENT_ITALIC
        A named preference that controls whether comments in a properties file are rendered in italic.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_COMMENT_STRIKETHROUGH

        public static final String PROPERTIES_FILE_COLORING_COMMENT_STRIKETHROUGH
        A named preference that controls whether comments in a properties file are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_COMMENT_UNDERLINE

        public static final String PROPERTIES_FILE_COLORING_COMMENT_UNDERLINE
        A named preference that controls whether comments in a properties file are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_VALUE

        public static final String PROPERTIES_FILE_COLORING_VALUE
        A named preference that holds the color used to render values in a properties file.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.1
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • PROPERTIES_FILE_COLORING_VALUE_BOLD

        public static final String PROPERTIES_FILE_COLORING_VALUE_BOLD
        A named preference that controls whether values in a properties file are rendered in bold.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_VALUE_ITALIC

        public static final String PROPERTIES_FILE_COLORING_VALUE_ITALIC
        A named preference that controls whether values in a properties file are rendered in italic.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_VALUE_STRIKETHROUGH

        public static final String PROPERTIES_FILE_COLORING_VALUE_STRIKETHROUGH
        A named preference that controls whether values in a properties file are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_VALUE_UNDERLINE

        public static final String PROPERTIES_FILE_COLORING_VALUE_UNDERLINE
        A named preference that controls whether values in a properties file are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_ASSIGNMENT

        public static final String PROPERTIES_FILE_COLORING_ASSIGNMENT
        A named preference that holds the color used to render assignments in a properties file.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.1
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • PROPERTIES_FILE_COLORING_ASSIGNMENT_BOLD

        public static final String PROPERTIES_FILE_COLORING_ASSIGNMENT_BOLD
        A named preference that controls whether assignments in a properties file are rendered in bold.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_ASSIGNMENT_ITALIC

        public static final String PROPERTIES_FILE_COLORING_ASSIGNMENT_ITALIC
        A named preference that controls whether assignments in a properties file are rendered in italic.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_ASSIGNMENT_STRIKETHROUGH

        public static final String PROPERTIES_FILE_COLORING_ASSIGNMENT_STRIKETHROUGH
        A named preference that controls whether assignments in a properties file are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_ASSIGNMENT_UNDERLINE

        public static final String PROPERTIES_FILE_COLORING_ASSIGNMENT_UNDERLINE
        A named preference that controls whether assignments in a properties file are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_ARGUMENT

        public static final String PROPERTIES_FILE_COLORING_ARGUMENT
        A named preference that holds the color used to render arguments in a properties file.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.1
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • PROPERTIES_FILE_COLORING_ARGUMENT_BOLD

        public static final String PROPERTIES_FILE_COLORING_ARGUMENT_BOLD
        A named preference that controls whether arguments in a properties file are rendered in bold.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_ARGUMENT_ITALIC

        public static final String PROPERTIES_FILE_COLORING_ARGUMENT_ITALIC
        A named preference that controls whether arguments in a properties file are rendered in italic.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_ARGUMENT_STRIKETHROUGH

        public static final String PROPERTIES_FILE_COLORING_ARGUMENT_STRIKETHROUGH
        A named preference that controls whether arguments in a properties file are rendered in strikethrough.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • PROPERTIES_FILE_COLORING_ARGUMENT_UNDERLINE

        public static final String PROPERTIES_FILE_COLORING_ARGUMENT_UNDERLINE
        A named preference that controls whether arguments in a properties file are rendered in underline.

        Value is of type Boolean.

        Since:
        3.1
        See Also:
        Constant Field Values
      • CODEASSIST_LRU_HISTORY

        public static final String CODEASSIST_LRU_HISTORY
        A named preference that stores the content assist LRU history

        Value is an XML encoded version of the history.

        Since:
        3.2
        See Also:
        ContentAssistHistory.load(org.eclipse.core.runtime.Preferences, String), Constant Field Values
      • CODEASSIST_SORTER

        public static final String CODEASSIST_SORTER
        A named preference that stores the content assist sorter id.

        Value is a String.

        Since:
        3.2
        See Also:
        ProposalSorterRegistry, Constant Field Values
      • EDITOR_SOURCE_HOVER_BACKGROUND_COLOR

        public static final String EDITOR_SOURCE_HOVER_BACKGROUND_COLOR
        A named preference that holds the source hover background color.

        Value is of type String. A RGB color value encoded as a string using class PreferenceConverter

        Since:
        3.3
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • DECORATE_TEST_CODE_CONTAINER_ICONS

        public static final String DECORATE_TEST_CODE_CONTAINER_ICONS
        A named preference that tells whether to use different icons for source folders marked to contain test code and classpath entries visible only for test sources.

        Value is of type Boolean.

        Since:
        3.14
        See Also:
        StringConverter, PreferenceConverter, Constant Field Values
      • EDITOR_CODEMINING_ENABLED

        public static final String EDITOR_CODEMINING_ENABLED
        A named preference that controls whether codemining is enabled in the Java editor.

        Value is of type Boolean.

        Since:
        3.16
        See Also:
        Constant Field Values
      • EDITOR_JAVA_CODEMINING_SHOW_CODEMINING_AT_LEAST_ONE

        public static final String EDITOR_JAVA_CODEMINING_SHOW_CODEMINING_AT_LEAST_ONE
        A named preference that stores the value for "Only if there is at least one result".

        Value is of type Boolean.

        Since:
        3.16
        See Also:
        Constant Field Values
      • EDITOR_JAVA_CODEMINING_SHOW_REFERENCES

        public static final String EDITOR_JAVA_CODEMINING_SHOW_REFERENCES
        A named preference that stores the value for "Show references" codemining.

        Value is of type Boolean.

        Since:
        3.16
        See Also:
        Constant Field Values
      • EDITOR_JAVA_CODEMINING_SHOW_REFERENCES_ON_TYPES

        public static final String EDITOR_JAVA_CODEMINING_SHOW_REFERENCES_ON_TYPES
        A named preference that stores the value for "Show references" on types.

        Value is of type Boolean.

        Since:
        3.16
        See Also:
        Constant Field Values
      • EDITOR_JAVA_CODEMINING_SHOW_REFERENCES_ON_FIELDS

        public static final String EDITOR_JAVA_CODEMINING_SHOW_REFERENCES_ON_FIELDS
        A named preference that stores the value for "Show references" on fields.

        Value is of type Boolean.

        Since:
        3.16
        See Also:
        Constant Field Values
      • EDITOR_JAVA_CODEMINING_SHOW_REFERENCES_ON_METHODS

        public static final String EDITOR_JAVA_CODEMINING_SHOW_REFERENCES_ON_METHODS
        A named preference that stores the value for "Show references" on methods.

        Value is of type Boolean.

        Since:
        3.16
        See Also:
        Constant Field Values
      • EDITOR_JAVA_CODEMINING_SHOW_IMPLEMENTATIONS

        public static final String EDITOR_JAVA_CODEMINING_SHOW_IMPLEMENTATIONS
        A named preference that stores the value for "Show implementations" codemining.

        Value is of type Boolean.

        Since:
        3.16
        See Also:
        Constant Field Values
      • EDITOR_JAVA_CODEMINING_SHOW_PARAMETER_NAMES

        public static final String EDITOR_JAVA_CODEMINING_SHOW_PARAMETER_NAMES
        A named preference that stores the value for "Show parameter names" codemining.

        Value is of type Boolean.

        Since:
        3.18
        See Also:
        Constant Field Values
      • PREF_MAX_CHAINS

        public static final String PREF_MAX_CHAINS
        A named preference that stores the maximum number of chain completions to be proposed at one time.

        Value is of type Integer

        Since:
        3.18
        See Also:
        Constant Field Values
      • PREF_MIN_CHAIN_LENGTH

        public static final String PREF_MIN_CHAIN_LENGTH
        A named preference that stores the minimum number of chain sequences for a given completion.

        Value is of type Integer

        Since:
        3.18
        See Also:
        Constant Field Values
      • PREF_MAX_CHAIN_LENGTH

        public static final String PREF_MAX_CHAIN_LENGTH
        A named preference that stores the maximum number of chain sequences for a given completion.

        Value is of type Integer

        Since:
        3.18
        See Also:
        Constant Field Values
      • PREF_CHAIN_TIMEOUT

        public static final String PREF_CHAIN_TIMEOUT
        A named preference that stores the amount of time (in seconds) to allow for chain completion processing. The chain completion processor timeout value.

        Value is of type Integer

        Since:
        3.18
        See Also:
        Constant Field Values
      • PREF_CHAIN_IGNORED_TYPES

        public static final String PREF_CHAIN_IGNORED_TYPES
        A named preference that stores a '|' separated list of types to exclude from chain completion processing.

        Value is of type String

        Since:
        3.18
        See Also:
        Constant Field Values
    • Method Detail

      • initializeDefaultValues

        public static void initializeDefaultValues​(IPreferenceStore store)
        Initializes the given preference store with the default values.
        Parameters:
        store - the preference store to be initialized
        Since:
        2.1
      • getPreferenceStore

        public static IPreferenceStore getPreferenceStore()
        Returns the JDT-UI preference store.
        Returns:
        the JDT-UI preference store
      • encodeJRELibrary

        public static String encodeJRELibrary​(String description,
                                              IClasspathEntry[] entries)
        Encodes a JRE library to be used in the named preference NEWPROJECT_JRELIBRARY_LIST.
        Parameters:
        description - a string value describing the JRE library. The description is used to identify the JDR library in the UI
        entries - an array of classpath entries to be encoded
        Returns:
        the encoded string.
      • decodeJRELibraryDescription

        public static String decodeJRELibraryDescription​(String encodedLibrary)
        Decodes an encoded JRE library and returns its description string.
        Parameters:
        encodedLibrary - the encoded library
        Returns:
        the description of an encoded JRE library
        See Also:
        encodeJRELibrary(String, IClasspathEntry[])
      • decodeJRELibraryClasspathEntries

        public static IClasspathEntry[] decodeJRELibraryClasspathEntries​(String encodedLibrary)
        Decodes an encoded JRE library and returns its class path entries.
        Parameters:
        encodedLibrary - the encoded library
        Returns:
        the array of classpath entries of an encoded JRE library.
        See Also:
        encodeJRELibrary(String, IClasspathEntry[])
      • getDefaultJRELibrary

        public static IClasspathEntry[] getDefaultJRELibrary()
        Returns the current configuration for the JRE to be used as default in new Java projects. This is a convenience method to access the named preference NEWPROJECT_JRELIBRARY_LIST with the index defined by NEWPROJECT_JRELIBRARY_INDEX.
        Returns:
        the current default set of class path entries
        See Also:
        NEWPROJECT_JRELIBRARY_LIST, NEWPROJECT_JRELIBRARY_INDEX
      • getExcludedCompletionProposalCategories

        public static String[] getExcludedCompletionProposalCategories()
        Returns the completion proposal categories which are excluded from the default proposal list.
        Returns:
        an array with the IDs of the excluded categories
        Since:
        3.4
        See Also:
        CODEASSIST_EXCLUDED_CATEGORIES
      • setExcludedCompletionProposalCategories

        public static void setExcludedCompletionProposalCategories​(String[] categories)
        Sets the completion proposal categories which are excluded from the default proposal list and reloads the registry.
        Parameters:
        categories - the array with the IDs of the excluded categories
        Since:
        3.4
        See Also:
        CODEASSIST_EXCLUDED_CATEGORIES
      • getPreference

        public static String getPreference​(String key,
                                           IJavaProject project)
        Returns the value for the given key in the given context.
        Parameters:
        key - The preference key
        project - The current context or null if no context is available and the workspace setting should be taken. Note that passing null should be avoided.
        Returns:
        Returns the current value for the string.
        Since:
        3.1