Community
Participate
Working Groups
With the change over to Eclipe 2.1.2 as the base version for our software the default setting for the reporting on 'unused imports' changed from "Ignore" to "Warning". This is annoying from the standpoint that these warnings flag access to our API as warnings in the auto generated Java code. Please change it back in 3.0
Moving to JDT/Core for comments.
Why don't you toggle it to whatever value you prefer ? You can even do so programmatically.
We do it programmatically. It is good workaround. Two problems with that 1. Not clear for user to look under project properties instead of compiler preferences. 2. Internal API has to be used I moved priority to P4
You should have been using: Didn't you use: JavaCore.setOption(JavaCore.COMPILER_PB_UNUSED_IMPORT, JavaCore.IGNORE); IJavaProject.setOption(JavaCore.COMPILER_PB_UNUSED_IMPORT, JavaCore.IGNORE)