boolean (@NotNull PsiElement context, @NotNull Document copyDocument, int newOffset) { // Non-inplace mode would require a modal dialog, which is not allowed under postfix templates return EditorSettingsExternalizable.getInstance().isVariableInplaceRenameEnabled() && super.isApplicable(context, copyDocument, newOffset); }