fix new project id for WS

GitOrigin-RevId: 73891742ef9a54b7012848e129a97c6e60406a7b
This commit is contained in:
Dennis Ushakov
2020-02-17 08:36:15 +00:00
committed by intellij-monorepo-bot
parent 6f4477c1e7
commit 3c3beaac4c
@@ -196,9 +196,8 @@ public class SaveProjectAsTemplateAction extends AnAction implements DumbAware {
}
static String getNewProjectActionId() {
if (PlatformUtils.isIntelliJ()) return "NewProject";
if (PlatformUtils.isIntelliJ() || PlatformUtils.isWebStorm()) return "NewProject";
if (PlatformUtils.isPhpStorm()) return "NewDirectoryProject";
if (PlatformUtils.isWebStorm()) return "NewWebStormDirectoryProject";
throw new IllegalStateException("Provide new project action id for your IDE");
}