private static VirtualFile getVirtualFile(@NotNull FileEditor fileEditor) {
    VirtualFile virtualFile = fileEditor.getFile();
    VirtualFile replacedVirtualFile = BackedVirtualFileProvider.EP_NAME.computeSafeIfAny(provider -> {
      return provider.getReplacedVirtualFile(virtualFile);
    });
    return replacedVirtualFile != null ? replacedVirtualFile : virtualFile;
  }
private static VirtualFile getVirtualFile(@NotNull FileEditor fileEditor)