code: function createNewItem(baseDir, initialName, skipRename, isFolder) {
          baseDir = model.getDirectoryInProject(baseDir);
  
          if (skipRename) {
              if(isFolder) {
                  return model.createAtPath(baseDir + initialName + "/");
              }
              return model.createAtPath(baseDir + initialName);
          }
          return actionCreator.startCreating(baseDir, initialName, isFolder);
      }
docs: Create a new item in the current project.
  
  @param baseDir {string|Directory} Full path of the directory where the item should go.
  Defaults to the project root if the entry is not valid or not within the project.
  @param initialName {string} Initial name for the item
  @param skipRename {boolean} If true, don't allow the user to rename the item
  @param isFolder {boolean} If true, create a folder instead of a file
  @return {$.Promise} A promise object that will be resolved with the File
  of the created object, or rejected if the user cancelled or entered an illegal
  filename.