To see javascript object properties and functions with intellisense in VS.NET 2008

Posted by uzay95 on Stack Overflow See other posts from Stack Overflow or by uzay95
Published on 2010-04-09T13:38:55Z Indexed on 2010/04/09 14:43 UTC
Read the original article Hit count: 349

I am creating classes in external files.And adding them with <script src='../js/clsClassName.js' type='text/javascript'></script> tags. When i created an object from this class I can't access its props, and functions with intellisense.

Is there any way to achieve this?

Sample javascript class:

// clsClassName.js
function ClassName(_param1, _param2, _param3) {

    this.Prop1 = _param1;
    this.Prop1 = _param2;
    this.Prop3 = _param3;
}



ClassName.prototype.f_Add = function(fBefore, fSuccess, fComplete, fError) {
}


ClassName.prototype.f_Delete = function(fBefore, fSuccess, fComplete, fError) {
}

Any help would be greatly appreciated...

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about visual-studio