mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Reimplement inspection suppressions for JavaScript and CoffeeScript
This commit is contained in:
@@ -119,7 +119,7 @@ public abstract class InspectionProfileEntry implements BatchSuppressableTool{
|
||||
return alternativeId != null && !alternativeId.equals(toolId) && suppressor.isSuppressedFor(element, alternativeId);
|
||||
}
|
||||
|
||||
private static Set<InspectionSuppressor> getSuppressors(@NotNull PsiElement element) {
|
||||
public static Set<InspectionSuppressor> getSuppressors(@NotNull PsiElement element) {
|
||||
FileViewProvider viewProvider = element.getContainingFile().getViewProvider();
|
||||
if (viewProvider instanceof TemplateLanguageFileViewProvider) {
|
||||
LinkedHashSet<InspectionSuppressor> suppressors = new LinkedHashSet<InspectionSuppressor>();
|
||||
|
||||
Reference in New Issue
Block a user