I am developing a CheckinHandlerFactory that would extend CodeAnalysisCheckinHandlerFactory. To understand the principle of operation, I completely copied CodeAnalysisCheckinHandlerFactory into my plugin and disabled the default one (unregisterExtension). After this, the code analysis process began to crash with an exception. I assumed that this was related to the dispatcher for the line:
writeIntentReadAction {
PsiDocumentManager.getInstance(project).commitAllDocuments()
}
When replacing it with writeAction{}, it stops crashing, but a dialog with the problems found do not display, the commit simply completes.
Please tell me why this happens.