Skip to main content

ZPL Text Editing, Code Completion, Syntax Highligting, Visual Studio Code

  • August 21, 2024
  • 0 replies
  • 126 views

Michael.Young
Ultraviolet
Forum|alt.badge.img+1

Fellow ZPL programmers,

I want to share some of the tools that I use for editing ZPL scripts and code.

I use Microsoft Visual Code Studio to edit the ZPL files.

I also use an extension from Hiiragi that enables support for ZPL in VS Code. It provides syntax highlighting and some code completion through IntelliSense.
For IntelliSense, I would disable the option “Editor>Suggest: Match On Word Start Only”. This allows you to type “MERIT” and pull up all the tags that contain “MERIT”.

Option to enable “Fuzzy Search”

Example of Code Completion,

Example of Code Completion with DEFAULTMERIT

Example of Sanjay’s PLOT_TEST.ZPL script with indentations provided by me to enable code folding.

Example of Sanjay’s Code in VS Code without Code Folding

 

Example of Sanjay’s Code in VS Code with Code Folding

Hiiragi supports and requests community contribution to the repository. Please consider supporting the project and providing feedback to Hiiragi, forking the repository, etc.

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings