Bug 26849 - [misc] Add recognition of Task tags to all other editing types, not just Java
Summary: [misc] Add recognition of Task tags to all other editing types, not just Java
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement with 8 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks: 213137
  Show dependency tree
 
Reported: 2002-11-21 09:11 EST by Alex Blewitt CLA
Modified: 2019-12-02 11:46 EST (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2002-11-21 09:11:47 EST
A recent feature for Java editing is the ability to recognise textual markers
(such as TODO) based on the content of the document.

For editing document types that are able to distinguish between 'Comment' and
'Normal' text, it would be desirable to have this feature in all textual
document types, not just Java. For example, HTML and XML both use <!-- comment -->
styles of comments, and this is just as applicable to the TODO markers as Java
is.

Can this feature not be extracted out of the Java feature and put into the core feature set and/or default plugins? It would be very useful, and certainly other languages (C, C++, C#) would all benefit from this as well.

Using markers in-line with other documents not only allows the document to be easily modified and processed with respect to tasks, but also would address
http://bugs.eclipse.org/bugs/show_bug.cgi?id=26809 since the tasks could then
be stored in the document body itself, and not just as external metadata.
Comment 1 Dani Megert CLA 2003-06-17 12:24:35 EDT
Changed summary: what we recognize are configurable task tags.
Comment 2 Nitin Dahyabhai CLA 2004-04-15 00:11:09 EDT
Any chance of getting this in for 3.0?  The JDT and CDT both support Task Tags
and we've just added them for the 4 file types our component supports along with
our own preference page to configure them.  As more languages support this
notion there's only going to be more duplication of effort to edit, store, and
properly order the priorities of Tags across languages.  If there was a central
location for the list (and an order that was clear to adhere to) the user could
only benefit from it.
Comment 3 Dani Megert CLA 2004-04-15 06:48:09 EDT
This is not planned for 3.0.
Comment 4 David Saff CLA 2005-10-18 10:11:16 EDT
How about 3.2? Thanks.
Comment 5 Dani Megert CLA 2005-10-18 11:10:48 EDT
No plans for 3.2 but high quality contributions are welcome as usual.
Comment 6 Bert CLA 2010-06-25 09:18:44 EDT
I know task tags have been implemented for most editors now, but it still lacks the ability to filter on task tags in arbitrary file types. For example, at the moment I use Eclipse mainly for scripting in LSL and I miss this feature in those files dearly.
Since it is such an old feature-request/bug I was hoping some progress had been made.
Comment 7 Nico Bo CLA 2012-12-14 08:38:27 EST
+1 to this feature : I need TODO tasks in .properties and plain text files
Comment 8 Wes Gibbs CLA 2015-08-09 01:09:25 EDT
Please, please, please implement this recommendation!  Or provide some details on how I could implement it myself.

I see the following response at
http://stackoverflow.com/questions/7740059/more-content-types-to-scan-for-task-tags-in-eclipse

Create a new extension for the org.eclipse.wst.sse.core.taskscanner extension point, implementing org.eclipse.wst.sse.core.internal.provisional.tasks.IFileTaskScanner . The content type you specify will then appear in the page as an option.

This does require authoring a plug-in. The extension point lets you tie an implementation of IFileTaskScanner to automatically be called when files of your content types are processed. How you actually detect the tasks is up to your scanner implementation, this just makes sure that there's a when for calling it.