facebook

strange bug

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #578777 Reply

    filan
    Participant

    When in JSP Editor in Javascript Code and the middle condition in a for-loop is a “<” (and only “<“) and there is no space (or any other character) after this, then the java-content-assist after that line (in complete Javascript Block!) won’t work. See my attachment

    I have the Latest MyEclipse

    Here is a test scenario

    <%@page contentType="text/html; charset=iso-8859-1" language="java" 
    		import="java.util.*" %><%
    	
    	Map<String, String> messageMap = new HashMap<>();
    	
    %><script type="text/javascript">
    var myVar = 10;
    for (var i=0; i< myVar; i++)
    {
    	<%= messageMap. %>
    }
    </script>
    Attachments:
    You must be logged in to view attached files.
    #578786 Reply

    support-swapna
    Moderator

    filan,

    Thank you for the screenshot and the code snippet. I could replicate the problem at my end.
    I have raised a bug report for the dev team to investigate it further. We will keep you posted about the fix.

    Apologies for inconvenience caused.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: strange bug

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