facebook

jsp editor – code completion broken [Closed]

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

    goetterwind
    Member

    hello!

    okay; first sorry for my weak expressiveness as I forgot a lot official termina.
    I ran into a broken code completion
    after using a scriplet ~insert in an attribute value the code completion is kind of broken.
    e.g.:

    
    <c-rt:out value="<%= request.getServletPath() %>"></c-rt:out>
    

    or

    
    <html:link href="<%= request.getServletPath() %>" />
    

    the jsp-editor still suggests the instance variables (page, request, out…), but doesn’t find their methods.
    so pressing ctrl+space
    after

    
    <c-rt:out value="<%= request.getServletPath() %>"></c-rt:out>
    <% request.
    

    results in no code completion suggestions

    If these ~inserts are in normal code, everything works as expected.

    ciao,
    Axel

    environment:
    Eclipse Platform; Version: 2.1.2; Build id: 200311030802
    MyEclipse Application Server Tooling; Version: 2.6.200; Build id: 200312091200-2.7-RC1
    jdk version “1.4.2_03”; jre/hotspot build 1.4.2_03-b02, mixed mode
    Microsoft Windows XP; HOME Edition; Version 2002; Service Pack 1

    #210673 Reply

    Riyad Kalla
    Member

    Axel,
    Is this bug still effecting you? It was actually caused by you not closing the scriplet, the editor was very sensative to broken JSP pages for good autocomplete.

    #211578 Reply

    goetterwind
    Member

    Riyad,

    I didn’t know you had to close the scriptlet before using code completion inside.
    That’s quite counterintuitive to me, but I’m happy to know now, in case completion breaks, I know what to do :))

    I checked for an old page where an insert behind all other code made and it works when closing the scriptlet now.
    In my current environment Ecl3.0, MyE3.8 B2, I couldn’t reproduce that behaviour.
    So I guess the bugs resolved.

    regards,
    axel

    #211584 Reply

    Riyad Kalla
    Member

    Axel,
    Don’t worry, there is a new JSP editor comming in 3.8 GA release that handles this much better.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: jsp editor – code completion broken [Closed]

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