I just wanted to share my observations here, like a pebble in the ocean, I tried all of the most of the options listed above, but this did not solve my problems.
In fact, in my case, the main culprit was the size of the java file, as the lines of code increased, faced with this hang when copying and pasting.
Such a quick workaround that I made to have a temporary file for development, and as soon as everything was done, moving the code to the corresponding Java file saved me from this obstacle. (I'm a guy from Selenium + Java, so this workaround worked for me).
Kris Sep 07 '18 at 6:57 2018-09-07 06:57
source share