Creating a SuiteScript File in SuiteCloud IDE Plug-in for WebStorm

You can create SuiteScript files in the IDE plug-in for WebStorm, and the right file type template is added automatically. If you add SuiteScript modules when creating the file, you can use code completion for those modules.

To create a SuiteScript file:

  1. In WebStorm, open your SuiteCloud project.

  2. Right-click the SuiteScripts folder and choose New > SuiteScript File.

    If you're in a SuiteApp project, right-click the SuiteApps/<Application ID> folder.

    Note:

    For more information about the Application ID, see SuiteApp Application ID.

  3. In the New SuiteScript File dialog, do the following:

    • From the Type dropdown, pick the type of SuiteScript file you want to create.

    • In the Name field, enter a name for your SuiteScript file.

    • In the Dependencies area, check the SuiteScript modules you want to include in your SuiteScript file.

    New SuiteScript File window
  4. Click OK.

    The SuiteScript file is created using the template for that file type.

    An example of a SuiteScript file created.

Related Topics

General Notices