Code: Select all
/**
* @Class {Object} Manage Paints
* @property {String} Color Any Color Under the Sun
* @property {String} BaseType Oil, Water, Latex, etc.
*/
Class Paint
{
/** @property {String} Color Any Color Under the Sun */
Color
{
set => this.myColor := Value
get => this.myColor
}
BaseType
{
set => this.myBaseType := Value
get => this.myBaseType
}
}
X := Paint()
X.Color := 'Red'
X.BaseType := 'Oil'
But mousing over BaseType does not.
Do you have to put the JSDoc comment directly before each item or is there a way to have the JSDoc comment at the top provide all the Intellisense information needed for individual item help?
I am assuming that the JSDoc comments have to be intersperse throughout the entire class/function which is a little burdensome but I am not sure. It would be nice if I could create all the Intellisense information in one block at the top of the class.
Any help or suggestions on creating Intellisense help through JSDoc comments would be appreciated. It was not easy to find useful information on the subject. Apparently in other languages there are tools that automatically create all the JSDoc comments for you throughout the code but did not see anything like that for AutoHotkey.
FG