mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SSR: Do not populate 'Meta data' of new inspection (IDEA-241611)
GitOrigin-RevId: f0792178f1fee72b63448d75393a85f26cce2d39
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a3f17ba4d3
commit
5267e53b43
+9
@@ -128,6 +128,10 @@ public class StructuralSearchProfileActionProvider extends InspectionProfileActi
|
||||
assert project != null;
|
||||
final Configuration configuration = dialog.getConfiguration();
|
||||
configuration.setOrder(0); // reset
|
||||
configuration.setName(SSRBundle.message("new.template.defaultname"));
|
||||
configuration.setDescription("");
|
||||
configuration.setProblemDescriptor("");
|
||||
configuration.setSuppressId("");
|
||||
if (!createNewInspection(configuration, project, profile)) {
|
||||
return;
|
||||
}
|
||||
@@ -201,6 +205,11 @@ public class StructuralSearchProfileActionProvider extends InspectionProfileActi
|
||||
init();
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable JComponent getPreferredFocusedComponent() {
|
||||
return myNameTextField;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected @NotNull List<ValidationInfo> doValidateAll() {
|
||||
final List<ValidationInfo> result = new SmartList<>();
|
||||
|
||||
@@ -13,7 +13,7 @@ save.template.description.button=Save Template
|
||||
save.template.text.button=S&ave Template...
|
||||
save.inspection.action.text=Save Template as Inspection...
|
||||
create.inspection.from.template.action.text=Create Inspection from Template...
|
||||
new.template.defaultname=user defined
|
||||
new.template.defaultname=Unnamed
|
||||
|
||||
recursive.matching.checkbox=&Recursive
|
||||
reformat.checkbox=Re&format
|
||||
|
||||
Reference in New Issue
Block a user