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.

Bug 231992 - No documentation for Knockout functions displayed in JavaScript code completion
Summary: No documentation for Knockout functions displayed in JavaScript code completion
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Knockout (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on: 229272
Blocks:
  Show dependency tree
 
Reported: 2013-06-28 12:27 UTC by Petr Jiricka
Modified: 2013-09-24 12:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2013-06-28 12:27:15 UTC
1. Create a KnockoutJS application, e.g. using the "must-play games list" sample
2. Open models/gamelistviewmodels.js
3. Press Ctrl+Space inside a KnockoutJS function call, e.g. inside 'computed' on line 12

=> Documentation window does not display any documentation.

Even a partial fix would be useful, e.g. enabling the external browser icon in
the bar at the top of this window, and displaying text "To view documentation
for this function, press the [web browser] button in the toolbar above this
text." This icon would point to some section of the Knockout documentation: http://knockoutjs.com/documentation/introduction.html

(BTW, documentation already works in HTML files for Knockout attributes.)
Comment 1 Petr Hejl 2013-06-28 13:19:56 UTC
That sould be doable. No problem.

For the knockout itself (not html binding) only 3 sections of "Observables" are relevant. So it covers just couple of functions and the usefulness is pretty limited - as it is more introduction not a documentation. Some couple of other functions are mentioned in the text but I'm not sure how useful would it be to navigate to the page for them. Just lowering expectations...
Comment 2 Petr Hejl 2013-09-24 12:30:36 UTC
Fixed in web-main ebab59f71093.