@NotNull
  public Set<@NlsSafe String> getAllTemplateKeys(PsiFile file, int offset) {
    Set<String> keys = new HashSet<>();
    Language language = PsiUtilCore.getLanguageAtOffset(file, offset);
    for (PostfixTemplateProvider provider : LanguagePostfixTemplate.LANG_EP.allForLanguage(language)) {
      ProgressManager.checkCanceled();
      keys.addAll(getKeys(provider));
    }
    return keys;
  }
@NotNull
  public Set<@NlsSafe String> getAllTemplateKeys(PsiFile file, int offset)