mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
auto-import in a write-safe context (EA-92219 - assert: PsiDocumentManagerBase.commitAllDocuments)
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ public class DefaultHighlightInfoProcessor extends HighlightInfoProcessor {
|
||||
if (editor != null && !editor.isDisposed()) {
|
||||
// usability: show auto import popup as soon as possible
|
||||
if (!DumbService.isDumb(project)) {
|
||||
new ShowAutoImportPass(project, psiFile, editor).addImports();
|
||||
new ShowAutoImportPass(project, psiFile, editor).doApplyInformationToEditor();
|
||||
}
|
||||
|
||||
DaemonListeners.repaintErrorStripeRenderer(editor, project);
|
||||
|
||||
Reference in New Issue
Block a user