This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Autocomplete / suggested text not working for Jquery event handler | ||
---|---|---|---|
Product: | javascript | Reporter: | jmsharp |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
jmsharp
2014-04-22 12:53:10 UTC
Reproducible, but it behaves the same way in 7.4. There are 2 ways right now to get code completion for Event: #1 Use JSDoc $('#somebutton').click( /** * @param {Event} event */ function(event) { }); #2 Press Ctrl+Space twice, which displays "full" completion list but with items that might not be correct (it offers suggestions regardless the property type) I think this is more of an enhancement, to recognize jQuery event callbacks (because e.g. each() or ajax() have different arguments/parameters in callbacks) |