Can't run inspection

Hi.

I created inspection profile with only one inspection enabled:
s1.jpg

The silly patten is just for trying to catch invalid names.
I ran the inspection:
s2.jpg

But inspection didn't find any issue.
I tried change the pattern:
  [a-b]*
  [a-b]*$

No success
I tried other scopes.

Can any one confirm this behavior ?

Thanks
Boaz

6 comments

Hi.

On the screenshot the custom scope = open files. Looks like a package is just not taken into account as "open file". Please try different scope.

Regards,
Alexander.

0

Hi Alex

Thanks for your reply.

I tried all scopes: Project, module and current file. No luck.

In the inspection doc there is statement:

"        Since this inspection requires global code analysis, it is only available      in batch inspection mode."

Can this be the reason ? If yes, why this limitation ?
It will be very useful for us if we can mark in red wrong package names.

Thanks
Boaz

0

Hello.

What IDEA version do you use? In IDEA 13 (upcoming) I'm now blocked with http://youtrack.jetbrains.com/issue/IDEA-112678 . Hope it will be fixed soon, then I'll continue.

Regards,
Alexander.

0

I'm using 130.1619

Didn't get your point. Did you mean you will look on this issue only after the mentioned one ?

Thank
Boaz

0

Yes, because currently I can't specify name pattern. After the fix I'll recheck, if the problem persists.

Alexander.

0

Tried 132.46 with different scopes and patterns like [a-y]*, [a-b]*, [a-b]+. It founds a lot for me. Sorry, can't reproduce the issue.

If it still occurs to you, please, create an issue in the tracker, maybe developer will be more lucky.

Thanks,
Alexander.

0

Please sign in to leave a comment.