~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CCorePreferenceConstants.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
7
 * 
 
8
 * Contributors:
 
9
 *     QNX Software Systems - Initial API and implementation
 
10
 *     Markus Schorn (Wind River Systems)
 
11
 *     Sergey Prigogin (Google) 
 
12
 *     IBM Corporation
 
13
 *     Jens Elmenthaler - http://bugs.eclipse.org/173458 (camel case completion)
 
14
 *******************************************************************************/
 
15
package org.eclipse.cdt.core;
 
16
 
 
17
/**
 
18
 * @noextend This class is not intended to be subclassed by clients.
 
19
 * @noinstantiate This class is not intended to be instantiated by clients.
 
20
 */
 
21
public class CCorePreferenceConstants {
 
22
 
 
23
        /**
 
24
     * <pre>
 
25
     * RECOGNIZED OPTIONS:
 
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 
 
37
     *     - default:           ""
 
38
     * 
 
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"
 
45
     *     - default:           ""
 
46
     */
 
47
 
 
48
        /**
 
49
         * Task tags used in code comments.
 
50
         */
 
51
        public static final String TODO_TASK_TAGS = CCorePlugin.PLUGIN_ID + ".taskTags"; //$NON-NLS-1$
 
52
 
 
53
        /**
 
54
         * Default task tag
 
55
         */
 
56
        public static final String DEFAULT_TASK_TAG = "TODO"; //$NON-NLS-1$
 
57
        
 
58
        /**
 
59
         * List of tags provided by default
 
60
         * @since 5.1
 
61
         */
 
62
        public static final String DEFAULT_TASK_TAGS = DEFAULT_TASK_TAG + ",FIXME,XXX"; //$NON-NLS-1$
 
63
        
 
64
        /**
 
65
         * Possible configurable option value for TODO_TASK_PRIORITIES.
 
66
         */
 
67
        public static final String TASK_PRIORITY_NORMAL = "normal"; //$NON-NLS-1$           
 
68
    /**
 
69
     * Possible configurable option value for TODO_TASK_PRIORITIES.
 
70
     */
 
71
    public static final String TASK_PRIORITY_HIGH = "high"; //$NON-NLS-1$
 
72
    /**
 
73
     * Possible configurable option value for TODO_TASK_PRIORITIES.
 
74
     */
 
75
    public static final String TASK_PRIORITY_LOW = "low"; //$NON-NLS-1$
 
76
        /**
 
77
         * Default task priority
 
78
         */
 
79
        public static final String DEFAULT_TASK_PRIORITY = TASK_PRIORITY_NORMAL;
 
80
 
 
81
        /**
 
82
         * Priorities associated with task tags.
 
83
         */
 
84
        public static final String TODO_TASK_PRIORITIES = CCorePlugin.PLUGIN_ID + ".taskPriorities"; //$NON-NLS-1$
 
85
 
 
86
        /**
 
87
         * Case sensitivity of task tags.
 
88
         */
 
89
        public static final String TODO_TASK_CASE_SENSITIVE = CCorePlugin.PLUGIN_ID + ".taskCaseSensitive"; //$NON-NLS-1$
 
90
 
 
91
        /**
 
92
         * Default case sensitivity of task tags.
 
93
         */
 
94
        public static final String DEFAULT_TASK_CASE_SENSITIVE = "false"; //$NON-NLS-1$
 
95
 
 
96
        /**
 
97
         * Active code formatter ID.
 
98
         */
 
99
        public static final String CODE_FORMATTER = CCorePlugin.PLUGIN_ID + ".code_formatter"; //$NON-NLS-1$
 
100
        
 
101
        /**
 
102
         * Default code formatter
 
103
         */
 
104
        public static final String DEFAULT_CODE_FORMATTER = CCorePlugin.PLUGIN_ID + ".defaultCodeFormatter"; //$NON-NLS-1$
 
105
 
 
106
        /**
 
107
         * Cache size for the index in percentage of max memory.
 
108
         */
 
109
        public static final String INDEX_DB_CACHE_SIZE_PCT = CCorePlugin.PLUGIN_ID + ".indexDBCacheSizePct"; //$NON-NLS-1$
 
110
 
 
111
        /**
 
112
         * Default cache size of the index-db in percentage of max memory.
 
113
         */
 
114
        public static final String DEFAULT_INDEX_DB_CACHE_SIZE_PCT = "10"; //$NON-NLS-1$
 
115
 
 
116
        /**
 
117
         * Absolute maximum size of the index-db in megabytes.
 
118
         */
 
119
        public static final String MAX_INDEX_DB_CACHE_SIZE_MB = CCorePlugin.PLUGIN_ID + ".maxIndexDBCacheSizeMB"; //$NON-NLS-1$
 
120
        
 
121
        /**
 
122
         * Default absolute maximum size of the index-db in megabytes.
 
123
         */
 
124
        public static final String DEFAULT_MAX_INDEX_DB_CACHE_SIZE_MB = "64"; //$NON-NLS-1$
 
125
 
 
126
        /**
 
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()}.
 
129
         * @since 5.2
 
130
         */
 
131
        public static final String FILE_PATH_CANONICALIZATION = CCorePlugin.PLUGIN_ID + ".path_canonicalization"; //$NON-NLS-1$
 
132
 
 
133
        /**
 
134
         * Workspace-wide language mappings. 
 
135
         */
 
136
        public static final String WORKSPACE_LANGUAGE_MAPPINGS = CCorePlugin.PLUGIN_ID + ".workspaceLanguageMappings"; //$NON-NLS-1$
 
137
 
 
138
        /**
 
139
         * Default workspace-wide language mappings.
 
140
         */
 
141
        public static final String DEFAULT_WORKSPACE_LANGUAGE_MAPPINGS = ""; //$NON-NLS-1$
 
142
 
 
143
        /**
 
144
         * Attempt to show source files for executable binaries.
 
145
         */
 
146
        public static final String SHOW_SOURCE_FILES_IN_BINARIES = CCorePlugin.PLUGIN_ID + ".showSourceFilesInBinaries"; //$NON-NLS-1$
 
147
        
 
148
        /**
 
149
         * Show source roots at the top level of projects.
 
150
         * @since 5.2
 
151
         */
 
152
        public static final String SHOW_SOURCE_ROOTS_AT_TOP_LEVEL_OF_PROJECT = CCorePlugin.PLUGIN_ID + ".showSourceRootsAtTopLevelOfProject"; //$NON-NLS-1$
 
153
 
 
154
        /**
 
155
         * "Build All Configurations" preference key.
 
156
         * 
 
157
         * @since 5.3
 
158
         */
 
159
        public static final String PREF_BUILD_ALL_CONFIGS = "build.all.configs.enabled"; //$NON-NLS-1$
 
160
 
 
161
        /**
 
162
         * Preference key for "build only if resources in (related) projects are modified".
 
163
         * 
 
164
         * @since 5.3
 
165
         */
 
166
        public static final String PREF_BUILD_CONFIGS_RESOURCE_CHANGES = "build.proj.ref.configs.enabled"; //$NON-NLS-1$
 
167
        
 
168
        
 
169
}