0

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?

MaxNevermind
  • 2,784
  • 2
  • 25
  • 31

2 Answers2

0

Turn off your lint markers in eclipse. This will avoid warnings

Hybrid Developer
  • 2,320
  • 1
  • 34
  • 55
0

Explore through this path location:

You can configure the Java Compiler to ignore the Deprecated Warnings. I'd suggest to configure this setting for the specific project, not globally. To do so, right-click on your project and go to Properties > Java Compiler > Errors/Warnings.

Exceptional
  • 2,994
  • 1
  • 18
  • 25
  • You tried it for yourself? I tried it didn't work. I create a project. I set "ignore" for all errors in it - no result – MaxNevermind Aug 07 '13 at 05:53