Lines 1336-1342
Link Here
|
1336 |
* Compiler option ID: Defining the Automatic Task Priorities. |
1336 |
* Compiler option ID: Defining the Automatic Task Priorities. |
1337 |
* <p>In parallel with the Automatic Task Tags, this list defines the priorities (high, normal or low) |
1337 |
* <p>In parallel with the Automatic Task Tags, this list defines the priorities (high, normal or low) |
1338 |
* of the task markers issued by the compiler. |
1338 |
* of the task markers issued by the compiler. |
1339 |
* If the default is specified, the priority of each task marker is <code>"NORMAL"</code>. |
1339 |
* If the default is specified, the priority of each task marker is <code>"NORMAL"</code>.</p> |
|
|
1340 |
* <p>Task Priorities and task tags must have the same length. If task priorities are set, then task tags should also |
1341 |
* be set.</p> |
1340 |
* <dl> |
1342 |
* <dl> |
1341 |
* <dt>Option id:</dt><dd><code>"org.eclipse.jdt.core.compiler.taskPriorities"</code></dd> |
1343 |
* <dt>Option id:</dt><dd><code>"org.eclipse.jdt.core.compiler.taskPriorities"</code></dd> |
1342 |
* <dt>Possible values:</dt><dd><code>{ "<priority>[,<priority>]*" }</code> where <code><priority></code> is one of <code>"HIGH"</code>, <code>"NORMAL"</code> or <code>"LOW"</code></dd> |
1344 |
* <dt>Possible values:</dt><dd><code>{ "<priority>[,<priority>]*" }</code> where <code><priority></code> is one of <code>"HIGH"</code>, <code>"NORMAL"</code> or <code>"LOW"</code></dd> |
Lines 1344-1349
Link Here
|
1344 |
* </dl> |
1346 |
* </dl> |
1345 |
* @since 2.1 |
1347 |
* @since 2.1 |
1346 |
* @category CompilerOptionID |
1348 |
* @category CompilerOptionID |
|
|
1349 |
* @see #COMPILER_TASK_TAGS |
1347 |
*/ |
1350 |
*/ |
1348 |
public static final String COMPILER_TASK_PRIORITIES = PLUGIN_ID + ".compiler.taskPriorities"; //$NON-NLS-1$ |
1351 |
public static final String COMPILER_TASK_PRIORITIES = PLUGIN_ID + ".compiler.taskPriorities"; //$NON-NLS-1$ |
1349 |
/** |
1352 |
/** |
Lines 1351-1365
Link Here
|
1351 |
* <p>When the tag list is not empty, the compiler will issue a task marker whenever it encounters |
1354 |
* <p>When the tag list is not empty, the compiler will issue a task marker whenever it encounters |
1352 |
* one of the corresponding tags inside any comment in Java source code. |
1355 |
* one of the corresponding tags inside any comment in Java source code. |
1353 |
* <p>Generated task messages will start with the tag, and range until the next line separator, |
1356 |
* <p>Generated task messages will start with the tag, and range until the next line separator, |
1354 |
* comment ending, or tag. |
1357 |
* comment ending, or tag.</p> |
1355 |
* <p>When a given line of code bears multiple tags, each tag will be reported separately. |
1358 |
* <p>When a given line of code bears multiple tags, each tag will be reported separately. |
1356 |
* Moreover, a tag immediately followed by another tag will be reported using the contents of the |
1359 |
* Moreover, a tag immediately followed by another tag will be reported using the contents of the |
1357 |
* next non-empty tag of the line, if any. |
1360 |
* next non-empty tag of the line, if any.</p> |
1358 |
* <p>Note that tasks messages are trimmed. If a tag is starting with a letter or digit, then it cannot be leaded by |
1361 |
* <p>Note that tasks messages are trimmed. If a tag is starting with a letter or digit, then it cannot be leaded by |
1359 |
* another letter or digit to be recognized (<code>"fooToDo"</code> will not be recognized as a task for tag <code>"ToDo"</code>, but <code>"foo#ToDo"</code> |
1362 |
* another letter or digit to be recognized (<code>"fooToDo"</code> will not be recognized as a task for tag <code>"ToDo"</code>, but <code>"foo#ToDo"</code> |
1360 |
* will be detected for either tag <code>"ToDo"</code> or <code>"#ToDo"</code>). Respectively, a tag ending with a letter or digit cannot be followed |
1363 |
* will be detected for either tag <code>"ToDo"</code> or <code>"#ToDo"</code>). Respectively, a tag ending with a letter or digit cannot be followed |
1361 |
* by a letter or digit to be recognized (<code>"ToDofoo"</code> will not be recognized as a task for tag <code>"ToDo"</code>, but <code>"ToDo:foo"</code> will |
1364 |
* by a letter or digit to be recognized (<code>"ToDofoo"</code> will not be recognized as a task for tag <code>"ToDo"</code>, but <code>"ToDo:foo"</code> will |
1362 |
* be detected either for tag <code>"ToDo"</code> or <code>"ToDo:"</code>). |
1365 |
* be detected either for tag <code>"ToDo"</code> or <code>"ToDo:"</code>).</p> |
|
|
1366 |
* <p>Task Priorities and task tags must have the same length. If task tags are set, then task priorities should also |
1367 |
* be set.</p> |
1363 |
* <dl> |
1368 |
* <dl> |
1364 |
* <dt>Option id:</dt><dd><code>"org.eclipse.jdt.core.compiler.taskTags"</code></dd> |
1369 |
* <dt>Option id:</dt><dd><code>"org.eclipse.jdt.core.compiler.taskTags"</code></dd> |
1365 |
* <dt>Possible values:</dt><dd><code>{ "<tag>[,<tag>]*" }</code> where <code><tag></code> is a String without any wild-card or leading/trailing spaces</dd> |
1370 |
* <dt>Possible values:</dt><dd><code>{ "<tag>[,<tag>]*" }</code> where <code><tag></code> is a String without any wild-card or leading/trailing spaces</dd> |
Lines 1367-1372
Link Here
|
1367 |
* </dl> |
1372 |
* </dl> |
1368 |
* @since 2.1 |
1373 |
* @since 2.1 |
1369 |
* @category CompilerOptionID |
1374 |
* @category CompilerOptionID |
|
|
1375 |
* @see #COMPILER_TASK_PRIORITIES |
1370 |
*/ |
1376 |
*/ |
1371 |
public static final String COMPILER_TASK_TAGS = PLUGIN_ID + ".compiler.taskTags"; //$NON-NLS-1$ |
1377 |
public static final String COMPILER_TASK_TAGS = PLUGIN_ID + ".compiler.taskTags"; //$NON-NLS-1$ |
1372 |
/** |
1378 |
/** |