Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
henk
Post subject: Multiline comments not correct in JSP editor [Bug-3.8.1]  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-greg
Post subject:   PostPosted: Sep 23, 2004 - 03:44 PM
Moderator
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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
henk
Post subject:   PostPosted: Sep 23, 2004 - 04:31 PM



Joined: Dec 15, 2003
Posts: 125

You're welcome. Hope to see it fixed soon :)
 
 View user's profile Send private message  
Reply with quote Back to top
vict0r
4 Post subject:   PostPosted: Oct 09, 2005 - 09:59 AM
Registered Member
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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits