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 251733

Summary: Shortcut action in context menu to open project libraries
Product: javascript Reporter: Vladimir Riha <vriha>
Component: ToolsAssignee: Tomas Mysik <tmysik>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jstola
Priority: P4    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Vladimir Riha 2015-04-09 11:05:46 UTC
It could be useful in order to simplify/increase discoverability to have "Manage packages" action in context menu (in Projects window and possibly in editor as well) of package.json and bower.json and this action would open Project Properties->JavaScript libraries -> NPM or Bower dialog. Personally, if I were to see package.json for the first time in NetBeans, I would probably right click on it to see what's there :) But please feel free to close if you disagree.

Thanks
Comment 1 Tomas Mysik 2015-04-09 11:34:00 UTC
Isn't it enough that one can right-click Bower/CDNJS/npm Libraries node and choose Properties? I would like to avoid adding another action to the file node... Feel free to reopen, also adding Honza to CC as he can have any idea.

BTW I just fixed incorrect Project Properties category for Bower Libraries.

http://hg.netbeans.org/web-main/rev/4fd7b45a5d32

Thanks.
Comment 2 Tomas Mysik 2015-04-09 11:34:21 UTC
Perhaps better status? :)
Comment 3 Vladimir Riha 2015-04-09 11:48:47 UTC
I guess it is enough, frankly I forgot about it :)  The node is not there if you have no dependencies yet and personally right clicking on the given json file seemed to me a bit more straightforward. But this was just an idea, I'm fine with keeping it the way it is now.