static boolean isHtmlElementInTextCompletionAutoPopupEnabledForFile(@NotNull PsiFile file) {
    return HtmlSettings.getInstance().AUTO_POPUP_TAG_CODE_COMPLETION_ON_TYPING_IN_TEXT
           && isHtmlElementInTextCompletionEnabledForFile(file);
  }
static boolean isHtmlElementInTextCompletionAutoPopupEnabledForFile(@NotNull PsiFile file)