@SuppressWarnings - playing nice with other IDEs

Like a lot of people here, I buy IDEA with my own money for use at work, where my co-workers use a company-provided IDE. Now that we've switched to JDK 5, my co-workers are starting to take advantage of SuppressWarnings annotations, which are not always compatabile with those in IDEA.

It would be nice if there was a way to map Eclipse or Netbeans SuppressWarnings tags to those supported by IDEA.

In a lot of cases, IDEA has 3 or 4 different warnings for a single, more generic, warning in Eclipse, so I don't know how practical this would be. Is this something that would be useful to others? Is there a technical or logical limitation that I'm just not seeing?

2 comments
Comment actions Permalink

I agree. I would like an option to use Eclipse tags in SuppressWarnings (both recognized by inspections and generated by quick-fix). In particular, IDEA uses "AutoBoxing" but Eclipse uses "boxing".

Furthermore, for projects that maintain their configuration in the Eclipse format, I'd like an option to map the inspections in the same way. So, if Eclipse is warning about auto-boxing, then IDEA warns too. This would let me use Eclipse less.

0
Comment actions Permalink

I've added a new feature request to JIRA for this: http://www.jetbrains.net/jira/browse/IDEA-16812

0

Please sign in to leave a comment.