|In order to find out what settings people use today we could query github (and alike).|
I did that for the compiler option "Boxing and unboxing conversions".
At github that option is set 14,244 times to ignore  (today's default), and only 1,061 to warning  (the proposal) and 230 to error .
I don't think everyone sets her/his compiler settings carefully, but the available data on github could help us identifying the compiler options
which differ from the default settings mostly. Same with other Eclipse settings.
 - https://github.com/search?q=org.eclipse.jdt.core.compiler.problem.autoboxing%3Derror&type=Code&ref=searchresults
Seems like I’m late to the party here, so rather than skimming through the entire thread let me just ask a question:
Has it been considered to provide preconfigured “Warning Profiles” with 3 simple levels (picky, standard, relaxed) ?
I see two big workflows here: (a) I’m stuck with a big pile of legacy code, please don’t defocus my attention with lots of unnecessary warnings. (b) I’m writing some new code, please give me picky warnings to help me write clean code.
In my experience, the real annoyance is having to deal with each warning individually, and that on a global scope. I see some warning in the Problems view, what the heck is the right entry in Preferences to turn that beast off ?
Ideally the tool would be intelligent enough to know what files I have touched with new code (and enable picky warnings on those files before I checkin), but leave the old code alone without extra warnings unless I ask for them.
I’m curious what the outcome of the survey will be, but IMO there is no “one size fits most” approach to the warnings. It’s better to make it easier fit a user’s situation (type a or type b, and allow easy turn-off of individual warnings that annoy me). Rather than investing too much into a good single default.
Martin Oberhuber, SMTS / Product Architect – Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6
Fyi, the survey asking about line numbers and compiler warnings is now live. We will be promoting it on eclipse.org and the usual social media channels. Feel free to help promote it. The survey will end in 2 weeks.
ide-dev mailing listide-dev@xxxxxxxxxxx