boolean (@NotNull TemplateActionContext templateActionContext) { final PsiFile file = templateActionContext.getFile(); return file instanceof PropertiesFile && !(file.findElementAt(templateActionContext.getStartOffset()) instanceof PsiWhiteSpace); }