[java-completion] i18n Override/implement methods

GitOrigin-RevId: 907f1f9be06bbe1f1f9ae1bf67890b0a1ecc87d6
This commit is contained in:
Tagir Valeev
2020-10-09 06:14:23 +00:00
committed by intellij-monorepo-bot
parent fe1ef7ea68
commit 714b6bd383
2 changed files with 3 additions and 1 deletions
@@ -100,7 +100,8 @@ public final class JavaGenerateMemberCompletionContributor {
@NotNull
private static LookupElementBuilder itemWithOverrideImplementDialog(int annoStart) {
return LookupElementBuilder.create("Override/Implement methods...").withInsertHandler((context, item) -> {
return LookupElementBuilder.create(JavaBundle.message("completion.override.implement.methods")).withLookupString("Override")
.withInsertHandler((context, item) -> {
context.getDocument().deleteString(annoStart, context.getTailOffset());
context.commitDocument();
context.setAddCompletionChar(false);
@@ -1541,3 +1541,4 @@ postfix.template.condition.array.name=array
inspection.redundant.unmodifiable.call.display.name=Redundant usage of the ''{0}'' wrapper
inspection.redundant.unmodifiable.call.description=Redundant usage of unmodifiable collection wrappers
inspection.redundant.unmodifiable.call.unwrap.argument.quickfix=Unwrap argument
completion.override.implement.methods=Override/Implement methods...