Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 277166

Summary: JavaScript Comments Syntax Highlighting
Product: z_Archived Reporter: Carl <spam>
Component: Webtools.WST.JavascriptAssignee: Chris Jaun <cmjaun>
Status: RESOLVED DUPLICATE QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: cmjaun
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screenshot of highlighting issue none

Description Carl CLA 2009-05-20 13:00:59 EDT
Build ID: M20090211-1700

Steps To Reproduce:
1.Create a new file called test.js
2.Add the following to this source file:
var foo = {
    /**
     * This is a test comment.
     */
    method: function(){}
};
3. Close the file
4. Re-open the file, the comment block does not have correct syntax highlighting (first line of comment is green following others are black).


More information:
Plugin Information:
JavaScript Development Tools UI 1.0.104.v2009012 org.eclipse.wst.jsdt.ui
Comment 1 Carl CLA 2009-05-20 13:03:26 EDT
Created attachment 136527 [details]
Screenshot of highlighting issue
Comment 2 Chris Jaun CLA 2009-05-21 11:34:02 EDT
Hi Carl,

This is a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=263222 and was fixed in WTP 3.1 in February.

Thanks,
Chris

Comment 3 Chris Jaun CLA 2009-05-21 15:45:03 EDT
Fixed in 3.1.

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