JavaScript Intellisense for custom object placed in one js file.http://forums.asp.net/t/1554289.aspx/1?JavaScript+Intellisense+for+custom+object+placed+in+one+js+file+Tue, 04 May 2010 13:01:07 -040015542893817860http://forums.asp.net/p/1554289/3817860.aspx/1?JavaScript+Intellisense+for+custom+object+placed+in+one+js+file+JavaScript Intellisense for custom object placed in one js file. <p>It's posssibility to get intellisense suggestion in the below scenario:</p> <p>Type.registerNamespace(&quot;jMVP&quot;);</p> <p>jMVP.View = function() {</p> <p>&nbsp; &nbsp;this._templateOfferListDiv = &#36;(&quot;#poweravailBody&quot;);</p> <p>}</p> <p>jMVP.View.prototype = {</p> <p>&nbsp; &nbsp;get_templateOfferListDiv: function() {</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;return this._templateOfferListDiv;</p> <p>&nbsp; &nbsp;}</p> <p>}</p> <p>jMVP.View.registerClass('jMVP.View');</p> <p>jMVP.Presenter = function(view, model) {</p> <p>&nbsp; &nbsp;this._view = view; // intelisense doesn,t work</p> <p>&nbsp; &nbsp;this._view = new jMVP.View(); // now its works </p> <p>}</p> <p>this calsses are in the same file eg. test.js, so xml comments will not appear.</p> <p>The problem is that i don't want use &quot;new&quot; all the time only for intellisence :) and i want get intellisense for my custom object properties and functions. Its possible?</p> <p>I waiting for some help.</p> 2010-05-04T13:01:07-04:00