Bug 333276 - [language support] Jsdoc support for optional parameters
Summary: [language support] Jsdoc support for optional parameters
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement with 5 votes (vote)
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL: http://code.google.com/p/jsdoc-toolki...
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2010-12-28 13:09 EST by arndt CLA
Modified: 2014-05-29 13:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arndt CLA 2010-12-28 13:09:16 EST
Build Identifier: 20100917-0705

/**
 * @requires_js_file common/Template.js
 * 
 * @param {Object} options
 * @param {String} options.label label for the selections
 */
Class.myMethod = function(options) {
}

Results in message "JSdoc: Invalid param tag name"

See also: http://code.google.com/p/jsdoc-toolkit/wiki/TagParam

Reproducible: Always
Comment 1 arndt CLA 2011-01-06 07:20:58 EST
Should have been:

/**
 * @param {Object} [options]
 * @param {String} [options.label] label for the selections
 */
Class.myMethod = function(options) {
}
Comment 2 Nicolas Ternisien CLA 2013-12-05 11:21:55 EST
I confirm the bug is still valid on JSDT 3.5.1. It would be (really) nice to fix it, in order to give Eclipse a chance against its major opponents in the Web part like WebStorm for instance...