First of all, I wish make my personal congratualtions to Rickard for the x[index].member implementation: with this feature, writing JScritp code, with a well defined JScript syntax file, has become very very easy and funny!
Yesterday, I started to add a lot of class and class member to the JScript syntax file. During this activity I see that more member lists are common to many class. For example: the
Code: Select all
HTMLElementCode: Select all
anchorsCode: Select all
formsSo, for the
Code: Select all
document.anchors[].Code: Select all
HTMLElementCode: Select all
HTMLElementCode: Select all
formCode: Select all
document.forms[].Code: Select all
HTMLElementI think that is possible to reduce a lot of work if we can define "virtual" class and use that as item in the class member list. A "virtual" class in not a part of class list (allow autocompletion to distinguish real class from virtual class), but is a specific list. Then, when we build the class members list, we can add specific class items and add all the members of a "virtual" class, simply specifing the name of the virtual class.
For example, in the
Code: Select all
document.anchors[].Code: Select all
hrefCode: Select all
HTMLElementCode: Select all
document.anchors[].Do you think that is a reasonable/praticable solutions?
Thankyou in advance for your comments
