ZBrushCentral

Zscript syntax for Sublime text 2

Has anyone created a syntax color file for Zscripting in Sublime Text 2? I’ve found one for TextPad, my previous text editor of choice, but not for Sublime.

Look like no one has done that for Zscript. You might have to create your own. Good luck with that.

just to have some highlights working i use java script highlighting even though it breaks on some places

I’ve decided to jump into the deep end, as it it were, and write one from scratch, using JavaScript as a spring board, so to speak - sorry about mixing up metaphors. The upshot is that it works with keyword highlighting with some colour schemes.
Here’s a screengrab, as a work in progress.

zscript_syntax_for_sublime_WIP.jpg

Crimson Editor :wink:
Extract>>
"# ZSCRIPT SPECIFICATION FILE FOR CRIMSON EDITOR

Zbrush Central Forums – Apr. 06, 2013"

Here’s a screengrab, as a work in progress.

If you don’t hate emacs…
I wrote zscript-mode.el last week.

zscript_for_zbrush_mode_cap.jpg

zscript-mode.zip (3.07 KB)

It’s been a while, but here’s the Zscript syntax for Sublime 2

Hi,
Could you upload the zscript yaml syntax file, if you have it,
so it will be easy to additionally customize some parts.
Thanks!

can be used for sublimeText3?
thanks

@Andreseloy: Yes, it works fine with Sublime Text 3.

@zigrapher: I think this sublime text syntax is a modification of another syntax, much like my own version. I simply could not wrap my mind around the begin and end captures and where to apply them to create my own. If you have the time it would be very much appreciated if you could share.