• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

A new TESH Syntax Highlighter for Warcraft 3

Level 9
Joined
Jul 20, 2018
Messages
176
JassHelper forces to have at least one space after //! for text macros. Otherwise, it treats everything after as a comment. But TESH still uses preprocessor style for such lines.

To be more clear:

These are proper preprocessor commands.
vJASS:
//! runtextmacro MyMacro
//!                runtextmacro MyMacro

This is a comment.
vJASS:
//!runtextmacro MyMacro
 
Last edited:
Level 17
Joined
Apr 13, 2008
Messages
1,597
Hello sir,

I'm using your latest, 0.9.6, however, I still do not have in the function list the new natives from last year:

 
Top