facebook

[JSF Editor] Formatting comments

💡
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 IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #275053 Reply

    Reizz
    Member

    Hello,

    When I format a JSF page, the JSF Formatter changes comments from

    <%/* My comment */ %>

    to

    <%
    /*My comment */
    %>

    Myfaces warns when i use HTML comments so I use JSP comments but now it takes 3 lines instead on for only 1 line of comment…

    Could you tune the formatter for the specific case of scriptlets with only comments ?

    Thx for your great tool !
    Franck Gineste.

    #275079

    Loyal Water
    Member

    What version of MyEclipse are you using ? I tried formatting the code that you have pasted above but it remains on 1 line.

    #275376

    Reizz
    Member

    Hello Nipun,

    Thx for reply.
    Sorry for being late…
    I use the 6.0GA
    I’ve just found that the formatter is OK when I use

    <%-- My comment --%>

    It keeps it in line;
    So now i only use comment like that (and they don’t generate comments in the work java code)
    But if you tell me that <%/* formats inline in your test, I can’t say much more to help :/.

    Goodbye.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [JSF Editor] Formatting comments

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