KotlinProblemHighlightFilter: *perform* highlighting on library sources
This commit reverts fixing commit for KT-19377 So #KT-21710 Fixed So #KT-19377 Submitted
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ import org.jetbrains.kotlin.idea.KotlinFileType
|
|||||||
class KotlinProblemHighlightFilter : ProblemHighlightFilter() {
|
class KotlinProblemHighlightFilter : ProblemHighlightFilter() {
|
||||||
|
|
||||||
override fun shouldHighlight(psiFile: PsiFile): Boolean {
|
override fun shouldHighlight(psiFile: PsiFile): Boolean {
|
||||||
if (psiFile.fileType == KotlinFileType.INSTANCE && !KotlinHighlightingUtil.shouldHighlightErrors(psiFile)) return false
|
if (psiFile.fileType == KotlinFileType.INSTANCE && !KotlinHighlightingUtil.shouldHighlight(psiFile)) return false
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user