| Summary: | [editor] JSDoc hover on a function does not show types for parameters on the first line | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Mauro Molinari <mauromol> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | VERIFIED WORKSFORME | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | minor | ||
| Priority: | P3 | ||
| Version: | 3.2.1 | ||
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
This is working correctly now in WTP 3.5. I confirm it works with WTP 3.5. |
Build Identifier: M20100909-0800 If you write a function and specify its parameter types in a JSDoc, if you look at the JSDoc hover you'll see that the parameters are always reported as "any" in the first line Reproducible: Always Steps to Reproduce: 1. create a static web project with JavaScript support 2. create test.js with the following content: /** * @param {String} myParam * @returns {Boolean} */ function test(myParam) { return true; } 3. look at the JSDoc hover (press F2 on "test"); this is what I see: Boolean [test.js] test(any myParam) Parameters: {String} myParam @returns {Boolean} What I would expect: Boolean [test.js] test(String myParam) Parameters: {String} myParam @returns {Boolean}