This question may have been asked before but I was unable to find any solution.
When I browse and see some code that I would like to copy, I simply use Ctrl+C and Ctrl+V. Most of the time this works fine, but in some cases (websites like StackOverflow and a few others), when I copy the code and paste it, it only comes on one line in Eclipse. I have tried pasting this code into Eclipse, then selecting all and then Auto Format but this doesn’t help either. I have also pasted the code into Komodo and Word with the same results. The code simply refuses to align itself.
Does anyone know any solution to this?