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 248780 - Auto complete NPM path based on Node.js path and vice versa in Options
Summary: Auto complete NPM path based on Node.js path and vice versa in Options
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Node.js (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 13:34 UTC by Jiri Kovalsky
Modified: 2014-11-20 13:36 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2014-11-20 13:34:28 UTC
Product Version: NetBeans IDE Dev (Build 201411200001)
Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

If user does not have 'node' and 'npm' commands on PATH, these needs to be configured properly in "Tools > Options > Miscellaneous > Node.js". To save time it would be nice if right after browsing to 'node' command e.g. '/home/cesilko/Software/NodeJS_0.10.29/bin/node' NetBeans would check if '/home/cesilko/Software/NodeJS_0.10.29/bin/npm' exists and if so it would automatically fill out the second field for 'npm' binary. I am sure that users will love it! :)
Comment 1 Tomas Mysik 2014-11-20 13:36:02 UTC
Good idea, will do it.

Thanks.