boolean (@NotNull CompletionParameters parameters) { // Do not provide HTML text completions in multi view files like PHP final List<PsiFile> psiFiles = parameters.getOriginalFile().getViewProvider().getAllFiles(); return ContainerUtil.exists(psiFiles, f -> f instanceof HtmlFileImpl) && ContainerUtil.and(psiFiles, f -> isHtmlElementInTextCompletionEnabledForFile(f)); }