| Summary: | [language support] Jsdoc support for optional parameters | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | arndt |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | NEW --- | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | cmjaun, nicolas.ternisien |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| URL: | http://code.google.com/p/jsdoc-toolkit/wiki/TagParam | ||
| Whiteboard: | |||
Should have been:
/**
* @param {Object} [options]
* @param {String} [options.label] label for the selections
*/
Class.myMethod = function(options) {
}
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... |
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