Bug 38759 - Task Tags: should not consider text in substrings/parts of text
Summary: Task Tags: should not consider text in substrings/parts of text
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 40046 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-11 06:34 EDT by MH CLA
Modified: 2003-07-16 05:53 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MH CLA 2003-06-11 06:34:10 EDT
I created a task tag "TEST" and after saving a source code, Eclipse created 
tasks for every lines that had 'TEST' in the javadoc comments, also for texts 
that had 'TEST' in a substring, e.g.:

/** Value for property with key KEY_TESTCHECKCOUNT. */

It would be better to not consider substrings, so that only whole words 'TEXT' 
(without leading or trailing text except white space) are considered.
Comment 1 Dani Megert CLA 2003-06-17 11:13:06 EDT
task tags are provided by JDT Core.
Comment 2 Philipe Mulet CLA 2003-06-18 07:48:29 EDT
Agreed. Note that in the case the tag ends with non letters, then compact tasks 
should still be allowed, e.g.:
//TODO:rename
Comment 3 Philipe Mulet CLA 2003-06-18 07:55:18 EDT
Fixed
Comment 4 Philipe Mulet CLA 2003-07-15 04:26:33 EDT
*** Bug 40046 has been marked as a duplicate of this bug. ***
Comment 5 David Audel CLA 2003-07-16 05:53:14 EDT
Verified.