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 201690 - Add Dependency uses clipboard to default values
Summary: Add Dependency uses clipboard to default values
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: All All
: P4 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 14:10 UTC by tim_sa
Modified: 2016-07-07 08:39 UTC (History)
0 users

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 tim_sa 2011-09-06 14:10:02 UTC
[ BUILD # : 201109040600 ]
[ JDK VERSION : 1.7 ]

When looking for dependencies you often get a <dependency> snippet. It would be
very convenient to be able to quickly add that <dependency> snippet to your POM
either via a Dependencies -> Add Dependency Snippet context menu. 

An alternative approach would be on the open of the Add Dependency(Add Library)
dialog that if the users clipboard contained a <dependency> snippet then those
values could be defaulted into the dialogs fields
Comment 1 Jesse Glick 2011-09-06 20:33:10 UTC
(In reply to comment #0)
> It would be
> very convenient to be able to quickly add that <dependency> snippet to your POM
> via a Dependencies -> Add Dependency Snippet context menu.

Or you could just open the POM and Ctrl-V it in.

> on the open of the Add Dependency(Add Library)
> dialog if the users clipboard contained a <dependency> snippet then those
> values could be defaulted into the dialogs fields

Possible, though I wonder how many users would ever stumble into this.
Comment 2 basil.bourque 2014-01-21 00:51:17 UTC
As a new user, I expected this feature. I had a snippet for Joda-Time dependency on clipboard. I was surprised the "Add Dependency" dialog did not detect it. I was further surprised to not find any kind of "Paste snippet" button or feature.
Comment 3 Martin Balin 2016-07-07 08:39:32 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss