SuppressWarnings annotation not picked up
When using the @SuppressWarnings() annotation, it does not seem to be recognized in some instances. In this case its specifically for the serializable class warning.
Warning 1:
Warning 2:
Just for clarity, I'm using Cursor but haven't used any of those features yet. This is just vscode at this point.
It generates thousands of errors like this across our codebase:
@ryantomlinson95 you can try to add
org.eclipse.jdt.core.compiler.problem.suppressWarningsNotFullyAnalysed=ignore
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
to <your_project>/.settings/org.eclipse.jdt.core.prefs.
See Settings Global Preferences
@snjeza Thanks for the suggestion, unfortunately this did not work for me though.
Did these and still seeing the same errors
Did these and still seeing the same errors
No, I didn't.
If you use <your_project>/.settings/org.eclipse.jdt.core.prefs, you don't need to set java.settings.url.
Unfortunately that's not working for me
@ryantomlinson95 Could you attach a project example reproducing the error?