Game Development Community

Script Editors

by Brian A. · in Torque Game Builder · 02/27/2005 (4:15 pm) · 14 replies

What type of scipt editors are you using? What options do you like...

#1
02/27/2005 (4:20 pm)
I use jEdit, personally, and love it. It is incredibly powerful with it's macros and the ability to search with regular expressions and replace with beanshell expressions, so you can search for:

^number = "([0-9]*)";

replace with

"number = \"" + _1 + ".0" + "\";"

in files, and you just saved yourself a ton of stupid, tedious changes. The above would change:
number = "52";

to

number = "52.0";

only it would work with any number, not just 52.
#2
02/27/2005 (4:30 pm)
I'm using Eclipse 3 with the TorquEdit plugin. Would be nice if it had "intellisense" but it does color formatting and some completion. Not to mention all the nice features of Eclipse such as the refactoring tools, etc.
#3
02/27/2005 (6:23 pm)
First I downloaded the extension SDK from Microsoft and tried adding Torque Script as a language it understood. I actually got some stuff working, but the fact that .cs means C# to Visual Studio pretty ruined my plans. Maybe if it was easy to change Torque's extension I could getting it working but I didn't feel like that investment... I'm here to make GAMES!!!

So now I'm using Edit Plus 2 but....

I'm going to check out Eclipse 3 (thanks Jason.) I never really liked using jEdit and the TIDE plug much.
#4
02/27/2005 (8:57 pm)
@Jason - How do you change the colors for color formatting in Eclipse?
#5
02/28/2005 (12:37 am)
Notepad all the way baby! :)
#6
02/28/2005 (9:51 pm)
Even though I have been developing my own editor, I've been using notepad. The reason being that I want to have a fine list of everything I hate about plain text editing. Also when you work with things like intellisense and colored syntax you tend to get used to things just working right and miss out on some of the little things that really make you think.

That's just my opinion though
#7
03/01/2005 (6:27 pm)
Charlie, how far along is your editor?
#8
03/01/2005 (6:36 pm)
@Philip: I just use the defaults. But if you go to "Window->Preferences", you'll find a lot of things to tweak.

The font is more important to me than the colors, but they both make a difference. Go to "Window->Preferences->Workbench->Fonts and Colors" for those options.

Eclipse has a very nice help system, so also look at "Help->Help Contents->Workbench User Guide".
#9
03/02/2005 (7:58 am)
Hello, I downloaded the TorquEDIT plugin as well as Eclipse, I assume that I just put TorquEDIT in the plug-ins folder but I don't think it's working, specifically, it doesn't seem to be autocompleting. What am I missing? How do I know if a particular plug-in is installed?

And the help on this program seems quite comprehensive despite lacking any info on how to install a plug-in.
#10
03/02/2005 (8:53 am)
@Jason - Thanks for the info! I've actually started to looking at getting the in-game editor working with T2D.

@Calico - I just unzipped it into the plug-ins folder using folder names and it worked (mostly) For me some of the auto-indenting stuff didn't work, and then the other night it totally crashed my system! Lost some files and everything, lucky they where just experimental script files. So far for me Edit Plus has been the least trouble some of the one's I've tried and you can adopt a syntax file for torque script if you want. Hmmm... maybe I'll put my syntax file up as a resource when I get home tonight.
#11
03/03/2005 (9:32 am)
Oh, okay, I'd like to get an editor that's free though, I was kind of going out on limb with the purchase of T2D anyways.

Also, has anyone tried the "TGE In-Game Script Editor" by Davis Ray Sickmon, Jr (http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4837)?

Is it any good, or does need more work?

-CalicoRabbit
#12
03/03/2005 (9:49 am)
@Calico: If it's doing syntax coloring, it's working. I found the other features to be rather spotty, but Eclipse is such a nice IDE it makes up for it IMHO.
#13
03/03/2005 (12:58 pm)
Calico.. I am unsure if the version of the IDE posted in that resource will work "out of the box" in T2D. I did get my personal fork of the project running in T2D.. I need to do some cleanup on it, and probably add a couple things for general consumption. But overall the version in that thread should work... although it might require changes to the C++ code to get it working fully.
#14
03/09/2005 (6:05 am)
Josh, If I get my way, and get past the issue that I posted in my last plan, I should have something going pretty soon. When I do, your the first person to see it