atom-ternjs icon indicating copy to clipboard operation
atom-ternjs copied to clipboard

Incomplete display of documentation

Open JakobJingleheimer opened this issue 4 years ago • 0 comments

Quite possibly user-error here, but it seems like this should JustWork™️. I'm trying to get Atom to display a tooltip with the jsDoc for my code, but tern seems to be ignoring much of the documentation:

atom-ternjs-tooltip-incomplete

Its declaration is:

/**
 * Track a particular attribute.
 */
class Counter {

	/**
	 * Create a Counter
	 * @param      {Object}         [arg1={}]      The argument 1
	 * @param      {integer}        arg1.base      The max (for "up" type) or starting (for "down"
	 * type) for the Counter.
	 * @param      {string}         arg1.label     Human-friendly label for the Counter.
	 * @param      {eRestTypes}     arg1.restType  The type of rest for which the Counter should
	 * reset itself; if no value is supplied, the Counter will not reset itself on any rest (manual
	 * reset only).
	 * @param      {Counter.TYPES}  arg1.type      The type of counter (count down, up, etc)
	 */
	constructor({ base, label, restType, type } = {}) {

JakobJingleheimer avatar May 04 '20 19:05 JakobJingleheimer