 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: Multiline comments not correct in JSP editor [Bug-3.8.1]
Posted: Sep 23, 2004 - 03:25 PM
|
|

Joined: Dec 15, 2003
Posts: 125
|
|
I'm using Eclipse 3.0, My Eclipse 3.8.1 and SDK 1.4.2_03 on Windows XP Sp2. Recently I have performed a fresh install of Eclipse 3.0 and myeclipse 3.8.1.
I noticed that the jsp editor does not detect multi-line comment as a comment, if it indeed spans multiple lines. Additionally, key words that appear an another line than the opening comment token are pretty printed.
E.g.
| Code: |
<%
/* comment recognized. for not pretty printed */
/* comment not recognized, for not pretty printed
*/
/*
comment not recognized, for pretty printed
*/
%>
|
This is pretty confusing when using these style of comments. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 23, 2004 - 03:44 PM
|
|
Moderator


Joined: Mar 31, 2004
Posts: 1502
|
|
| I was able to replicate the behavior immedately. I will file this in our PR system. Thanks for the report. |
_________________ Greg
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 23, 2004 - 04:31 PM
|
|

Joined: Dec 15, 2003
Posts: 125
|
|
| You're welcome. Hope to see it fixed soon :) |
|
|
| |
|
|
|
 |
|
|
|
Post subject:
Posted: Oct 09, 2005 - 09:59 AM
|
|
Registered Member


Joined: Sep 17, 2004
Posts: 128
|
|
Obviously, this bug is still open. I moved my post here.
The JSP syntax highlighting doesn't correctly highlight/color multiline /*...*/ JSP comments. Here's a sample JSP file.
| Code: | <%@ page language="java" %>
<%
/* highlighted */
/*
* not highlighted at all
*/
/** abc
* not highlighted at all
*/
/**
* only 1st line highlighted
*/
%> |
Eclipse Platform Version: 3.1.1 Build id: M20050929-0840
MyEclipse Version: 4.0.1 Build id: 20050930-4.0.1-GA
WinXP SP2 JDK & JRE 1.5.0_04 |
|
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |