5

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.

4

2 回答 2

2

这绝对看起来像一个错误。(您提到的设置仅影响编辑器中的拖放;始终启用项目视图中的拖放。)

于 2016-01-11T14:35:31.797 回答
1

此问题最近已修复,并且可从 15.0.3 EAP 版本开始使用。

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

于 2016-01-12T09:17:13.960 回答