FileHighlightingSetting (@NotNull Project project, @NotNull VirtualFile virtualFile) { for (DefaultHighlightingSettingProvider p : DumbService.getDumbAwareExtensions(project, DefaultHighlightingSettingProvider.EP_NAME)) { FileHighlightingSetting setting = p.getDefaultSetting(project, virtualFile); if (setting != null) { return setting; } } return EssentialHighlightingMode.INSTANCE.isEnabled() ? FileHighlightingSetting.ESSENTIAL : FileHighlightingSetting.FORCE_HIGHLIGHTING; }