

and I can't help but wonder if something like what I mocked up below would be as helpful to others as it would for me? cmd-v *paste* file contents in new Java file dialog and.go back to text editor and cmd-c *copy* file contents.

cmd-v *paste* class name in Create new Java File Dialog.go to text editor and cmd-c *copy* class name.go to destination package location - or create manually if not yet there.cmd-v *paste* in some external Text editor.find the new file and open in the side-by-side editor.choose Git -> Compare with Branch -> select branch.*slap forehead* when I find that I forgot to copy the contents of that new file - again.figure out in what project module exactly the new file is supposed to live (since that's ain't necessarily clear from the package name alone).It turns out that there is absolutely no way to copy that new file from that other branch to the active branch within the "Git Compare UI", so to speak. In such cases, the local panel of the side-by-side viewer is (obviously) blank. However, this can't cope with (the fairly common, you'd think) situation where the remote branch happens to have a new file. In the side-by-side viewer window it's easy to cherry-pick the changes and copy whatever is necessary. It happens quite often that I merge the changes on my local git branch with another git branch by using the (context click menu) Git -> Compare with Branch. It looks as if my question has also been asked here but I don't find the answer wholly applies to the question so I'll raise it again.
