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 5K
  • Win 3K
  • Mac 2K
  • Linux 312
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
Windows 1 1 0 1 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 2 0 0 0 0 0 2 1 0 0 2 0 1 0 0 1 0 0 0 0 1 1 0 0 0
Mac 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 2 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 1 0 2 0 1
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 0 0 0 0 0 0 2

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.