Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 221857 - Task Tags for scriptlets
Summary: Task Tags for scriptlets
Status: RESOLVED DUPLICATE of bug 71558
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.sse (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.1 M1   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 09:48 EST by Soapman CLA
Modified: 2008-07-28 16:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Soapman CLA 2008-03-07 09:48:50 EST
Dear Eclipse support,

I am trying to use 'Task Tags' within Eclipse to mark places in my code.  My project deals with servlets, jsp's, xml, java, etc.

I've enabled the Task tags checkbox under the 'Web & XML' section.
But I noticed that the content type lists or filters only the following files:

css
dtd
html
jsp
xml

What about javascript (.js) files?

I've noticed that the task tags feature works within jsp files (using <%-- --%>), but when scriptlets are contained within these files, the 'Task Tags' (markers) don't work within the boundaries of the scriplet.

right now, the editor puts a 'warning' icon to the left & underlines my custom task tag.

My custom task tag is "TODO-JS".


Any help in this matter would be appreciated!
Thanks!

James

ex)

  <%
    }  //TODO-JS
  %>
Comment 1 Nitin Dahyabhai CLA 2008-03-20 14:39:44 EDT
A valid, and good, request, but we just don't have the time to do it in this release.
Comment 2 Nitin Dahyabhai CLA 2008-07-21 21:13:15 EDT
Changed Summary from "Task Tags for Javascript & scriptlets?"

Fixed in 3.1 for Java sections when JSP validation is performed (analagous to requiring building of the Java project).  JSDT will have to handle the JavaScript bits.
Comment 3 Nitin Dahyabhai CLA 2008-07-28 16:57:59 EDT

*** This bug has been marked as a duplicate of bug 71558 ***