vsdoc

Visual Studio Javascript Intellisense - options object

允我心安 提交于 2019-12-23 23:16:27
问题 I'd like to get Intellisense support in Visual Studio for the options objects I use in my method calls. It's common to configure a call to a function in Javascript with a catch-all options object - for example jquery's Ajax call uses: $.ajax(settings); Where settings is just an object like: $.ajax({ url: '/blah', data: { stuff: 1 }, method: 'POST', // etc }); Although it's an implicit object, the properties follow a specific class. Typically when you have something like this that's important

jQuery 1.4.3 vsdoc

寵の児 提交于 2019-12-22 11:13:48
问题 Does anybody know where I can get the vsdoc for jQuery 1.4.3? Alternatively, what changes do I need to make to jQuery 1.4.2 vsdoc file to add the new functions in 1.4.3? 回答1: You can find it here : http://appendto.com/community/vsdoc 回答2: this page contain a list of vsdoc files on microsoft's CDN http://www.asp.net/ajaxlibrary/cdn.ashx just search for vsdoc and u will find it :) right now its not on official jquery download page 回答3: what thing you exactly need. if you want to work with

Auto-Generate Visual Studio VsDoc for JavaScript library [closed]

房东的猫 提交于 2019-12-22 10:14:02
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I'm in the process of refactoring my JavaScript library to utilize a single namespace. We have ~200 modules, which previously registered themselves as jQuery plugins or on the global object (bad). In the past dispensation, to get Intellisense working, I added module references for

Documenting an array of type T in vsdoc format for javascript, Did I Find a Bug?

[亡魂溺海] 提交于 2019-12-11 02:21:55
问题 Following these guidelines for vsdoc documentation, I've been unable to get intellisense to work properly for an array of a given type. Here is some code that demos the problem function MyType() { /// <summary>Class description here</summary> /// <field name="PropertyA" type="Boolean">Description of Property A</field> /// <field name="PropertyB" type="String">Description of Property B</field> } MyType.prototype.PropertyA = false; MyType.prototype.PropertyB = ""; function testFunc

How can I create my own vsdoc.js file for my JavaScript?

醉酒当歌 提交于 2019-12-08 17:30:19
问题 How can I create a vsdoc.js file for an existing JavaScript library that will provide intellisense detail inside of Visual Studio 2010? 回答1: Just create the same functions and objects that are in the library, but add XML comments to them. 来源: https://stackoverflow.com/questions/6267134/how-can-i-create-my-own-vsdoc-js-file-for-my-javascript

Auto-Generate Visual Studio VsDoc for JavaScript library [closed]

给你一囗甜甜゛ 提交于 2019-12-05 20:49:15
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed last year . I'm in the process of refactoring my JavaScript library to utilize a single namespace. We have ~200 modules, which previously registered themselves as jQuery plugins or on the global object (bad). In the past dispensation, to get Intellisense working, I added module references for each module (from which I wanted Intellisense) as a /// <reference path="" /> to the top of every

jQuery 1.4.2 VSDoc

旧街凉风 提交于 2019-11-27 11:33:47
Where can I get the VSDoc for jQuery 1.4.2? Art The latest VSDoc supported version seems to be v.1.4.4 from Microsoft and can be found at http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.4-vsdoc.js . It is the new MS CDN for toolkits (replacing the old microsoft.com domain). Herb The adventurous can add the following lines starting at 2949: delegate: function( selector, types, data, fn ) { /// <summary> /// Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. See also "live". /// </summary> /// <param

jQuery 1.4.2 VSDoc

北战南征 提交于 2019-11-26 18:02:08
问题 Where can I get the VSDoc for jQuery 1.4.2? 回答1: The latest VSDoc supported version seems to be v.1.4.4 from Microsoft and can be found at http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.4-vsdoc.js. It is the new MS CDN for toolkits (replacing the old microsoft.com domain). 回答2: The adventurous can add the following lines starting at 2949: delegate: function( selector, types, data, fn ) { /// <summary> /// Attach a handler to one or more events for all elements that match the selector, now