wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Resources > Tools
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 05-03-2009, 04:25 PM   #106
Alevice
It feels good
 
Alevice's Avatar
 
Join Date: Mar 2006
Posts: 1,305

Alevice is a jewel in the rough (190)Alevice is a jewel in the rough (190)Alevice is a jewel in the rough (190)

Default

Quote:
Originally Posted by Flame_Phoenix
I will not add AI highlight, it seems that it is a polemic case around here.

Well, it seems only akolytor disagreed. I dont see wahts polemic about it, and rather just ignorance on his side.
__________________
_-|-_

Alevice.jones is SC2 Beta, losers.

Check out my never updated deviantart gallery!!

Kalimdor Raiders (Race Contest #1) Pastebin Page
Cavern Crawlers (Race Contest #2) Pastebin Page
Airship Race Motherfuckers!
Quote:
Originally Posted by http://ajaxian.com/archives/would-you-like-a-_-with-that-new-library-gives-js-what-it-should-have#comment-276203
- Dont solve problems that dont exist.
- Improve the wheel, dont reinvent it.
- Port the wheel if it doesnt exist in your environment.
- Integrate the wheel into your project.
- Make sure you can replace your wooden wheel for a rubber one if someone else invents it.
Alevice is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 05-03-2009, 05:00 PM   #107
akolyt0r
In Flames
 
akolyt0r's Avatar
 
Join Date: Jan 2006
Posts: 1,154

Submissions (3)

akolyt0r has a spectacular aura about (120)

Default

i dont want a Jass-Highlighting file more heavy than needed whats wrong about this ?
And vJass and AI ARE different languages ...since you cant use vJass vor AI ...can you ?!
__________________
akolyt0r is offline   Reply With Quote
Old 05-03-2009, 05:15 PM   #108
Alevice
It feels good
 
Alevice's Avatar
 
Join Date: Mar 2006
Posts: 1,305

Alevice is a jewel in the rough (190)Alevice is a jewel in the rough (190)Alevice is a jewel in the rough (190)

Default

Quote:
Originally Posted by akolyt0r
i dont want a Jass-Highlighting file more heavy than needed whats wrong about this ?

The marginal size increase will have zero effect on loading times and such. So your point is moot. Maybe more than one individual wants to code their AI in Kate, and just because you dont like it is kind of a stupid reasoning as to why not put it.

If you dont like AI stuff put in it, just fucking delete it or soemthing. No logical reason as to why it should be separated. Look at Jasscraft for gods sake.

Quote:
Originally Posted by akolyt0r
And vJass and AI ARE different languages

Interestingly you were arguin that JASS (not vJass) was different than AI, which is downright ignorant on your side.

Quote:
Originally Posted by akolyt0r
...since you cant use vJass vor AI ...can you ?!

And well, within certain limitations, you can. as long as you dont rely on stuff like .evaluate and .execute, you would probably be quite fine on most things. global blocks, libraries and scopes are quite worthless on AI tho.
__________________
_-|-_

Alevice.jones is SC2 Beta, losers.

Check out my never updated deviantart gallery!!

Kalimdor Raiders (Race Contest #1) Pastebin Page
Cavern Crawlers (Race Contest #2) Pastebin Page
Airship Race Motherfuckers!
Quote:
Originally Posted by http://ajaxian.com/archives/would-you-like-a-_-with-that-new-library-gives-js-what-it-should-have#comment-276203
- Dont solve problems that dont exist.
- Improve the wheel, dont reinvent it.
- Port the wheel if it doesnt exist in your environment.
- Integrate the wheel into your project.
- Make sure you can replace your wooden wheel for a rubber one if someone else invents it.
Alevice is offline   Reply With Quote
Old 05-06-2009, 09:26 AM   #109
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Quote:
It's not a complete vJass syntax highlighter if it doesn't highlight roughly 1/3 of the standard Jass API. It is, in fact, approximately 2/3 of a Jass syntax highlighter whether or not that includes vJass.

Granted, the roughly 1/3 it's missing is not likely to be needed much, particularly given the relative obscurity of Kate. However, isn't it false advertising to call it a full syntax highlighter if there is an entire section of functions that it doesn't recognize?
This is a freakin COMPLETE vJass Highlither ! This is not 2/3, it is 3/3 ffs ....
If you think this is bad, then take a look at TESH or to Moyack Notepad++ expansion, which are more incomplete than this plugin.
However I am interested, you say something is missing, now I want to know what is missing, because I want to add it.

About AI; Alevice has a strong point, adding more information will only have impact on the download time (which will still be ridiculously small).
Ako, made a small mistake, I think he believes that Kate behaves like Gedit. In Gedit adding such a feature would make the plugin have efficiency problems and would make it fail (too big size...) but, as I say in my first post, Kate seems to be more robust and so it doesn't complain.

Turns out Alevice convinced me with his arguments (please don't call Ako an ignorant, some people make mistakes, that is not a reason to humiliate them).
I will release next version this weekend.

commonJ natives: purple
commonJ BJ's: red
commonAI natives: green

Hope you all agree with the colors =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

Last edited by Flame_Phoenix : 05-06-2009 at 09:27 AM.
Flame_Phoenix is offline   Reply With Quote
Old 05-06-2009, 09:55 AM   #110
cosmicat
Probably AFK
 
cosmicat's Avatar
 
Join Date: Feb 2009
Posts: 635

cosmicat will become famous soon enough (71)cosmicat will become famous soon enough (71)cosmicat will become famous soon enough (71)

Default

Quote:
Originally Posted by Flame_Phoenix
This is a freakin COMPLETE vJass Highlither ! This is not 2/3, it is 3/3 ffs ....
If you think this is bad, then take a look at TESH or to Moyack Notepad++ expansion, which are more incomplete than this plugin.
However I am interested, you say something is missing, now I want to know what is missing, because I want to add it.
What was missing was AI function support. You are now adding it. Thank you.
__________________
+++++++++++[>++++++>++++++++++>++++++++++<<<-]>+.>+.++++.+>-.----.------.--.<.
cosmicat is offline   Reply With Quote
Old 05-07-2009, 08:49 PM   #111
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Quote:
What was missing was AI function support
TESH doesn't have this feature as well, and yet you consider it a complete highlight ? Who is cheating who?...

Please don't say I cheat people with my resources next time ... it is unpleasant.

Anyway, 3 days (if I am counting right) for the new release!
__________________
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-07-2009, 09:22 PM   #112
Alevice
It feels good
 
Alevice's Avatar
 
Join Date: Mar 2006
Posts: 1,305

Alevice is a jewel in the rough (190)Alevice is a jewel in the rough (190)Alevice is a jewel in the rough (190)

Default

Quote:
Originally Posted by Flame_Phoenix
TESH doesn't have this feature as well, and yet you consider it a complete highlight?

TESH can only be used in the trigger section and such, thus unavailable to be used for AI. It doesnt mean that external editors shouldnt. I dont know if myoack's one for n++ has AI support, but in case it doesn', well, my point is the same: it should.

Also, I dont think cosmicat said that TESH was complete either.

Quote:
About AI; Alevice has a strong point, adding more information will only have impact on the download time (which will still be ridiculously small).
Ako, made a small mistake, I think he believes that Kate behaves like Gedit. In Gedit adding such a feature would make the plugin have efficiency problems and would make it fail (too big size...) but, as I say in my first post, Kate seems to be more robust and so it doesn't complain.

I wasnt aware of this. While I cant say I stand corrected, I understand his point now, and somewhat acknowledge it.
__________________
_-|-_

Alevice.jones is SC2 Beta, losers.

Check out my never updated deviantart gallery!!

Kalimdor Raiders (Race Contest #1) Pastebin Page
Cavern Crawlers (Race Contest #2) Pastebin Page
Airship Race Motherfuckers!
Quote:
Originally Posted by http://ajaxian.com/archives/would-you-like-a-_-with-that-new-library-gives-js-what-it-should-have#comment-276203
- Dont solve problems that dont exist.
- Improve the wheel, dont reinvent it.
- Port the wheel if it doesnt exist in your environment.
- Integrate the wheel into your project.
- Make sure you can replace your wooden wheel for a rubber one if someone else invents it.
Alevice is offline   Reply With Quote
Old 05-09-2009, 02:44 PM   #113
Deaod
User
 
Join Date: Jan 2007
Posts: 542

Submissions (11)

Deaod is a jewel in the rough (192)Deaod is a jewel in the rough (192)Deaod is a jewel in the rough (192)

Default

well, you can use AI natives in vJass scripts (How? declare AI natives in common.j and import that new common.j). Some dont work though (might even crash), or simply arent useful.
__________________
Deaod is offline   Reply With Quote
Old 05-09-2009, 06:59 PM   #114
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Ok guys, the update we have all been waiting for, vJassKateHE version 1.26 is now released as promised !!!
For more information, please read the changelog.
Btw, Akolytor and Dead were added to credits, thx guys !
__________________
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-09-2009, 09:41 PM   #115
akolyt0r
In Flames
 
akolyt0r's Avatar
 
Join Date: Jan 2006
Posts: 1,154

Submissions (3)

akolyt0r has a spectacular aura about (120)

Default

Quote:
Originally Posted by Flame_Phoenix
Ok guys, the update we have all been waiting for, vJassKateHE version 1.26 is now released as promised !!!
For more information, please read the changelog.
Btw, Akolytor and Dead were added to credits, thx guys !
Nice, will you continue working on gEdit highlighting soon ? ;)
__________________
akolyt0r is offline   Reply With Quote
Old 05-10-2009, 12:50 AM   #116
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Quote:
Nice, will you continue working on gEdit highlighting soon ? ;)
Well, I will try to see if I can use that trick you posted. However, even if I use it, I will be still very limited, I will be limited to functions that start with Destroy, Create, Trigger (etc) and I will have to re-organize everything from the start. My my goal will be to diminish the efficiency problems caused by the file size. If I succeed at doing so, I may try to add new features, but that is quite unlikely to happen.
__________________
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

Last edited by Flame_Phoenix : 05-10-2009 at 12:50 AM.
Flame_Phoenix is offline   Reply With Quote
Old 05-15-2009, 07:17 PM   #117
Barade
User
 
Barade's Avatar
 
Join Date: May 2006
Posts: 164

Barade is on a distinguished road (14)

Default

Collapse JASS:
library Peter
         private interface PrivateInterface //interface is not highlighted
         endinterface
endlibrary
However, nice work!
__________________
Barade is offline   Reply With Quote
Old 05-16-2009, 01:02 AM   #118
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

mmmm, didn't know interfaces could be public or private lol ... I will fix that soon!
__________________
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-16-2009, 04:07 PM   #119
Barade
User
 
Barade's Avatar
 
Join Date: May 2006
Posts: 164

Barade is on a distinguished road (14)

Default

And:
Collapse JASS:
function interface Bla takes nothing returns nothing //interface is not highlighted

edit:
Collapse JASS:
//textmacro stuff
function A$TYPENAME$Function takes nothing returns nothing //Function is highlighted like $TYPENAME$
//...
//! runtextmacro A_MACRO("integer", "Integer") // TEST! Is not highlighted like a comment
__________________

Last edited by Barade : 05-16-2009 at 04:14 PM.
Barade is offline   Reply With Quote
Old 07-18-2009, 08:00 PM   #120
Barade
User
 
Barade's Avatar
 
Join Date: May 2006
Posts: 164

Barade is on a distinguished road (14)

Default

If you don't want to add vjassdoc documentation comment syntax stuff, you could handle it like the CPP (and probably some other) xml files.
Just add <IncludeRules context="##vjassdoc" /> before line <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> and I'll release the file vjassdoc.xml with my program vjassdoc.
I don't think that there will be an error, if a rule file is not found so it's not necessary for people to have vjassdoc.xml.
Besides you can add keyword hook and multi line comment which I've already done to my file.
Attached Files
File Type: txt vJass.txt (132.5 KB, 5 views)
__________________
Barade is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 12:31 PM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2020, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services