@Override
  public @NotNull Project openFile(@NotNull VirtualFile file) {
    Project project = lightEditProjectManager.getOrCreateProject();
    LightEditUtil.LightEditCommandLineOptions commandLineOptions = LightEditUtil.getCommandLineOptions();
    doWhenActionManagerInitialized(() -> {
      doOpenFile(file, commandLineOptions == null || !commandLineOptions.shouldWait());
    });
    return project;
  }
@Override
  public @NotNull Project openFile(@NotNull VirtualFile file)