mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] set default level=ERROR for all description inspections (IJPL-173322)
GitOrigin-RevId: e6aa39b0fb4f17e689aff81a4914d9b14059b113
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e05b30b818
commit
47d1931959
@@ -152,7 +152,7 @@
|
||||
<localInspection language="JVM" shortName="InspectionDescriptionNotFoundInspection"
|
||||
projectType="INTELLIJ_PLUGIN"
|
||||
groupPathKey="inspections.group.path" groupKey="inspections.group.description.file"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
enabledByDefault="true" level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.InspectionDescriptionNotFoundInspection"
|
||||
key="inspection.inspection.description.not.found.inspection.display.name"/>
|
||||
<localInspection language="JVM" shortName="checkReturnValue"
|
||||
@@ -176,7 +176,7 @@
|
||||
<localInspection language="JVM" shortName="IntentionDescriptionNotFoundInspection"
|
||||
projectType="INTELLIJ_PLUGIN"
|
||||
groupPathKey="inspections.group.path" groupKey="inspections.group.description.file"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
enabledByDefault="true" level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.IntentionDescriptionNotFoundInspection"
|
||||
key="inspection.intention.description.not.found.inspection.display.name"/>
|
||||
<localInspection language="JVM"
|
||||
@@ -184,7 +184,7 @@
|
||||
key="inspections.component.postfix.template.not.found.description.name"
|
||||
groupPathKey="inspections.group.path" groupKey="inspections.group.description.file"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.PostfixTemplateDescriptionNotFoundInspection"/>
|
||||
<!--suppress PluginXmlCapitalization -->
|
||||
<localInspection language="UAST" shortName="ComponentRegistrationProblems"
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
import com.intellij.codeInspection.InspectionProfileEntry;
|
||||
|
||||
public class <warning descr="Inspection does not have a description">MyInspection</warning> extends InspectionProfileEntry {}
|
||||
public class <error descr="Inspection does not have a description">MyInspection</error> extends InspectionProfileEntry {}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import com.intellij.codeInspection.InspectionProfileEntry;
|
||||
|
||||
public class <warning descr="Inspection does not have a description [getShortName()]">MyInspectionCustomShortName</warning> extends InspectionProfileEntry {
|
||||
public class <error descr="Inspection does not have a description [getShortName()]">MyInspectionCustomShortName</error> extends InspectionProfileEntry {
|
||||
|
||||
public String getShortName() {
|
||||
return "NOT_EXISTING_CUSTOM_SHORT_NAME";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import com.intellij.codeInspection.InspectionProfileEntry;
|
||||
|
||||
public class <warning descr="Inspection does not have a description">MyRegisteredInspection</warning> extends InspectionProfileEntry {
|
||||
public class <error descr="Inspection does not have a description">MyRegisteredInspection</error> extends InspectionProfileEntry {
|
||||
}
|
||||
+1
-1
@@ -8,4 +8,4 @@ class ALocalInspectionTool extends LocalInspectionTool {
|
||||
return com.intellij.codeInspection.InspectionProfileEntry.getShortName(name);
|
||||
}
|
||||
}
|
||||
public class <warning descr="Inspection does not have a description [getShortName()]">MyWithDescriptionAndShortNameInBaseInspection</warning> extends ALocalInspectionTool {}
|
||||
public class <error descr="Inspection does not have a description [getShortName()]">MyWithDescriptionAndShortNameInBaseInspection</error> extends ALocalInspectionTool {}
|
||||
+1
-1
@@ -4,7 +4,7 @@ import com.intellij.openapi.util.Iconable;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.util.IncorrectOperationException;
|
||||
|
||||
public class <warning descr="Intention does not have a description">MyIntentionAction</warning> implements com.intellij.codeInsight.intention.IntentionAction {
|
||||
public class <error descr="Intention does not have a description">MyIntentionAction</error> implements com.intellij.codeInsight.intention.IntentionAction {
|
||||
|
||||
public String getText() { return"text"; }
|
||||
public String getFamilyName() { return"familyName"; }
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import com.intellij.openapi.util.Iconable;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.util.IncorrectOperationException;
|
||||
|
||||
public class <warning descr="Intention must have 'before.*.template' and 'after.*.template' beside 'description.html'">MyIntentionActionWithoutBeforeAfter</warning> implements com.intellij.codeInsight.intention.IntentionAction {
|
||||
public class <error descr="Intention must have 'before.*.template' and 'after.*.template' beside 'description.html'">MyIntentionActionWithoutBeforeAfter</error> implements com.intellij.codeInsight.intention.IntentionAction {
|
||||
|
||||
public String getText() { return"text"; }
|
||||
public String getFamilyName() { return"familyName"; }
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import com.intellij.codeInsight.template.postfix.templates.PostfixTemplate;
|
||||
|
||||
public class <warning descr="Postfix template does not have a description">MyTemplate</warning> extends PostfixTemplate {
|
||||
public class <error descr="Postfix template does not have a description">MyTemplate</error> extends PostfixTemplate {
|
||||
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import com.intellij.codeInsight.template.postfix.templates.PostfixTemplate;
|
||||
|
||||
public class <warning descr="Postfix template must have 'before.*.template' and 'after.*.template' beside 'description.html'">MyTemplateWithoutBeforeAfter</warning> extends PostfixTemplate{
|
||||
public class <error descr="Postfix template must have 'before.*.template' and 'after.*.template' beside 'description.html'">MyTemplateWithoutBeforeAfter</error> extends PostfixTemplate{
|
||||
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
class <warning descr="Inspection does not have a description">MyInspection</warning> : com.intellij.codeInspection.InspectionProfileEntry() {
|
||||
class <error descr="Inspection does not have a description">MyInspection</error> : com.intellij.codeInspection.InspectionProfileEntry() {
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
class <warning descr="Inspection does not have a description [getShortName()]">MyInspectionCustomShortName</warning> : com.intellij.codeInspection.InspectionProfileEntry() {
|
||||
class <error descr="Inspection does not have a description [getShortName()]">MyInspectionCustomShortName</error> : com.intellij.codeInspection.InspectionProfileEntry() {
|
||||
override fun getShortName(): String {
|
||||
return "NOT_EXISTING_CUSTOM_SHORT_NAME"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user