Closed angelozerr closed 2 weeks ago
Attention: Patch coverage is 0%
with 15 lines
in your changes missing coverage. Please review.
Project coverage is 23.63%. Comparing base (
0b8414c
) to head (ba149d9
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
fix: prevent from "implementation class is not specified" with documentMatcher
When documentMatcher is not declared in languageMapping, fileTypeMapping, etc, the following exception is thrown https://github.com/JetBrains/intellij-community/blob/def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0/platform/core-api/src/com/intellij/serviceContainer/LazyExtensionInstance.java#L55
We catch this method, but it is cleaner to avoid calling getInstance if documentMatcher is not declared.