In order to test out inner classes and improve my understanding of that feature.
When I copy the code and go to paste it, instead of breaking it apart, line by line, it gives me one very long line.
Is there a way to keep this from happening?
It is probably a side effect of either your browser on the way you are copying (example selecting bits of HTML that confuses the IDE). You can try CTRL+SHIFT+F in Eclipse to let it format the code for you. Should prevent the need to worry about the copy/paste problem.
Joined: Dec 18, 2012
Ctrl-Shift-F worked great. Thank you very much.
(I'm using a Windows machine).