facebook

Multiline comments not correct in JSP editor [Bug-3.8.1]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #215824 Reply

    henk
    Member

    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.

    
    <% 
    
          /* 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.

    #215825

    Greg
    Member

    I was able to replicate the behavior immedately. I will file this in our PR system. Thanks for the report.

    #215832

    henk
    Member

    You’re welcome. Hope to see it fixed soon 🙂

    #239031

    Victor Ott
    Participant

    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.

    <%@ 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

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Multiline comments not correct in JSP editor [Bug-3.8.1]

You must be logged in to post in the forum log in