Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drag n' drop file move in project window not working in IntelliJ IDEA 15?

The drag-and-drop re-factor move of files in the project window is not working for me in IntelliJ IDEA 15. If I right-click on a file in the project window, select Refactor -> Move... from the menu and change the package/folder there it works, but not if I try to drag-and-drop the file from one package to another.

What happens is the dialog appears, but everything is disabled on the dialog box and the only way I can close it is by escaping out (even the close button seems disabled).

This particular IDEA installation is pretty barebones, (no fancy plugins) But perhaps there are some plugin interactions at play. I do have a few other intelliJ installations locally however (a community edition with cursive and an older 14 Ultimate).

I've made sure Enable Drag'n'Drop Functionality in editor is checked under editor settings as indicated in the docs.

Am I missing something here or is this a bug? A cursory googling and SO search did not reveal anything.

like image 654
leeor Avatar asked Oct 18 '22 18:10

leeor


2 Answers

This definitely looks like a bug. (The setting you mention only affects drag & drop in the editor; drag & drop in the Project view is always enabled.)

like image 148
yole Avatar answered Oct 30 '22 22:10

yole


This issue has been fixed recently, and is available as of 15.0.3 EAP build.

https://youtrack.jetbrains.com/issue/IDEA-146691

like image 38
Yann Cébron Avatar answered Oct 30 '22 21:10

Yann Cébron