Is there a way to enable the field xml tag description for a property? Example code:
function MyObj() {
/// <field name='num' type='int'>integer field</field>
this.num = 5;
}
Then if I do the following:
I do not see the description "Integer field" I specified.
Is this a disabled option somewhere? Or just a bug? Documentation for javascript intellisense isn't very prevelent :(
Edit: It should be noted I have resharper installed.
try something like :
function getArea(radius)
{
/// <summary>Determines the area of a circle that has the specified radius parameter.</summary>
/// <param name="radius" type="Number">The radius of the circle.</param>
/// <returns type="Number">The area.</returns>
var areaVal;
areaVal = Math.PI * radius * radius;
return areaVal;
}
in your case:
function MyObj() {
/// <field name='HorsePower' type='Number'>integer field</field>
this.num = 5;
}
from MSDN Docs
if that is not working Use the IntelliSense page of the Options dialog box to add an extension as a reference group. You can access the IntelliSense page by choosing Tools , Options on the menu bar, and then choosing Text Editor , JavaScript , IntelliSense , References .
That is explained in These MSDN Docs
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.