mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Retyping: update file system during retyping with background file changes
This commit is contained in:
@@ -36,6 +36,7 @@ import com.intellij.openapi.util.Disposer
|
||||
import com.intellij.openapi.util.Key
|
||||
import com.intellij.openapi.vfs.VfsUtil
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
import com.intellij.openapi.vfs.VirtualFileManager
|
||||
import com.intellij.openapi.wm.IdeFocusManager
|
||||
import com.intellij.ui.EditorNotificationPanel
|
||||
import com.intellij.ui.EditorNotifications
|
||||
@@ -566,6 +567,10 @@ class RetypeSession(
|
||||
file.delete()
|
||||
cancel()
|
||||
}
|
||||
|
||||
WriteCommandAction.runWriteCommandAction(project) {
|
||||
VirtualFileManager.getInstance().syncRefresh()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user