• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

SublimeText JASS

This tool originates from here

Most of you probably know what SublimeText is, if you don't, just check this out: http://www.sublimetext.com/

I like this editor (even more than Notepad++ <.<) and I also liked the idea of being able to code for W3 in it, so I did the syntax definition for JASS (includes cJASS and vJASS).

If you want, you can help to improve this addon: https://github.com/Ruk33/SublimeText-JASS

Credits goes for:
+ muZk
+ SublimeText 2/3
+ AAAPackageDev
+ C, C++, PHP & Javascript which I take them as templates
+ http://bakingcode.com/development/creando-un-tmlanguage-para-sublime-syntax-definition/ comment-blocks

Hopefully I didn't forget anyone.

Enjoy it.

edit: Created the default Newgen theme :)
edit: Added auto-completation
edit: Now works on SublimeText 3 too!

Keywords:
Sublime Text, syntax definition, jass, cjass, vjass
Contents

SublimeText JASS (Binary)

Reviews
19:07, 8th Oct 2013 PurgeandFire: Approving it for now since it works well. Still waiting on the common.ai though. ;)

Moderator

M

Moderator

19:07, 8th Oct 2013
PurgeandFire: Approving it for now since it works well. Still waiting on the common.ai though. ;)
 
my post on wc3c said:
Great job! It works like a charm. Although, when I added the package, it said "error parsing XML". (tested on OSX 10.8.4)

It worked when I restarted it, though. You may want to tell the user to click the bottom right and select "JASS" as the highlighting--since some may not be familiar with sublime text. (although, why would they use it then?)

And consider parsing common.ai, since you can declare its natives through vJASS.

Add common.ai natives and it will be ready to be approved. :)
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Would it be possible to include that every function call to a self defined function is a link to the actual function :)?
 
Level 22
Joined
Sep 24, 2005
Messages
4,821
I think he means user defined functions, like the ones you put inside the include folder for tesh. Maybe.
 
The installation instructions for Sublime Text 3 are wrong. Here's how you install it:

1. Open Sublime Text 3, and go to Preferences -> Browse Packages...
2. In the opened file browser's window, copy jass.tmlanguage there.
3. Restart Sublime Text 3.
4. Open .ai or .j file
5. View -> Syntax -> Open all with current extension as... -> JASS (Warcraft III)

Best regards,
Tommi
 
Top