/NetSuite-Atom-Snippet

Useful NetSuite SuiteScript snippets.cson file for Atom text editor

Apache License 2.0Apache-2.0

NetSuite-Atom-Snippet

Useful NetSuite SuiteScript snippets.cson file for Atom text editor

Adding Snippets to Atom

  1. Open Atom.
  2. Select the Atom > Snippets... menu option if you're using macOS, or the File > Snippets... menu option if you're using Windows, or the Edit > Snippets... menu option if you are using Linux.
  3. Paste the contents of snippets.cson from this repository into your opened snippts.cson file.

Using the snippets

Expand snippets matching the prefix with tab in Atom.

Current supported prefixes:

  • for(var line = 1; line <= lineItemCount; line++)
  • search
  • define
  • restlet
  • userEvent
  • bundleInstallationScript
  • suitelet
  • scheduledScript
  • workflowAction
  • portlet
  • massUpdateScript
  • mapReduce
  • clientScript

demo