1
/*******************************************************************************
2
* Copyright (c) 2000, 2011 QNX Software Systems and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* QNX Software Systems - Initial API and implementation
10
* Markus Schorn (Wind River Systems)
11
* Sergey Prigogin (Google)
13
* Jens Elmenthaler - http://bugs.eclipse.org/173458 (camel case completion)
14
*******************************************************************************/
15
package org.eclipse.cdt.core;
18
* @noextend This class is not intended to be subclassed by clients.
19
* @noinstantiate This class is not intended to be instantiated by clients.
21
public class CCorePreferenceConstants {
26
* Define the Automatic Task Tags
27
* When the tag list is not empty, indexer will issue a task marker whenever it encounters
28
* one of the corresponding tags inside any comment in C/C++ source code.
29
* Generated task messages will include the tag, and range until the next line separator or comment ending.
30
* Note that tasks messages are trimmed. If a tag is starting with a letter or digit, then it cannot be leaded by
31
* another letter or digit to be recognized ("fooToDo" will not be recognized as a task for tag "ToDo", but "foo#ToDo"
32
* will be detected for either tag "ToDo" or "#ToDo"). Respectively, a tag ending with a letter or digit cannot be followed
33
* by a letter or digit to be recognized ("ToDofoo" will not be recognized as a task for tag "ToDo", but "ToDo:foo" will
34
* be detected either for tag "ToDo" or "ToDo:").
35
* - option id: "org.eclipse.cdt.core.taskTags"
36
* - possible values: { "<tag>[,<tag>]*" } where <tag> is a String without any wild-card or leading/trailing spaces
39
* Define the Automatic Task Priorities
40
* In parallel with the Automatic Task Tags, this list defines the priorities (high, normal or low)
41
* of the task markers issued by the translation.
42
* If the default is specified, the priority of each task marker is "normal".
43
* - option id: "org.eclipse.cdt.core.taskPriorities"
44
* - possible values: { "<priority>[,<priority>]*" } where <priority> is one of "high", "normal" or "low"
49
* Task tags used in code comments.
51
public static final String TODO_TASK_TAGS = CCorePlugin.PLUGIN_ID + ".taskTags"; //$NON-NLS-1$
56
public static final String DEFAULT_TASK_TAG = "TODO"; //$NON-NLS-1$
59
* List of tags provided by default
62
public static final String DEFAULT_TASK_TAGS = DEFAULT_TASK_TAG + ",FIXME,XXX"; //$NON-NLS-1$
65
* Possible configurable option value for TODO_TASK_PRIORITIES.
67
public static final String TASK_PRIORITY_NORMAL = "normal"; //$NON-NLS-1$
69
* Possible configurable option value for TODO_TASK_PRIORITIES.
71
public static final String TASK_PRIORITY_HIGH = "high"; //$NON-NLS-1$
73
* Possible configurable option value for TODO_TASK_PRIORITIES.
75
public static final String TASK_PRIORITY_LOW = "low"; //$NON-NLS-1$
77
* Default task priority
79
public static final String DEFAULT_TASK_PRIORITY = TASK_PRIORITY_NORMAL;
82
* Priorities associated with task tags.
84
public static final String TODO_TASK_PRIORITIES = CCorePlugin.PLUGIN_ID + ".taskPriorities"; //$NON-NLS-1$
87
* Case sensitivity of task tags.
89
public static final String TODO_TASK_CASE_SENSITIVE = CCorePlugin.PLUGIN_ID + ".taskCaseSensitive"; //$NON-NLS-1$
92
* Default case sensitivity of task tags.
94
public static final String DEFAULT_TASK_CASE_SENSITIVE = "false"; //$NON-NLS-1$
97
* Active code formatter ID.
99
public static final String CODE_FORMATTER = CCorePlugin.PLUGIN_ID + ".code_formatter"; //$NON-NLS-1$
102
* Default code formatter
104
public static final String DEFAULT_CODE_FORMATTER = CCorePlugin.PLUGIN_ID + ".defaultCodeFormatter"; //$NON-NLS-1$
107
* Cache size for the index in percentage of max memory.
109
public static final String INDEX_DB_CACHE_SIZE_PCT = CCorePlugin.PLUGIN_ID + ".indexDBCacheSizePct"; //$NON-NLS-1$
112
* Default cache size of the index-db in percentage of max memory.
114
public static final String DEFAULT_INDEX_DB_CACHE_SIZE_PCT = "10"; //$NON-NLS-1$
117
* Absolute maximum size of the index-db in megabytes.
119
public static final String MAX_INDEX_DB_CACHE_SIZE_MB = CCorePlugin.PLUGIN_ID + ".maxIndexDBCacheSizeMB"; //$NON-NLS-1$
122
* Default absolute maximum size of the index-db in megabytes.
124
public static final String DEFAULT_MAX_INDEX_DB_CACHE_SIZE_MB = "64"; //$NON-NLS-1$
127
* Boolean preference controlling whether paths of non-workspace files are stored in index in canonical
128
* form or not. Canonicalization is performed by calling {@link java.io.File#getCanonicalPath()}.
131
public static final String FILE_PATH_CANONICALIZATION = CCorePlugin.PLUGIN_ID + ".path_canonicalization"; //$NON-NLS-1$
134
* Workspace-wide language mappings.
136
public static final String WORKSPACE_LANGUAGE_MAPPINGS = CCorePlugin.PLUGIN_ID + ".workspaceLanguageMappings"; //$NON-NLS-1$
139
* Default workspace-wide language mappings.
141
public static final String DEFAULT_WORKSPACE_LANGUAGE_MAPPINGS = ""; //$NON-NLS-1$
144
* Attempt to show source files for executable binaries.
146
public static final String SHOW_SOURCE_FILES_IN_BINARIES = CCorePlugin.PLUGIN_ID + ".showSourceFilesInBinaries"; //$NON-NLS-1$
149
* Show source roots at the top level of projects.
152
public static final String SHOW_SOURCE_ROOTS_AT_TOP_LEVEL_OF_PROJECT = CCorePlugin.PLUGIN_ID + ".showSourceRootsAtTopLevelOfProject"; //$NON-NLS-1$
155
* "Build All Configurations" preference key.
159
public static final String PREF_BUILD_ALL_CONFIGS = "build.all.configs.enabled"; //$NON-NLS-1$
162
* Preference key for "build only if resources in (related) projects are modified".
166
public static final String PREF_BUILD_CONFIGS_RESOURCE_CHANGES = "build.proj.ref.configs.enabled"; //$NON-NLS-1$