🏆 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!
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).
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!
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.
Okay basically the solution to make it work (at least for sublime-text2 on Linux) is to change the extension to tmLanguage (notice the 'L' and not 'l')
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)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.