Reputation: 183
I have been draging and dropping from Windows Explorer to Eclipse since I've started using it, and now find myself unable to do so. When I drag a .java file over my package, the mouse cursor stays a circle with a diagonal bar through it and dropping does nothing. I have tried to change my workspace, create a fresh new workspace, deleted eclipse and redownloaded it. It still doesn't work. Making Eclipse run as admin doesn't solve the issue either.
Upvotes: 8
Views: 14876
Reputation: 216
For me it was the missing marketplace client.
It is noticeable when help -> Eclipse Marketplace is missing.
I installed it with help -> Install new Software -> Update Site for 2018-09 -> Eclipse Marketplace
Upvotes: 0
Reputation: 68
I figured out it was due to viewing the project in Project Explorer instead of Package Explorer.
Right click on a project > Show in > Package Explorer
You'll be able to drag-drop again at this point.
Upvotes: 5
Reputation: 2311
I faced similar problem when trying to drag-drop image file directly from explored zip. After I extracted the zip, drag-drop worked as expected.
Upvotes: 0
Reputation: 479
I had this issue when Eclipse was running as Administrator. Setting it back just worked.
Upvotes: 7
Reputation: 22080
There are at least two workarounds:
Upvotes: 7