1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. Seek unity between the elements in the 22nd Terraining Contest Poll.
    Dismiss Notice
  3. Seize the moment! The 18th Mini Mapping Contest has commenced.
    Dismiss Notice
  4. Gather 'round - the 20th Icon Contest Poll is out.
    Dismiss Notice
  5. The mighty have fallen. The 17th Mini Mapping Contest Results are out!
    Dismiss Notice
  6. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

vJass Highlight Extension for Gedit Gnome Linux

Submitted by Flame_Phoenix
This bundle is marked as approved. It works and satisfies the submission rules.
This tool originates from here

What is Gedit?
Gedit is a simple text tool with many highlights for Linux with Gnome. It is free and open source software and is not available for Windows, so yes, if you are a Windows user, this is not for you.

Hi guys, a few days ago I was working on Linux... when suddenly I wanted to code warcraft (lol). However, I don't have it installed on Linux due a few problems and so JNGP can not help me. So, the next logical solution would be to make something light that could aid me making my codes, which is why I decided to create this plugin for Gedit, a plugin that allows people to have syntax highlight checker in Gnome for vJass.
This plugin allows the user to have highlights to all non-BJ functions and to automatically view ".j" files. This plugin is the most possible user friend there can be with the limitations of Gedit .lang files, I can't add anything else or it won't run because it will be to big (damn stupid compilers xD ). It gave me lots of work and hell to make this thing work, please I hope Linux people enjoy it xD

History:

Version 1.0:
- Initial public release

Version 1.1:
- Added "local" and "elseif" to keywords
- Improved the documentation in many points


Version 1.2:
- Added Credits to the comments of the header of the file
- Completed the game variable type highlight

Version 1.3:
- Completed the list of keywords
- Added more people to credits


How to install?

There are two files: vJass.lang and vJass.xml and they go to separate folders.

vJass.xml:
1 - This is an optional step. By making it you will be able to automatically have the vJass highlights mode when you open a ".j" file. It is not necessary to make the highlights work, but it is nice because this way you don't need to go to "View -> Highlight -> Others -> vJass".
2 - Go to "~/.local/share/mime/packages" (create it if it doesn't exist yet)
2.1 - Remember .local is a hidden folder, you have to enable the view of hidden folders
3 - paste this file there
4 - Go to "~/.local/share" and run: "update-mime-database mime" (if you can't run the command it is ok as well, but I advice to do so)

vJass.lang:
1 - This is the necessary step for you to have highlights working.
2 - copy this file to the following path: "/usr/share/gtksourceview-2.0/language-specs"

Note: All the process must be done with Gedit closed.

After this simple steps, Gedit will now syntax Highlight vJass from ".j" files =P
Have fun!

Keywords:
Gedit, Hightlight, Linux, Gnome, syntax, colors, light, simple, vJass, .j
Contents

vJass Highlight Extension for Gedit Gnome Linux (Binary)

Reviews
Moderator
23:40, 11th May 2009
  1. 23:40, 11th May 2009
     
  2. xxdingo93xx

    xxdingo93xx

    Joined:
    Sep 8, 2007
    Messages:
    746
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    Great and useful as I already mentioned :) This definitly deserves to be approved with 5/5!
    GJ m8!
     
  3. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    Thx !

    Too bad no mod enters here ... this thing is already approved at wc3c xD
     
  4. Kercyn

    Kercyn

    Joined:
    Feb 14, 2009
    Messages:
    850
    Resources:
    0
    Resources:
    0
    Nice one. Although I do not use Linux a lot (bad me :p) , it certainly is very useful for people who do.
     
  5. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    Thx =D
    This is the highlighter for GNOME desktop, I also have one for Kate which is better and I am going to make it public on THW soon =P
     
  6. aaron

    aaron

    Joined:
    Oct 18, 2008
    Messages:
    512
    Resources:
    6
    Maps:
    2
    Spells:
    4
    Resources:
    6
    99/5 :D nice piece of work
     
  7. The_Grapist

    The_Grapist

    Joined:
    May 23, 2009
    Messages:
    232
    Resources:
    0
    Resources:
    0
    :grin:
    I wont need it but still its amazing!!

    Rating:5/5
     
  8. DraconicEpic

    DraconicEpic

    Joined:
    May 17, 2009
    Messages:
    10
    Resources:
    0
    Resources:
    0
    Has anyone ever noticed how much vJass is like C++ and C
     
  9. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    No, because it isn't. They have some similarities as all imperative languages have, but apart that, they are completely different. C is a coding language for instance, vJass is a scripting language, among many other differences.
     
  10. darthfett

    darthfett

    Joined:
    Sep 8, 2004
    Messages:
    98
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Much of the syntax is different. Most of those things you see as 'similar' are really just programming language concepts.

    I find Java to have similar syntax and layout to vJASS.
     
  11. expazatrix

    expazatrix

    Joined:
    Apr 11, 2009
    Messages:
    242
    Resources:
    0
    Resources:
    0
    Very useful for people with Linux, great work.
    To bad I don't have Linux I have shitty Windows XP.
     
  12. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    lol ... XP isn't shitty, Vista is xD
     
  13. expazatrix

    expazatrix

    Joined:
    Apr 11, 2009
    Messages:
    242
    Resources:
    0
    Resources:
    0
    Yeah thats true, I hate Vista.
    Yay the all new and improved Shitsta!

    Does this work on Ubuntu Linux?
     
  14. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    This plugin was designed to be used in a GNOME desktop environment such as Ubuntu. It is an extension to Gedit.
    Yes it works. =D
     
  15. expazatrix

    expazatrix

    Joined:
    Apr 11, 2009
    Messages:
    242
    Resources:
    0
    Resources:
    0
    Thats Pro then!
     
  16. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    I also have a version for KDE if someone is interested =D
     
  17. expazatrix

    expazatrix

    Joined:
    Apr 11, 2009
    Messages:
    242
    Resources:
    0
    Resources:
    0
  18. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    For Kubuntu xD
     
  19. NOSAKIAS

    NOSAKIAS

    Joined:
    Apr 10, 2009
    Messages:
    30
    Resources:
    0
    Resources:
    0
    Vista is good. hehe