please, could you explain step by step
For example: if I type:
var alfa=document.get
I would like the intellisense pop up with:
getElementById
getElementsByTagName
etc ...
is it possible?
Thank you,
Francesco Torre
please, could you explain step by step what I have to do in order to have code intellisense/autocomplete
working in JavaScript
Code: Select all
var alfa=document.getI found a solution that does provided a least some form of intellisense.I would like the intellisense pop up with:
getElementById
getElementsByTagName
etc ...
is it possible?
Code: Select all
class document
{
    // Properties
    alinkColor;
    anchors;
    applets;
    bgColor;
    cookie;
    domain;
    embeds;
    fgColor;
    formName;
    forms;
    images;
    lastModified;
    layers;
    linkColor;
    links;
    plugins;
    referrer;
    title;
    URL;
    vlinkColor;
    // Methods of document Object:
    captureEvents();
    close();
    getElementById();
    getElementsByName();
    getElementsByTagName();
    getSelection();
    handleEvent();
    open();
    releaseEvents();
    routeEvent();
    write();
    writeln();
};Code: Select all
var alfa=document.
Code: Select all
class object
{
    name          name;
    type          type;
    value         value;
    anchor        anchor;
    applet        applet;
    area          area;
    button        button;
    checkbox      checkbox;
    elements      elements;
    embed         embed;
    event         event;
    FileUpload    FileUpload;
    form          form;
    frame         frame;
    hidden        hidden;
    image         image;
    mimeType      mimeType;
    option        option;
    password      password;
    plugin        plugin;
    radio         radio;
    reset         reset;
    select        select;
    submit        submit;
    text          text;
    textarea      textarea;
    link          link;
};
class frame
{
    frames     frames;
    name       name;
    length     length;
    parent     parent;
    self       self;
};
class form
{
    action     action;
    elements   elements[name];
    encoding   encoding;
    length     length;
    method     method;
    name       name;
    target     target;
    button     button;
    checkbox   checkbox;
    FileUpload FileUpload;
    hidden     hidden;
    password   password;
    radio      radio;
    reset      reset;
    select     select;
    submit     submit;
    text       text;
    textarea   textarea;
};
class FileUpload
{
    accessKey accessKey;
    disabled  disabled;
    form      form;
    name      name;
    type      type;
    value     value;
    blur();
    focus();
    select();
    handleEvent();
    click();
};Code: Select all
    object.
    object.frame.
    object.form.FileUpload.
I don't mind doing the work and creating a better implementation. In that way I can also make it a default of the Zeus installer.did anybody implement this fully? I feel so lazy.