facebook

JavaScript code completion – DOM tree

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #219742 Reply

    ChristopherH
    Member

    environment:
    Win2000
    Eclipse 3.0.1, fresh install, no other plugins, 7 org.eclipse.pde.*
    MyEclipse 3.8.2
    JDK 1.4.2 01
    no app server
    no exceptions in log

    Create a test html file with the following syntax:

    <html>
    <head>
    <SCRIPT language=”JavaScript1.2″ >
    var test = document.myform.myinput1.value; // example
    </SCRIPT>
    </head>
    <body>
    <form name=”myform”>
    <INPUT type=”text” name=”myinput1″ >
    </form>
    </body>
    </html>

    Problem:

    When typing the example line, the MyEclipse code completion feature does not seem to be able to assist with finding the object “myinput1” when typing the (NS syntax):
    var test = document.myform.

    yet, it can find the object with the (MS syntax):
    var test = document.all.

    Questions:

    Why is this?
    Any plans to allow user config of MyEclipse JavaScript DOM parsing for the code completion feature?

    #219769 Reply

    Riyad Kalla
    Member

    We don’t currently support this, but it is a good suggestion. I will file it as an enhancement.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JavaScript code completion – DOM tree

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