TESH for NewGen

Grundy

Ultra Cool Member
Reaction score
35
Hmm that doesnt seem to be working for me.

Does it only allow vJass or just standard jass?
 

SFilip

Gone but not forgotten
Reaction score
634
It will probably ignore private/public functions, so I guess the answer is only standard Jass.
 

Cohadar

master of fugue
Reaction score
209
You can use public vJass functions but you have to explicitly name libraries.

Example:
JASS:

//=========================================================================
// TT
//=========================================================================
function TT_Start takes code userFunc, integer struct returns nothing
function TT_GetData takes nothing returns integer

//=========================================================================
// ABCT
//=========================================================================
function ABCT_Start takes code userFunc, integer data, real period returns nothing
function ABCT_Zero takes code userFunc, integer data returns nothing
function ABCT_GetData takes nothing returns integer
 

emjlr3

Change can be a good thing
Reaction score
395
you know what would be sweet - allowing different custom functions for different maps.... :)
 

Grundy

Ultra Cool Member
Reaction score
35
Ok thanks Cohadar that's the problem. I had my functions definied inside of a library block.

To TriggerHappy and Joker(Div): No answer would be better than bad answers.
 

lbebusiness

New Member
Reaction score
3
thanks

Just wanted to say thank you for this system. I've been using it since day 2 when I figured out that the basic editor is garbage (same as startcraft lol)
 

Akolyt0r

New Member
Reaction score
33
hmm ...i put a .j file in the includes folder, ...the functions i added do autocomplete now ...but they dont showup in the function list ...

example of content of the .j file:
JASS:
function SetTimerData takes timer t, integer value returns nothing
function GetTimerData takes timer t returns integer
function NewTimer takes nothing returns timer
function ReleaseTimer takes timer t returns nothing
function SimError takes player ForPlayer, string msg returns nothing
function NewGroup takes nothing returns group
function ReleaseGroup takes group g returns nothing


am i do something wrong or whats up ?

EDIT:
ah ..hum ...what me annoys with TESH (apart from it being awesome like hell), is, when i try to select large ammount of script ...(and therefore have to scroll ...) ...it doesnt work it just zooms the text which is really annoying ....
and when you try to scroll without the mouswheel you cant really control the scrolling .....

blah got what i wanted to say ?
just change the keys for zoom to something else ....like mouse2 + mousewheel ...or add options to change them..
 

SFilip

Gone but not forgotten
Reaction score
634
You need complete functions if you want them to appear in the list.
 

Romek

Super Moderator
Reaction score
963
Is there any development going on for this?
I've seen some talk of the 'next version' in many posts in this thread. :D
 

SFilip

Gone but not forgotten
Reaction score
634
> Does anything more really need to be added?
You can't change operator color, can't properly detach the function list without restarting, there's a refreshing issue, I wanted to add smart indenting...yeah, plenty of work to be done. I guess there will eventually be an update, hopefully there will still be people playing WC3 by then. :p
 

Akolyt0r

New Member
Reaction score
33
eh what about my EDIT -.-

..and btw ..you could also turn autocomplete off ...when you are curently in a comment
 

Troll-Brain

You can change this now in User CP.
Reaction score
85
Great Addon :thup:

Suggestions :
- When you display list functions and reduce the list (with the button "-"), then there is no way to get back a normal code window style (attached a screenshot).
The only way to solve this it to close/restart JassHelper, could you fix that ?

- Could you add a feature available with a right click (comment/uncomment the code)
For me, sometimes the keyword debug is not enough when i need to make several different tests in a short time, i prefer to comment/uncomment lines.
So if i could select lines and then right click on them and select comment/uncomment that would be great.

Or maybe it's to much useless, anyway i already do it manually :D

EDIT : ofc i'm talking about the comments which are at the begin of the line.
But hmm, a such feature should be senseless, well i guess i will do it manually xD
 

Attachments

  • screen TESH.PNG
    screen TESH.PNG
    22.8 KB · Views: 292

SFilip

Gone but not forgotten
Reaction score
634
> what about my EDIT
I don't know, what about it?
It seems you were holding Ctrl while moving the mouse wheel - that's one of the two default hotkeys for zooming in Scintilla. I could make it possible to change that, but I'm not sure how long it takes for the next version to come out. Same goes for the commenting out using right click suggestion from the post above.

> then there is no way to get back a normal code window style
Yeah, that's what I said in my previous post. :p

> you could also turn autocomplete off ...when you are curently in a comment
I'm still not sure whether that's possible, but will look into it.
 

Troll-Brain

You can change this now in User CP.
Reaction score
85
I don't hold the Ctrl button just left click on the button "-".
I had missread the preview post before to post, didn't see you plan to fix this bug, sorry

For the commenting out, does it means that it's hard to correctly detect/add "//" in the begin of a code line ? (Noob question, no offense)

Is it possible to add custom functions to the function list?
Yes it is, read the first post of this thread.

-you can import your own functions by putting a .j file with them in the includes directory
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top