Inspection adding "Edit options of ..." for each ProblemDescriptor???

Hi,

I have an inspection which can return 0 to n problem descriptors for a single psi element. When there's only one pd, IDEA shows the problem description template text and adds a "Edit options of " option below. Now when there are multiple pd's I get a "Edit options of " for each pd I add, which is pretty silly since they all come from the same Inspection. My questions: A) Why doesn't IDEA only show "Edit options of <..>]]>" for unique Inspections per psi element? Or is this a bug?

B) If A) does not apply, can this be suppressed for all subsequent problem descriptors but the first?

regards,

Raymond Brandon

2 comments

Raymond Brandon wrote:

Hi,

I have an inspection which can return 0 to n problem descriptors for a single psi element. When there's only one pd, IDEA shows the problem description template text and adds a "Edit options of <Inspection Name here>" option below.

Now when there are multiple pd's I get a "Edit options of <Inspection name here>" for each pd I add, which is pretty silly since they all come from the same Inspection.

My questions:

A) Why doesn't IDEA only show "Edit options of <..>" for unique Inspections per psi element? Or is this a bug?

B) If A) does not apply, can this be suppressed for all subsequent problem descriptors but the first?

regards,

Raymond Brandon

Yup, this is a bug indeed. Please post to the tracker.

--
Maxim Shafirov
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Hi Maxim,

I openend bug 38253 "Inspection adding "Edit options of ..." for each ProblemDescriptor".

Thanks!

Raymond

0

Please sign in to leave a comment.