devrim
devrim

Reputation: 387

Copy from browser paste to netbeans not working

Copy from browser paste to netbeans not working. How could this be happen? When I try to paste notepad, it is working, but when try to netbeans it is not working? I am in shock

Upvotes: 30

Views: 27732

Answers (7)

yugsolanki
yugsolanki

Reputation: 35

  1. Press Windows+R
  2. type %appdata%
  3. Go to local folder in AppData (you might be in Roaming folder go back one)
  4. Go to Netbeans folder
  5. And delete Cache folder.

Upvotes: -2

Stop NB and run NB with Administrator privilege, it works!

Upvotes: -1

Ivan
Ivan

Reputation: 62

I'm facing the same problem. If you use cut (ctrl+x) and paste (ctrl+v) instead of copy (ctrol+c) it works.

Upvotes: 3

Richard Jessop
Richard Jessop

Reputation: 972

It looks like the NetBeans IDE assumes that what a developer does with other applications (clipboard operations) is not relevant to NB. The only time that NB does not apply this assumption is when the clipboard is empty. The NB clipboard must first be emptied by cutting or copying nothing (similar to previously posted answers). There is no menu item; there is no shortcut to clear the NB clipboard.

This problem still applies to NB 12.0 as of 2021/5/18.

Upvotes: 20

Dejan Stojanovic
Dejan Stojanovic

Reputation: 409

Try to make an empty copy (Ctrl+C without selection) within Netbeans and then try again to perform copying from browser or another application. It works for me after many solutions I tried.

This bug report also suggests adding

-J-Dnetbeans.slow.system.clipboard.hack=false

to the netbeans_default_options in netbeans.conf, but it did not work for me.

Upvotes: 30

Nikolay Akimov
Nikolay Akimov

Reputation: 71

Selecting text and dragging into the Netbeans still works if you are lazy to restart.

Upvotes: 7

Markus Brüderl
Markus Brüderl

Reputation: 528

This Problem is known for over 10 years now and still not fixed.

See https://netbeans.org/bugzilla/show_bug.cgi?id=88161

Workaround: Restart the IDE.

Upvotes: 22

Related Questions