Game Development Community

JEdit - Cross-platform Java tool for editing Torque script files

by Stefan Beffy Moises · in Torque Game Engine · 07/17/2002 (12:15 pm) · 65 replies

Hey folks,
Paul Dana, me and some other folks are currently evaluating JEdit for the use as a cross-platform alternative to Tribal IDE... we've already made some progress - you can now edit cs, gui and mis files, use the ProjectViewer plugin to manage your files and I'm currently writing a function/datablock/object browser plugin... check out the details here!
More features will follow and this will be announced as a project, but maybe somebody already wants to check out JEdit for editing... it's really a great tool with tons of features and useful plugins!
Page «Previous 1 2 3 4 Last »
#1
07/17/2002 (12:29 pm)
Nice!
#2
07/18/2002 (4:07 am)
I've just released a first trial-version of the "TIDEBrowse" (TorqueIDE Browse) plugin... you can download it through the above link to the tutorial.
The zip file also contains the new/changed config files for JEdit and the ProjectViewer plugin to work with *.cs, *.gui and *.mis files.

Please note that you'll need a JDK/JRE installed to use it (and JEdit, of course...;-)!

There will be more plugins for JEdit in the future, one being TIDEDebug, currently in development by Paul Dana which will give you remote debugging functionalities for you scripts (connect, disconnect, set breakpoint, step-into, ... - pretty similar to the debugging functions in Tribal IDE... but better, of course... ;-))
Have fun playing with TIDEBrowse for now and please report any bugs you may find! Thanks!
#3
07/18/2002 (8:35 am)
Well, jEdit is a phenomenal product (even if it is written in java and an amazing memory hog ;))

Well done with TIDEBrowse... I am switching over to jEdit for all Torque script editing.

I await eagerly for TIDEDebug... Is that the toolbar in the screenshot? You may need to create a new project viewer if you are to recreate the 'active script' feature of Tribal IDE and allow us to recompile them on the fly (one of my favourite features).

Good luck with it and thanks.

Brett.
#4
07/18/2002 (11:49 am)
Thanks!
But I don't think JEdit 4.x is
Quote:
an amazing memory hog
maybe that was kinda true for v3.x, but v4 is very fast and lightweight IMO...
And no, there is nothing TIDEDebug related in these screens yet, the plugin is in its "pre-production phase"... but it may be a good idea to plug it into the ProjectViewer somehow...
btw., TIDEBrowse will be plugged in there, too... cause a future feature will be a "go-to-definition/declaration" function, which then scans all project files (which would ideally include the C++ files as well, so you would be able to find function- or datablock definitions in the engine source by pressing a key e.g.) - but that will take some time... :-P
#5
07/19/2002 (6:27 am)
Little update: TIDEBrowse v0.0.2 comes now with a "Search selection in project" function... again, use the above link to read the details...
#6
10/03/2002 (2:04 am)
Any progress on TIDE Debug?

Development snapshots, pre-alphas, information, all is welcome ;)

Regards,
Brett
#7
10/03/2002 (2:17 am)
Yes! :)
A first TIDEDebug alpha version is available on Paul's website... www.crimsongames.com/dev/
Have fun! :D
#8
12/11/2003 (8:23 pm)
Has there been any changes to this? How does it compare to TribalIDE? I would LOVE to use Jedit to debug scripts!!!!!!

If there is nothing more being done, can you release the source code?

I found the 3.8 source code for Tribal IDE. The latest is 3.9

I thought about adding some extensions to it if I could find the 3.9 source, but would rather just use Jedit.
#9
12/11/2003 (9:36 pm)



Are there any updates for this? I am SOOO close. I love it. I cannot create a new TIDEBrowse project because it is incompatabe with the current Project viewer. I get the following error message:

java.lang.NoSuchMethodError: projectviewer.ProjectViewer.getInstance(Lorg/gjt/sp/jedit/View;)Lprojectviewer/ProjectViewer;

at com.garagegames.torque.tide.Tide.newProject(Tide.java:459)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at bsh.Reflect.invokeMethod(Unknown Source)

at bsh.Reflect.invokeStaticMethod(Unknown Source)

at bsh.Name.invokeMethod(Unknown Source)

at bsh.BSHMethodInvocation.eval(Unknown Source)

at bsh.BSHPrimaryExpression.eval(Unknown Source)

at bsh.BSHBlock.eval(Unknown Source)

at bsh.BshMethod.invokeDeclaredMethod(Unknown Source)

at bsh.BshMethod.invoke(Unknown Source)

at org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source)

at org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source)

at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source)

at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(Unknown Source)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.AbstractButton.doClick(Unknown Source)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Any ideas? If I can get it to work, it already surpasses TribalIDE!
#10
12/11/2003 (10:15 pm)
Alright, I went back to jedit 4.0.3 and got everything functioning properly.. BUT I can't seem to get the engine to launch. I even tried the default example.

Any ideas?
#11
12/12/2003 (2:06 am)
Heya, I've just fixed the incompatibility with Jedit > 4.0.x, it works with JEdit 4.1 final now and uses the standard ProjectViewer plugin... so get the new TIDEBrowse jar file (v 0.0.3) here and use it with JEdit 4.1 final and the current ProjectViewer (v 2.0.2 should be the latest - remove our old, patched ProjectViewer if you were using it...).
As for the DEBUG component I gotta talk to Paul Dana since he has written it and I dont even have the source here atm...

Edit:
NOTE that this is only the standalone TIDEBrowse plugin though, it wont work with the complete TIDE suite (with Debugger etc.), so for now you can only use this single jar with the ProjectViewer...
(Paul repackaged the sources and put everything under "TIDE").
But I'll ask him to re-integrate the changes I made into the "TIDE Suite"...
#12
12/12/2003 (3:00 am)
Stefan,

I'll be looking at this over the weekend. Since I started using JEdit with TIDEBrowse I've not looked back; it's an awesome tool and makes developing scripts very intuitive for me.

The only thing I dislike about JEdit is the search facility. I constantly use "Search in Directory" for the project and have to keep selecting it everytime I search which drives me mad! It's got an annoying habbit of then selecting the current files directory for the search!

The ability to select the types included in a project when creating it would be great or at least add *.log to the search.

Wouldn't live without it now; adding a debug facility would just wipe me out!! :)

- Melv.
#13
12/12/2003 (3:12 am)
Melv: the new ProjectViewer has a "Search in project root" function, which is VERY helpful :) - and you can now edit the file types it uses under "Global Options -> Plugins -> ProjectViewer", without restarting JEdit...
Furthermore, TIDEBrowse uses the ProjectViewer's extension filter / file types now for searching, too... so you can select any text in the current buffer and hit the "Search for selection..." icon in TIDEBrowse and it will do a recursive search through all files in the current project with the current file types. :D
#14
12/12/2003 (3:15 am)
Stefan,

... I'm starting to shake with happiness. :)

- Melv.
#15
12/12/2003 (3:18 am)
Stefan,

What version of the Java runtime is needed for TIDEBrowse v0.0.3?

(couldn't resist trying it now)

- Melv.
#16
12/12/2003 (3:27 am)
Melv: JEdit4.1final requires JRE 1.3 or 1.4 (1.4 recommended),
so TIDEBrowse should be fine with either of those...
You may want to re-download TIDEBrowse, too, I've just updated the Help file with the "Search" notes... ;)
#17
12/12/2003 (3:28 am)
Muchos gratias!

- Melv.
#18
12/12/2003 (3:38 am)
Totally, totally sweet!

Up and running with JE4.1.

Stefan, you're my new best friend. :)

- Melv.
#19
12/12/2003 (3:41 am)
Hehe, yeah, plugin it is ;)
For everyone else: copy the jar file into "/jars/" and restart the IDE... :)
then get the ProjectViewer plugin, restart again and configure the ProjectViewer to recognize .cs, .mis, .hfl, .gui, .cc, ... files.

Some more help file updates happening atm btw. ...
#20
12/12/2003 (3:42 am)
Lol, you're welcome Melv... at least a little tool I can give back to you for all your awesome TGE stuff :)
Page «Previous 1 2 3 4 Last »