facebook

Javascript content assist question

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

    jvance
    Member

    The MyEclipse javascript has a nice feature whereby it pops down a list of available functions after typing a period. For example, typing “document.” invokes a list of methods and properties of the document object.

    Unfortunately, this list is far out of date. It helpfully shows which objects are available for IE and which are available for Netscape. Netscape 4.x, that is. There are several DOM1 and DOM2 methods and properties that are not listed. addEventListener(), for example.

    I assume that the content for the content assist is stored in a flat file somewhere. Anyone know where it is? Searching through the MyEclipse directory for files containing attachEvent yielded no results. I’d like to just add in DOM1 and DOM2 stuff myself, and then maybe kick back the enhancement to you guys.

    Thanks,

    John Vance

    #244492 Reply

    Riyad Kalla
    Member

    John,
    We appreciate the support, I will send your comments to the dev team (who is swamped right now, so if you hear nothing back don’t take it personally, they are juggling a lot) and if they think that would be valuable they can work with you directly outside of the forums.

    #246271 Reply

    killersushi
    Member

    More or less on this topic, just wanted to point out that

    window.addEventListener(...)

    is throwing a warning “addEventListener declaration is not found” when of course it doesn’t need a declaration, it’s part of Javascript. However

    foo.addEventListener(...)

    does not.

    Regards
    Patrick

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Javascript content assist question

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