Sublime Text ZScript Highlighting

Any utility that assists in the creation of mods, assets, etc, go here. For example: Ultimate Doom Builder, Slade, WadSmoosh, Oblige, etc.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
CandiceJoy
Posts: 95
Joined: Thu Jul 13, 2017 3:04 pm
Preferred Pronouns: She/Her
Operating System Version (Optional): Win11, MacOS Ventura
Graphics Processor: Apple M1

Sublime Text ZScript Highlighting

Post by CandiceJoy »

ZScript highlighting for Sublime Text

Credits
Caligari_87 for some regexes from https://github.com/zyedidia/micro/blob/ ... cript.yaml
Gutawer for her ZScript documentation at https://gutawer.gitlab.io/gzdoom_pk3_do ... ml#structs

Sublime Syntax Highlighter (DOWNLOAD): https://github.com/CandiceJoy/Sublime-Z ... ghlighting

Instructions: Copy ZScript.sublime-syntax to your Packages/User folder, then open up a zscript file and set the syntax highlighting to ZScript if it isn't already (it should pick up *.zs, *.zc, and *.zsc files as ZScript files).

On windows this is c:\users\<username>\AppData\Local\Sublime Text\Packages\User
On mac this is /Users/<username>/Library/Application Support/Sublime Text/Packages/User

Panucci
Posts: 1
Joined: Mon Nov 18, 2024 10:46 pm

Re: Sublime Text ZScript Highlighting

Post by Panucci »

Thank you!

Return to “Creation, Conversion, and Editing”