That is it, I'm tired of that problem: I have some source of java code it could be a manual or web-site or whatever but the format of this source often is not suitable for reading, so I copy it to a temp file in Eclipse and press Ctrl+Shift+F(Auto formatting), it's good so far but what next? My code looks like Christmas tree there are a lot of warnings about mistakes (mostly because this code is out of it's context) but I don't care I just need to read it
1) How I can disable all warnings? I need just be able to read and understand the code not to run it.
2) Is there a way to delete all comments and I don't mean folding them?