What's your favorite (missing) script editor feature?
|
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
|
05-03-2005 11:51
I am continuing to enhance my LSL editor, based on Eclipse 3.0. The first version supports - autocompletion/content assist
- syntax coloring
- auto indent
- double-click selection of blocks
- Plus all the other stuff in the basic Eclipse editor (find/replace, CVS, local history, more more more).
What do you think would be the Most Kickass Feature for an editor like this? The thing that would make you (and everyone else) want to use it? You can find more information about the plug-in here: Sloth (LSL editor). The instructions there are pretty basic; you might have trouble if you have not used Eclipse and update sites before -- feel free to ask questions.
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
05-03-2005 12:03
Split-window editing. I've got a terrible memory and it sure would be nice to be able to edit the script in the lower split with the top of the script - my global variable and constant list - in the top split. 
|
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
|
05-03-2005 16:08
This sounds great! Just what I would have asked for. I shall def give it a try...
As for the kick-ass feature, that would have to be validation... the certainty that the code is clean and will compile straight off in the in-world editor.
/esc
_____________________
http://slurl.com/secondlife/Together
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
05-03-2005 18:53
"I don't have Eclipse, you insensitive clod!"
|
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
|
05-03-2005 20:02
ex(1) ":" commands, but I'd settle for "find" especially if it is spelled "/" 
|
Alphazero Sugar
Noob Tube
Join date: 24 Mar 2005
Posts: 60
|
05-04-2005 12:57
Emacs bindings would make my heart go pitter-pat.
I'm also down with the split windows.
There was talk of a Linux version of the SL client. Perhaps that could natively support unixy text editors. Hmmmm.
|
Jonathan Shaftoe
... the titleless.
Join date: 11 Feb 2005
Posts: 44
|
05-05-2005 04:14
Of course, the one thing that's really needed to make an external LSL editor useable is.. automatic importing of code into Second Life itself. Also of course, this probably isn't possible.  Though maybe with some extremely cunning script and use of XML-RPC..? For a while I coded with emacs and cut-and-pasted, but it just got tedious so now I just put up with the in-world editor, even despite its (astonishing) lack of 'find'. Jonathan
|
Alphazero Sugar
Noob Tube
Join date: 24 Mar 2005
Posts: 60
|
05-05-2005 11:20
You could do something clever with XML-RPC and llRemoteLoadScriptPin() perhaps. Not sure how you'd get the XML data identified as a script in-world. I guess that's the real trick.
That workflow would be similar to how a games company does it. Compile offline, load everything into the game world, test it, curse loudly, fix it, re-test it, curse some more, goto 10.
|
Water Rogers
Registered User
Join date: 1 May 2003
Posts: 286
|
05-05-2005 11:35
Intellisense is nice, object collection editor (for rapid reuse of your favorite functions, classes, modules, etc), split windows is great, syntax highlighting/underlining on Built-In function validation would be neat.... just some things i can think of off the top of my head.
--Water
_____________________
From: Philip Linden For the more technically minded - the problem is actually NOT the asset server (or 'asshat' as you prefer to affectionately call it herein).
|
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
|
thanks!
05-08-2005 17:51
Thanks for all the ideas; some of them I can figure out how to do; some I need to learn more about Eclipse; for some we need to lobby Linden Lab (like live update of in-world scripts). I will post announcements of new releases. In the meantime, if anyone has comments about Sloth release 1.2 (already posted), let me know!
|
Caoimhe Armitage
Script Witch
Join date: 7 Sep 2004
Posts: 117
|
05-10-2005 08:44
From: Adam Marker I am continuing to enhance my LSL editor, based on Eclipse 3.0. The first version supports What do you think would be the Most Kickass Feature for an editor like this? The thing that would make you (and everyone else) want to use it?
Emacs  - C
|
Caoimhe Armitage
Script Witch
Join date: 7 Sep 2004
Posts: 117
|
05-10-2005 08:47
From: Jonathan Shaftoe For a while I coded with emacs and cut-and-pasted, but it just got tedious so now I just put up with the in-world editor, even despite its (astonishing) lack of 'find'.
Yes. I use Emacs for big edits and the in-world editor for little ones (debug llSays and the like). Actually, if I find I need finf/replace that's when I go back to Emacs  The in-world editor is useless past about 50 lines of code. - C
|
Racer Plisskin
Rezerator
Join date: 2 Jan 2005
Posts: 147
|
05-10-2005 16:21
From: Malachi Petunia ex(1) ":" commands, but I'd settle for "find" especially if it is spelled "/"  Me too! vi rocks... (I use it all day, every day...  ) Can't figure why hardly anyone seems to like it... Screws me up when using web forms though cause I have a habit of hitting <esc> when I'm done typing which deletes everything I just typed...  Being _forced_ to reach for a mouse to access any feature of an editor annoys me. Every possible action should be doable somehow (reasonably easily) from the keyboard if the user is willing to learn how (hot keys/combos/etc..). Racer P.
_____________________
"What's important in life is not how many breaths we get to take but those moments that take our breath away." -- Jaques Cousteau
"A thin line separated serious homicidal purpose from buffoonery." -- Dean Koontz
"CanYouFixTheSpaceBarOnMyKeyboard?" -- Email to Helpdesk
|
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
|
vi & Emacs
05-10-2005 18:49
There are Eclipse plugins for vi and Emacs. The vi plugin is a commercial product, so perhaps the support is better? I got the impression these plugins do not yet support everything, so they won't satisfy everyone. The good news is that the vi plugin is implemented as a "layer", so you can add it to any existing Eclipse editor (like the Java editor, or Sloth for LSL). When I get a chance to try them, I will add the experiences to the Sloth FAQ (when there is a Sloth FAQ). I'll try the vi plugin first though, since VI ROCKS. http://satokar.com/viplugin/index.phphttp://www.eclipse-plugins.info/eclipse/search.jsp (and search for Emacs)
|
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
|
more Emacs
05-10-2005 19:12
I found some traffic in the Eclipse newsgroups about supporting some Emacs-like features. In general, Eclipse supports custom key bindings, and Eclipse 3.0 supports key bindings that contain more than one keystroke. From the Eclipse help: The Emacs configuration contains a set of key bindings familiar to users of Emacs. For instance, Ctrl+X H is assigned to Select All, Ctrl+X S is assigned to Save, etc. The vi and Emacs plugins may or may not be interesting, since you'd still have to be using Eclipse. It gets interesting when Linden Lab implements the ability to save the script directly to your in-world object. I think this will be easy to implement in Eclipse (since it is very extensible). But ..... vi and Emacs users might prefer to use their current editor.. with wrapper scripts to get and save to the object.
|