inspections as extension points

This commit is contained in:
Dmitry Avdeev
2011-09-30 13:04:20 +04:00
parent 09dd15ed4d
commit 11ef1f78d0
2 changed files with 5 additions and 33 deletions
+5 -1
View File
@@ -129,7 +129,11 @@
<intentionAction>
<className>org.jetbrains.android.intentions.AndroidAddStringResourceAction</className>
</intentionAction>
<inspectionToolProvider implementation="org.jetbrains.android.inspections.AndroidInspectionToolProvider"/>
<localInspection shortName="AndroidDomInspection" bundle="messages.AndroidBundle" key="android.inspections.dom.name"
groupKey="android.inspections.group.name" enabledByDefault="true" level="ERROR"
implementationClass="org.jetbrains.android.inspections.AndroidDomInspection"/>
<colorSettingsPage implementation="org.jetbrains.android.logcat.AndroidLogcatColorPage"/>
<findUsagesHandlerFactory implementation="org.jetbrains.android.AndroidFindUsagesHandlerFactory"/>
<xml.schemaProvider implementation="org.jetbrains.android.AndroidXmlSchemaProvider"/>
@@ -1,32 +0,0 @@
/*
* Copyright 2000-2010 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.android.inspections;
import com.intellij.codeInspection.InspectionToolProvider;
/**
* Created by IntelliJ IDEA.
* User: Eugene.Kudelevsky
* Date: Jun 25, 2009
* Time: 9:14:42 PM
* To change this template use File | Settings | File Templates.
*/
public class AndroidInspectionToolProvider implements InspectionToolProvider {
public Class[] getInspectionClasses() {
return new Class[]{AndroidDomInspection.class/*, AndroidUnknownAttributeInspection.class*/};
}
}