microsoft / vscode-java-pack

VS Code extensions for Java developers.
Other
291 stars 133 forks source link

Provide code actions for configuring null analysis #1066

Open CsCherrYY opened 2 years ago

CsCherrYY commented 2 years ago

The annotation based null analysis is available since redhat.java 1.11.0. But the related configuration java.compile.nullAnalysis.* is not such obvious. We can consider to provider a code action for them.

SHemmis commented 2 years ago

Yes please.

I've spent a few hours today trying to figure out where these null warnings came from; some valid; some less valid. Adding "java.compile.nullAnalysis": false was the final solution I chose