|
|
|
|
 |
|
|
The Hive Workshop Tools:
vJass Highlight Extension for Gedit Gnome Linux
|
|
|
|
Tool
|
|
|
| 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:
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) |
|
|
| 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)
|
04-11-2009, 01:48 PM
|
#2 (permalink)
|
|
I rly dunno what to say..
Join Date: Sep 2007
Posts: 775
|
Great and useful as I already mentioned :) This definitly deserves to be approved with 5/5!
GJ m8!
|
|
|
05-10-2009, 12:52 AM
|
#3 (permalink)
|
|
retired coder | real life
Join Date: May 2007
Posts: 2,096
|
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
|
|
|
05-12-2009, 03:38 PM
|
#4 (permalink)
|
|
Krabby Patty
Join Date: Feb 2009
Posts: 638
|
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
|
|
|
05-13-2009, 11:58 AM
|
#5 (permalink)
|
|
retired coder | real life
Join Date: May 2007
Posts: 2,096
|
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
|
|
|
05-14-2009, 11:21 PM
|
#6 (permalink)
|
|
Wc3 Coding Master
Join Date: Oct 2008
Posts: 742
|
99/5 :D nice piece of work
__________________
|
|
|
06-20-2009, 01:35 PM
|
#7 (permalink)
|
|
Banned
Join Date: May 2009
Posts: 256
|

I wont need it but still its amazing!!
Rating: 5/5
|
|
|
06-30-2009, 09:53 AM
|
#8 (permalink)
|
|
User
Join Date: May 2009
Posts: 7
|
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. >.<
|
|
|
06-30-2009, 10:42 AM
|
#9 (permalink)
|
|
retired coder | real life
Join Date: May 2007
Posts: 2,096
|
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.
|
|
|
07-04-2009, 08:54 AM
|
#10 (permalink)
|
|
.
Join Date: Sep 2004
Posts: 100
|
Quote:
Originally Posted by DraconicEpic
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.
|
|
|
07-11-2009, 10:35 AM
|
#11 (permalink)
|
|
Avi look familiar?
Join Date: Apr 2009
Posts: 292
|
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*
|
|
|
07-11-2009, 10:41 AM
|
#12 (permalink)
|
|
retired coder | real life
Join Date: May 2007
Posts: 2,096
|
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
|
|
|
07-11-2009, 12:53 PM
|
#13 (permalink)
|
|
Avi look familiar?
Join Date: Apr 2009
Posts: 292
|
Quote:
Originally Posted by Flame_Phoenix
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*
|
|
|
07-11-2009, 02:56 PM
|
#14 (permalink)
|
|
retired coder | real life
Join Date: May 2007
Posts: 2,096
|
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
|
|
|
07-13-2009, 01:53 AM
|
#15 (permalink)
|
|
Avi look familiar?
Join Date: Apr 2009
Posts: 292
|
Thats Pro then!
__________________
The all new WarCraft Forum! WarCraft III Ultimate
Site Admin & Creator - expazatrix *REPLACE .google with .forumcircle*
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|