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 247447 - Documentation is being loaded while using Knockout completion
Summary: Documentation is being loaded while using Knockout completion
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Node.js (show other bugs)
Version: 8.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 14:22 UTC by Vladimir Riha
Modified: 2015-05-01 02:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (35.21 KB, text/plain)
2014-09-24 14:22 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-09-24 14:22:02 UTC
Created attachment 149497 [details]
IDE log

Please try following:
 - create a new HTML5 project, all default
 - replace content of index.html with following


<!DOCTYPE html>
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
    </head>
    <body data-bind="component: ">
    </body>
</html>


 - invoke code completion in place of |

    <body data-bind="component: |">

 => progress bar in IDE says "Loading NodeJS documentation" and indeed my cache dir contains nodejs and nodejs-doc folders.

Thank you


Product Version: NetBeans IDE Dev (Build web-main-1316-on-20140924)
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2014-09-26 12:56:04 UTC
Vlado, did you disabled the node js support for the project? If not, then the support is active and try to add something to the code completion.
Comment 2 Vladimir Riha 2014-09-26 13:05:21 UTC
It happens in project where NodeJS has not been enabled at all (or better where I have not in any way configured default project settings). The default HTML5 project right now does not have any checkbox to enabled/disable NodeJS as it is missing sources folder.
Comment 3 Roman Svitanic 2015-04-30 14:46:41 UTC
Changeset: 2789f1a9589e
Author:    Roman Svitanic <rsvitanic@netbeans.org>
Date:      2015-04-30 16:46
Message:   #247447: Load NodeJS documentation from external URL only if NodeJS support is enabled for current project
Comment 4 Quality Engineering 2015-05-01 02:54:50 UTC
Integrated into 'main-silver', will be available in build *201505010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2789f1a9589e
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #247447: Load NodeJS documentation from external URL only if NodeJS support is enabled for current project
Task #247447 - Documentation is being loaded while using Knockout completion