mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
applyToDialects processed properly(cherry picked from commit 94e75a8)
This commit is contained in:
+4
-2
@@ -275,8 +275,10 @@ public class LocalInspectionsPass extends ProgressableTextEditorHighlightingPass
|
||||
LocalInspectionTool tool = wrapper.getTool();
|
||||
if (!checkDumbAwareness || tool instanceof DumbAware) {
|
||||
map.putValue(tool, language);
|
||||
for (Language dialect : lang.getDialects()) {
|
||||
map.putValue(tool, dialect.getID());
|
||||
if (wrapper.applyToDialects()) {
|
||||
for (Language dialect : lang.getDialects()) {
|
||||
map.putValue(tool, dialect.getID());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user