ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

AMPscript Syntax Highlighter

by wvpv ALL

A Salesforce Marketing Cloud AMPscript syntax highlighter for Sublime Text

Details

Installs

  • Total 6K
  • Win 3K
  • Mac 2K
  • Linux 319
Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12
Windows 0 0 1 1 0 0 1 0 1 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1 0 0 1 1 1 2 0 0 0 0 0 1 0 1 0 0 0 0 2 0 0 1
Mac 0 1 0 1 0 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0
01234Jun 26Jun 23Jun 20Jun 17Jun 14Jun 11Jun 8Jun 5Jun 2May 30May 27May 24May 21May 18May 15May 12Jun 26 Linux: 0 Mac: 0 Windows: 0Jun 25 Linux: 0 Mac: 1 Windows: 0Jun 24 Linux: 0 Mac: 0 Windows: 1Jun 23 Linux: 0 Mac: 1 Windows: 1Jun 22 Linux: 0 Mac: 0 Windows: 0Jun 21 Linux: 0 Mac: 0 Windows: 0Jun 20 Linux: 0 Mac: 1 Windows: 1Jun 19 Linux: 0 Mac: 1 Windows: 0Jun 18 Linux: 0 Mac: 1 Windows: 1Jun 17 Linux: 0 Mac: 0 Windows: 0Jun 16 Linux: 0 Mac: 1 Windows: 1Jun 15 Linux: 0 Mac: 0 Windows: 0Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 1Jun 12 Linux: 0 Mac: 0 Windows: 0Jun 11 Linux: 0 Mac: 0 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 0Jun 9 Linux: 0 Mac: 0 Windows: 1Jun 8 Linux: 0 Mac: 0 Windows: 0Jun 7 Linux: 0 Mac: 0 Windows: 0Jun 6 Linux: 0 Mac: 0 Windows: 1Jun 5 Linux: 0 Mac: 0 Windows: 0Jun 4 Linux: 0 Mac: 0 Windows: 0Jun 3 Linux: 0 Mac: 0 Windows: 1Jun 2 Linux: 0 Mac: 0 Windows: 0Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 1May 30 Linux: 0 Mac: 2 Windows: 1May 29 Linux: 0 Mac: 0 Windows: 1May 28 Linux: 0 Mac: 0 Windows: 2May 27 Linux: 0 Mac: 1 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 0May 24 Linux: 0 Mac: 0 Windows: 0May 23 Linux: 0 Mac: 0 Windows: 0May 22 Linux: 0 Mac: 0 Windows: 1May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 0 Mac: 0 Windows: 1May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 1 Mac: 0 Windows: 0May 17 Linux: 1 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 0May 15 Linux: 0 Mac: 1 Windows: 2May 14 Linux: 0 Mac: 0 Windows: 0May 13 Linux: 0 Mac: 0 Windows: 0May 12 Linux: 0 Mac: 0 Windows: 1Jun 26 Linux: 0 Mac: 0 Windows: 0Jun 25 Linux: 0 Mac: 1 Windows: 0Jun 24 Linux: 0 Mac: 0 Windows: 1Jun 23 Linux: 0 Mac: 1 Windows: 1Jun 22 Linux: 0 Mac: 0 Windows: 0Jun 21 Linux: 0 Mac: 0 Windows: 0Jun 20 Linux: 0 Mac: 1 Windows: 1Jun 19 Linux: 0 Mac: 1 Windows: 0Jun 18 Linux: 0 Mac: 1 Windows: 1Jun 17 Linux: 0 Mac: 0 Windows: 0Jun 16 Linux: 0 Mac: 1 Windows: 1Jun 15 Linux: 0 Mac: 0 Windows: 0Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 1Jun 12 Linux: 0 Mac: 0 Windows: 0Jun 11 Linux: 0 Mac: 0 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 0Jun 9 Linux: 0 Mac: 0 Windows: 1Jun 8 Linux: 0 Mac: 0 Windows: 0Jun 7 Linux: 0 Mac: 0 Windows: 0Jun 6 Linux: 0 Mac: 0 Windows: 1Jun 5 Linux: 0 Mac: 0 Windows: 0Jun 4 Linux: 0 Mac: 0 Windows: 0Jun 3 Linux: 0 Mac: 0 Windows: 1Jun 2 Linux: 0 Mac: 0 Windows: 0Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 1May 30 Linux: 0 Mac: 2 Windows: 1May 29 Linux: 0 Mac: 0 Windows: 1May 28 Linux: 0 Mac: 0 Windows: 2May 27 Linux: 0 Mac: 1 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 0May 24 Linux: 0 Mac: 0 Windows: 0May 23 Linux: 0 Mac: 0 Windows: 0May 22 Linux: 0 Mac: 0 Windows: 1May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 0 Mac: 0 Windows: 1May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 1 Mac: 0 Windows: 0May 17 Linux: 1 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 0May 15 Linux: 0 Mac: 1 Windows: 2May 14 Linux: 0 Mac: 0 Windows: 0May 13 Linux: 0 Mac: 0 Windows: 0May 12 Linux: 0 Mac: 0 Windows: 1Jun 26 Linux: 0 Mac: 0 Windows: 0Jun 25 Linux: 0 Mac: 1 Windows: 0Jun 24 Linux: 0 Mac: 0 Windows: 1Jun 23 Linux: 0 Mac: 1 Windows: 1Jun 22 Linux: 0 Mac: 0 Windows: 0Jun 21 Linux: 0 Mac: 0 Windows: 0Jun 20 Linux: 0 Mac: 1 Windows: 1Jun 19 Linux: 0 Mac: 1 Windows: 0Jun 18 Linux: 0 Mac: 1 Windows: 1Jun 17 Linux: 0 Mac: 0 Windows: 0Jun 16 Linux: 0 Mac: 1 Windows: 1Jun 15 Linux: 0 Mac: 0 Windows: 0Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 1Jun 12 Linux: 0 Mac: 0 Windows: 0Jun 11 Linux: 0 Mac: 0 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 0Jun 9 Linux: 0 Mac: 0 Windows: 1Jun 8 Linux: 0 Mac: 0 Windows: 0Jun 7 Linux: 0 Mac: 0 Windows: 0Jun 6 Linux: 0 Mac: 0 Windows: 1Jun 5 Linux: 0 Mac: 0 Windows: 0Jun 4 Linux: 0 Mac: 0 Windows: 0Jun 3 Linux: 0 Mac: 0 Windows: 1Jun 2 Linux: 0 Mac: 0 Windows: 0Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 1May 30 Linux: 0 Mac: 2 Windows: 1May 29 Linux: 0 Mac: 0 Windows: 1May 28 Linux: 0 Mac: 0 Windows: 2May 27 Linux: 0 Mac: 1 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 0May 24 Linux: 0 Mac: 0 Windows: 0May 23 Linux: 0 Mac: 0 Windows: 0May 22 Linux: 0 Mac: 0 Windows: 1May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 0 Mac: 0 Windows: 1May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 1 Mac: 0 Windows: 0May 17 Linux: 1 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 0May 15 Linux: 0 Mac: 1 Windows: 2May 14 Linux: 0 Mac: 0 Windows: 0May 13 Linux: 0 Mac: 0 Windows: 0May 12 Linux: 0 Mac: 0 Windows: 1

Readme

Source
raw.​githubusercontent.​com

AMPSCRIPT SYNTAX HIGHLIGHTER

A Salesforce Marketing Cloud AMPscript syntax highlighter for Sublime Text.

INSTALLATION

  1. Install Package Control
  2. Open package control settings with CTRL-SHIFT-P then select Install Package
  3. Search for AMPscript Syntax Highlighter and select it to install

USAGE

  • Opening a file with an .amp or .ampscript extension will automatically invoke the AMPscript Syntax Highlighter
  • To apply syntax highlighting to a document, use the CTRL-SHIFT-P hotkey combination and search for AMPscript. Select Set Syntax: AMPscript Syntax Highlighter (HTML).

FEATURES

  • Identifies the following AMPscript syntax:
    • code blocks
    • inline code
    • functions
    • language control elements – conditionals, loops, variable declarations and assignments, operators
    • numbers
    • strings
    • system strings – block and inline
    • variables
    • comments
    • constants
  • Supports all 150 AMPscript functions
  • Parses the majority of the system substitution strings
  • Highlights both AMPscript block types: %%[ ]%% and <script runat="server" language="ampscript"> </script>
  • Inherits base HTML syntax highlighting (text.html.basic)

UPDATES

  • 1.0.7 - Added support for BuildRowsetFromJSON()
  • 1.0.6 - Added wvpv-dark theme
  • 1.0.5 - Added support for GetSendTime(), GetJWT() and GetJWTByKeyName() functions.