[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums | Starcraft II |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs |
(Keeps Hive Alive)
Go Back   Warcraft 3 Tools > Tools

Reply
 
LinkBack Thread Tools
The Hive Workshop Tools:
vJass Highlight Extension for Gedit Gnome Linux
Tool
Highslide JS
Details
Uploaded:13:29, 22nd Mar 2009
Last Updated:13:29, 22nd Mar 2009
Keywords:Gedit, Hightlight, Linux, Gnome, syntax, colors, light, simple, vJass, .j
Operating System:Linux
Category:JASS / Triggers, Artificial Intelligence / AI
Website:http://www.wc3c.net/showthread.php?t=105129

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!
Rating - 5.00 (3 votes)
(Hover and click)
Moderator Comments
Not Rated
23:40, 11th May 2009

This tool is approved and works properly.


The submitter prefers that you open this link instead of downloading the file.

Click here to download vJassGeditHE.zip (11.97 KB, 543 Downloads)

Old 04-11-2009, 01:48 PM   #2 (permalink)
Registered User xxdingo93xx
I rly dunno what to say..
 
xxdingo93xx's Avatar
 
Join Date: Sep 2007
Posts: 775
xxdingo93xx is a glorious beacon of light (424)xxdingo93xx is a glorious beacon of light (424)xxdingo93xx is a glorious beacon of light (424)xxdingo93xx is a glorious beacon of light (424)xxdingo93xx is a glorious beacon of light (424)xxdingo93xx is a glorious beacon of light (424)
Great and useful as I already mentioned :) This definitly deserves to be approved with 5/5!
GJ m8!
__________________
xxdingo93xx is offline   Reply With Quote
Old 05-10-2009, 12:52 AM   #3 (permalink)
Registered User Flame_Phoenix
retired coder | real life
 
Flame_Phoenix's Avatar
 
Join Date: May 2007
Posts: 2,096
Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)
Quote:
Great and useful as I already mentioned :) This definitly deserves to be approved with 5/5!
GJ m8!
Thx !

Too bad no mod enters here ... this thing is already approved at wc3c xD
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition
Flame_Phoenix is offline   Reply With Quote
Old 05-12-2009, 03:38 PM   #4 (permalink)
Registered User Kercyn
Krabby Patty
 
Kercyn's Avatar
 
Join Date: Feb 2009
Posts: 638
Kercyn will become famous soon enough (103)Kercyn will become famous soon enough (103)Kercyn will become famous soon enough (103)
Nice one. Although I do not use Linux a lot (bad me :p) , it certainly is very useful for people who do.
__________________
My map (Currently on hold)

Inactive
Kercyn is online now   Reply With Quote
Old 05-13-2009, 11:58 AM   #5 (permalink)
Registered User Flame_Phoenix
retired coder | real life
 
Flame_Phoenix's Avatar
 
Join Date: May 2007
Posts: 2,096
Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)
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
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition
Flame_Phoenix is offline   Reply With Quote
Old 05-14-2009, 11:21 PM   #6 (permalink)
Registered User aaron79
Wc3 Coding Master
 
aaron79's Avatar
 
Join Date: Oct 2008
Posts: 742
aaron79 is a jewel in the rough (162)
PayPal Donor: This user has donated to The Hive. 
99/5 :D nice piece of work
__________________


Horde Studios
Horde Studios
New blizzard forum vbulletin!!!
aaron79 is offline   Reply With Quote
Old 06-20-2009, 01:35 PM   #7 (permalink)
Registered User The_Grapist
Banned
 
Join Date: May 2009
Posts: 256
The_Grapist has little to show at this moment (1)

I wont need it but still its amazing!!

Rating:5/5
The_Grapist is offline   Reply With Quote
Old 06-30-2009, 09:53 AM   #8 (permalink)
Registered User DraconicEpic
User
 
DraconicEpic's Avatar
 
Join Date: May 2009
Posts: 7
DraconicEpic is an unknown quantity at this point (0)
Has anyone ever noticed how much vJass is like C++ and C
__________________
Let rise dragon............. and other creatures for they are more advance and have a tail. >.<
DraconicEpic is offline   Reply With Quote
Old 06-30-2009, 10:42 AM   #9 (permalink)
Registered User Flame_Phoenix
retired coder | real life
 
Flame_Phoenix's Avatar
 
Join Date: May 2007
Posts: 2,096
Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)
Quote:
Has anyone ever noticed how much vJass is like C++ and C
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.
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition
Flame_Phoenix is offline   Reply With Quote
Old 07-04-2009, 08:54 AM   #10 (permalink)
Registered User darthfett
.
 
Join Date: Sep 2004
Posts: 100
darthfett has little to show at this moment (1)
Quote:
Originally Posted by DraconicEpic View Post
Has anyone ever noticed how much vJass is like C++ and C
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.
__________________
darthfett is offline   Reply With Quote
Old 07-11-2009, 10:35 AM   #11 (permalink)
Registered User expazatrix
Avi look familiar?
 
expazatrix's Avatar
 
Join Date: Apr 2009
Posts: 292
expazatrix has little to show at this moment (28)expazatrix has little to show at this moment (28)expazatrix has little to show at this moment (28)
Very useful for people with Linux, great work.
To bad I don't have Linux I have shitty Windows XP.
__________________
The all new WarCraft Forum!
WarCraft III Ultimate

Site Admin & Creator - expazatrix
*REPLACE .google with .forumcircle*
expazatrix is offline   Reply With Quote
Old 07-11-2009, 10:41 AM   #12 (permalink)
Registered User Flame_Phoenix
retired coder | real life
 
Flame_Phoenix's Avatar
 
Join Date: May 2007
Posts: 2,096
Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)
Quote:
Very useful for people with Linux, great work.
To bad I don't have Linux I have shitty Windows XP.
lol ... XP isn't shitty, Vista is xD
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition
Flame_Phoenix is offline   Reply With Quote
Old 07-11-2009, 12:53 PM   #13 (permalink)
Registered User expazatrix
Avi look familiar?
 
expazatrix's Avatar
 
Join Date: Apr 2009
Posts: 292
expazatrix has little to show at this moment (28)expazatrix has little to show at this moment (28)expazatrix has little to show at this moment (28)
Quote:
Originally Posted by Flame_Phoenix View Post
lol ... XP isn't shitty, Vista is xD
Yeah thats true, I hate Vista.
Yay the all new and improved Shitsta!

Does this work on Ubuntu Linux?
__________________
The all new WarCraft Forum!
WarCraft III Ultimate

Site Admin & Creator - expazatrix
*REPLACE .google with .forumcircle*
expazatrix is offline   Reply With Quote
Old 07-11-2009, 02:56 PM   #14 (permalink)
Registered User Flame_Phoenix
retired coder | real life
 
Flame_Phoenix's Avatar
 
Join Date: May 2007
Posts: 2,096
Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)Flame_Phoenix is a jewel in the rough (245)
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
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition
Flame_Phoenix is offline   Reply With Quote
Old 07-13-2009, 01:53 AM   #15 (permalink)
Registered User expazatrix
Avi look familiar?
 
expazatrix's Avatar
 
Join Date: Apr 2009
Posts: 292
expazatrix has little to show at this moment (28)expazatrix has little to show at this moment (28)expazatrix has little to show at this moment (28)
Thats Pro then!
__________________
The all new WarCraft Forum!
WarCraft III Ultimate

Site Admin & Creator - expazatrix
*REPLACE .google with .forumcircle*
expazatrix is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Unsolved] Highlight comments in GUI Triax World Editor Help Zone 0 02-08-2009 05:58 PM
[vJass] vJass Math Genious Needed! Dynasti Triggers & Scripts 4 11-21-2008 08:07 AM
vJass Teacher, vJass Demo Map Maker, etc. Dynasti Requests 0 11-10-2008 05:36 PM
Gnome evolution revolution ( 3 GREAT GNOME IDEAS) Baraborn Requests 0 10-12-2004 05:17 AM

All times are GMT. The time now is 07:35 PM.






Hosting by SliceHost 
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1
Copyright©Ralle