From ba770c3006646c6cd7b39aab193d24b7c2556bf2 Mon Sep 17 00:00:00 2001 From: Anton Makeev Date: Thu, 9 May 2013 18:11:36 +0200 Subject: [PATCH] AppCode: inspection tests improved: expected data in vcs, publishing results on teamcity, disabled spelling inspection --- .../intellij/codeInspection/ex/InspectionProfileImpl.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionProfileImpl.java b/platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionProfileImpl.java index 1c3ee9efe926..df9f1e876026 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionProfileImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionProfileImpl.java @@ -911,6 +911,12 @@ public class InspectionProfileImpl extends ProfileEx implements ModifiableModel, return myTools.get(toolId); } + public void enableAllTools() { + for (InspectionProfileEntry entry : getInspectionTools(null)) { + enableTool(entry.getShortName()); + } + } + public void disableAllTools() { for (InspectionProfileEntry entry : getInspectionTools(null)) { disableTool(entry.getShortName());