Is there any way to automate the application of quick fixes in Eclipse?
The reason I ask: I added the javax.vecmath source code to one of my projects, and it's simply dripping
with things that I've set Eclipse to nag me about
- Unnecessary casts
- Unused variables
- Unused methods
- Malformed / missing javadoc
These are all (apart from the javadoc) things that are fixed automatically by quick-fixes, so I gamely started clicking on each warning icon and applying the appropriate fix. I endured this for about 30 minutes and the number of reported warnings was still at 100, so I gave up, dismayed.
I've since changed the compiler settings for that project to be more permissive and reclaimed my pristine errors/warnings list, but I still know that the problems are lurking there, mocking me.
On the subject of vecmath: What's the deal with the method names?
a.sub( b ) means a = a - b, as expected
a.sub( b, c ) means a = b - c. Almost identical syntax, significantly different semantics