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.
[ 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
(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.
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.
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