Skip to content

New menu options

Lorenzo Pichilli edited this page Dec 31, 2017 · 4 revisions

After the creation process in your Sublime Text menu will appear new items under Project and Tools:

Project items:

  • Add JavaScript Project type: it will permit you to add/create a new project type inside the current project with similar steeps explained already in the creation process of a new JavaScript project, but it will ask for the Working Directory and not for the Project Path. With this feature you could manage different types in the same project.
  • Add JavaScript type configuration: it will permit you to add only the configuration file of a project type inside the current project with similar steeps explained already in the creation process of a new JavaScript project, but it will ask for the Working Directory and not for the Project Path. With this feature you could add only the configuration file for an existing project.

Tools items:

  • Flow: that contains Build Flow and Add Flow definition. Build Flow will compile your project code using flow-remove-types. It is based on the configuration setted in the "build_flow" key of the project_settings.json file, inside the .je-project-settings folder of the project. To be able to use this feature, you must specify the "source_folder" and "destination_folder". Add Flow definition will ask you what definition it must search and install for your project.
  • Npm/Yarn Scripts: it will contain all the scripts available on the package.json file of your project. Clicking on an item will execute the corresponding script, opening a Terminal to show the process progress.

There could also other items about cordova, ionic, etc. projects. They will be explained later.