How to Run a Single Inspection in IDEA X?
November 20th, 2010 by Konstantin BulenkovTo run a single inspection in previous versions of IntelliJ IDEA you had to create a dedicated inspection profile for that or use “Run inspection on…” from inspection’s quick fix list. In IntelliJ IDEA X you can find and run inspection by its name on any scope without creating an inspection profile. Use Run Inspection by Name (Ctrl+Alt+Shift+I) action anywhere to choose a desired inspection from hundreds of available,
then select a scope to run inspection on,
and get results.
This action is available since version 98.402 in Main Menu-> Analyze->Run Inspection by Name.
Tags: Code Analysis, ideaX




November 20th, 2010 at 8:52 am
It would be useful to switch off one inspection for a file and not for hall project.
November 20th, 2010 at 2:46 pm
Very nice, indeed I have often created an inspection profile just to do this.
One little quirk: On windows the selected inspection in the dropdown list is impossible to read (black text on dark blue background).
Windows Vista, JD 6, “Alloy. IDEA Theme”
November 21st, 2010 at 6:06 am
@Ara You can do it without a problem http://img408.imageshack.us/img408/8514/ss20101121140315.png
It works not only in Java files, but in others too.
@Stephen Thanks to noticed this. Seems this problem is not in this list only. Other lists have the same issue. Will try to fix it soon.