TIDE JEdit Auto Installer/Updater and MAC improvements
by Stefan Beffy Moises · 03/04/2010 (1:31 pm) · 9 comments
TIDE 1.3.2. features some small bug fixes and introduces the auto update feature of the three JEdit TIDE plugins (Tide, TideBrowse and TideDebug) using the standard JEdit Plugin Manager installer/updater. Here is how it looks if an update is available:

TIDE is a "plugin suite" for the cross-platform JEdit programmer's text editor which adds support for editing TorqueScript files, syntax highlighting, function browsing, remote script debugging, project management and more :)
The new windows installer copies the plugin jar files into the JEdit settings directory and not into the JEdit application directory since otherwise there are problems with Windows Vista / Windows 7 rights management. So if you use the new installer to update your existing installation you'll probably have to remove the jars from JEdit's application dir.
Edit: this weekend I was able to test TIDE on a Macbook, I've had some initial problems with the ".app" file concept of MacOS (those are basically directories following a certain directory structure) which I have fixed now in the current TIDE dev version (TIDE is looking for the *real* executable located in the ".../Contents/MacOS/" sub directory of the "app" dir) - are there any MAC users out there willing to test this version? If so, download and install the current 1.3.2 version and after that replace Tide.jar with the updated development Tide.jar file.
Here is a screenshot of TIDE/Jedit debugging a TGB game on a MacOS X Macbook:


TIDE is a "plugin suite" for the cross-platform JEdit programmer's text editor which adds support for editing TorqueScript files, syntax highlighting, function browsing, remote script debugging, project management and more :)
The new windows installer copies the plugin jar files into the JEdit settings directory and not into the JEdit application directory since otherwise there are problems with Windows Vista / Windows 7 rights management. So if you use the new installer to update your existing installation you'll probably have to remove the jars from JEdit's application dir.
Edit: this weekend I was able to test TIDE on a Macbook, I've had some initial problems with the ".app" file concept of MacOS (those are basically directories following a certain directory structure) which I have fixed now in the current TIDE dev version (TIDE is looking for the *real* executable located in the ".../Contents/MacOS/" sub directory of the "app" dir) - are there any MAC users out there willing to test this version? If so, download and install the current 1.3.2 version and after that replace Tide.jar with the updated development Tide.jar file.
Here is a screenshot of TIDE/Jedit debugging a TGB game on a MacOS X Macbook:

#2
Stefan,do you have any plans for porting the TIDE plugin to another tools like Notepad++ ?
03/05/2010 (7:51 am)
Great work!Stefan,do you have any plans for porting the TIDE plugin to another tools like Notepad++ ?
#3
03/06/2010 (12:10 pm)
@Ivan: thanks :) No porting plans, no... TIDE is really tied into JEdit and "porting" it would mean a major rewrite of pretty much everything ;)
#4
It is working on my Mac. I can run the debugger, and the functions "Step Over", "Step into", "Step out" and "Stop" are working just fine.
I think there are still a couple of issues with setting breakpoints.
Sometimes they work sometimes don't (or maybe I could do something wrong). Once one is set up I cannot disable it anymore. Every time I press the "toggle breakpoint" I get this message
Sometimes this message pops out
and I cannot start the debugger (by clicking the "Start/Continue Debugger" button
thanks
03/07/2010 (12:44 pm)
Hi StefanIt is working on my Mac. I can run the debugger, and the functions "Step Over", "Step into", "Step out" and "Stop" are working just fine.
I think there are still a couple of issues with setting breakpoints.
Sometimes they work sometimes don't (or maybe I could do something wrong). Once one is set up I cannot disable it anymore. Every time I press the "toggle breakpoint" I get this message
2:20:08 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Toggle it!!!
Sometimes this message pops out
2:20:21 PM [Thread-3] [error] TorqueDebug: TorqueDebug: Create Error: Connection refused
and I cannot start the debugger (by clicking the "Start/Continue Debugger" button
thanks
#5
03/10/2010 (10:14 am)
Was using 4.2 for years on OSX, now when I install jEdit there is only the app and no directories, no jars, no project manager, nothing...
#6
The MacOS "home" dir for JEdit should be located at "/Users/_your_username_/Library/jEdit/". Put the jars and the cs.xml "mode" file
into the "jars" and "modes" sub folders there. Add the new "CS" mode entry to the "modes/catalog" file.
The JEdit "app" file (which really is a folder) should be located in the "/Applications/" folder - you have to use the "Show Package
Contents" command in the MacOS "Finder" (see here: www.mactipsandtricks.com/articles/Wiley_HT_appBundles.lasso) to view the contents of that folder. Put the "autocomplete.txt" file in there and edit the entry for CSharp in the "modes/catalog" file in there.
Hope this helps a bit :)
03/10/2010 (10:54 am)
@Gibby: yeah, that's really confusing :) I've already written some lines that will be added to the TIDE docomentation, here is an explanation of the file locations on MacOS X: The MacOS "home" dir for JEdit should be located at "/Users/_your_username_/Library/jEdit/". Put the jars and the cs.xml "mode" file
into the "jars" and "modes" sub folders there. Add the new "CS" mode entry to the "modes/catalog" file.
The JEdit "app" file (which really is a folder) should be located in the "/Applications/" folder - you have to use the "Show Package
Contents" command in the MacOS "Finder" (see here: www.mactipsandtricks.com/articles/Wiley_HT_appBundles.lasso) to view the contents of that folder. Put the "autocomplete.txt" file in there and edit the entry for CSharp in the "modes/catalog" file in there.
Hope this helps a bit :)
#7
BTW, THANK YOU! IMHO this has been, for years, the only serious Torque IDE for OSX, glad to see so many new enhancements...
03/11/2010 (9:18 am)
@Beffy: I used the Java installer this morning, and all the directories installed nicely, followed your instructions, dropped in the new Tide.jar and it works perfectly. I seem to have similar issues as Pedro with the Debugger, I'll look into it...BTW, THANK YOU! IMHO this has been, for years, the only serious Torque IDE for OSX, glad to see so many new enhancements...
#8
And maybe you can zip me a game example to try with?
03/11/2010 (11:36 pm)
@Gibby: you're welcome :) Weird, I can't reproduce those problems.... what type of engine/game are you trying with? I have uploaded the current DEV version of the plugins here, those add some more error messages in case of breakpoint problems... can you give those a try?And maybe you can zip me a game example to try with?
#9
Funny really, yours works on the Mac(Java) but breaks not working well at least to the IPhone(and at least for me). Plus I have to fool it into taking a dud exe so I can debug my Iphone.
Torsion does debugging breakpoints really well from windows to break points on my IPhone but not on mac and no documentation aids/inteligence. This means XCode to build and deploy. Walk over to windows machine(kick the kid off!) and debug.
TorqueDev has the coolest intelisense but windows and cannot debug my IPhone(unless someone has managed to get remote debugging working?).
There is an Eclipse plug in which is Java so cool, does documentation support and all that cool stuff but they have not implemented debug yet.
I have a feeling JEdit + Tide can get there first, grasping the fact that this thread is 'only' 6 months old you are still around and active.
05/16/2011 (7:53 pm)
Hi, I was trying this last night. Got it to pause on my IPhone app when I told it to which was great because at 1am you need a boost! But the breakpoints were not working as one of your other commentors stated. If I download the development version of tide.jar will that fix that breakpoints issue? Do you have another version in the pipeline? Intelisense like TorqueDev perhaps?Funny really, yours works on the Mac(Java) but breaks not working well at least to the IPhone(and at least for me). Plus I have to fool it into taking a dud exe so I can debug my Iphone.
Torsion does debugging breakpoints really well from windows to break points on my IPhone but not on mac and no documentation aids/inteligence. This means XCode to build and deploy. Walk over to windows machine(kick the kid off!) and debug.
TorqueDev has the coolest intelisense but windows and cannot debug my IPhone(unless someone has managed to get remote debugging working?).
There is an Eclipse plug in which is Java so cool, does documentation support and all that cool stuff but they have not implemented debug yet.
I have a feeling JEdit + Tide can get there first, grasping the fact that this thread is 'only' 6 months old you are still around and active.
Torque Owner Guy Allard
Default Studio Name