void (@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(); } }