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

Bug 297826

Summary: [javascript editor] Wrong comment highlighting
Product: [WebTools] JSDT Reporter: Wojciech Galanciak <wojciech.galanciak>
Component: GeneralAssignee: wst.javascript <wst.javascript-inbox>
Status: CLOSED DUPLICATE QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: cmjaun
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Wojciech Galanciak CLA 2009-12-15 06:49:32 EST
Created attachment 154465 [details]
screenshot

In Eclipse 3.4.2 when in JavaScript file comment is just after "{" (see screenshot) it is not recognized as a comment ("//" is blue and "Erstat isn't marked as not correctly spelled). If I change anything in this line (e.g. add space and the end) everything back to normal. Additionally, everything work fine in eclipse 3.5.1.
Comment 1 Chris Jaun CLA 2009-12-17 15:03:02 EST
Sounds like a duplicate of 263222.

This should already be fixed in WTP 3.1 and beyond.

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