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
964
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: 293

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.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top