private void startOperation(@NotNull VirtualFile file) {
    // currently actions like "new project", "import project" (probably also others) are not performed under command
    if (!myIsInCommand) {
      myIsOperationStarted = myVcs.getProject() == ProjectLocator.getInstance().guessProjectForFile(file);
      if (myIsOperationStarted) commandStarted();
    }
  }
private void startOperation(@NotNull VirtualFile file)