The ability to copy and paste packages between modules in the project view

I know that this is an Eclipse feature, but really miss it.
The ability to copy(COMMAND C) and paste(COMMAND V) packages between modules in the project view would be a huge productivity helper.

2 comments
Comment actions Permalink

Hello Jim,

I would suggest opening a feature request for this at http://youtrack.jetbrains.net Then, post the link for it in this thread to campaign for some votes for it.

In the meantime, a work around would be to copy the package name from a class in that package (ctrl+Home will take you to the top of the file near the package declaration). Then in either the project window or navigation bar create a new package (alt+insert or right-click | new) in the target module and paste the package name inot the new package dialog. When creating a package, you can create a fully qualified package. That is you can past com.example.foo into the new package dialog. (Same thing with a new class, you can enter com.example.foo.MyClass). IDEA will create all the necessary directories. You do not need to create each subpackage one at a time.

0
Comment actions Permalink

Hello jim,

While this would be a useful addition, note that you can use the Copy refactoring
(Refactor | Copy, or F5 in the default keymap) to copy a package or directory
to a different location.

I know that this is an Eclipse feature, but really miss it.

The ability to copy(COMMAND C) and paste(COMMAND V) packages between
modules in the project view would be a huge productivity helper.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.