AMPscript Syntax Highlighter
A Salesforce Marketing Cloud AMPscript syntax highlighter for Sublime Text
Labels language syntax
Details
Installs
- Total 6K
- Win 3K
- Mac 2K
- Linux 315
Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 1 | 2 | 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 |
Readme
- Source
- raw.githubusercontent.com
AMPSCRIPT SYNTAX HIGHLIGHTER
A Salesforce Marketing Cloud AMPscript syntax highlighter for Sublime Text.
INSTALLATION
- Install Package Control
- Open package control settings with
CTRL-SHIFT-P
then selectInstall Package
- 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 forAMPscript
. SelectSet 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.