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

ZPL Syntax

by tonylegrone ST2/ST3

Provides ZPL syntax highlighting for Sublime Text

Details

Installs

  • Total 523
  • Win 360
  • OS X 110
  • Linux 53
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 May 11 May 10 May 9 May 8 May 7
Windows 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 2 1 0 0 0 0 0 0 0
OS X 0 0 1 0 0 0 0 2 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 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 0 0 0 2 0 0

Readme

Source
raw.​githubusercontent.​com

ZPL Syntax Highlighting for Sublime Text

Note: This is a major work in progress.

Currently supports:

  • 2-character function names
  • ^FN variables
  • ^DFR and ^ISR templates names
  • ^FD Strings

Function parameters are the next priority. If anyone wants to jump in and help with that, be my guest. I believe that each function will need it's own pattern definition with all of it's potential options specified in order to keep the parser from continuing into a string.

Screenshot

ZPL highlighting example