Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script Editor --other then client?

loVolt Xue
Registered User
Join date: 7 Jul 2008
Posts: 24
08-11-2008 08:23
is there any script editor other then the on in the client?
I'm a bit of old school vi or emacs and I get annoyed as hades
with the notpad style (imho notepad at least had s/r)

suggestions or am I sol ?
Kaylan Draken
Registered User
Join date: 2 Dec 2006
Posts: 127
08-11-2008 09:06
I have heard about 2 offline editors.

1 is lsleditor: you can download it at www.lsleditor.org
You can also download a helpfile at this site (copy of lslwiki website)

2 is notepad ++ with a language file
i don't know the url for it but you can search for it in the forums
loVolt Xue
Registered User
Join date: 7 Jul 2008
Posts: 24
08-11-2008 09:37
thanks..I should have goggled..duh found some syntax checkers for linux based editors
there !
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
08-11-2008 11:52
I swear by LSLEditor.exe, not only can you edit in there, but also run lint and execute a lot of the user code, for testing, without even having to login to SL or even be online. I do 90% of my debugging befor I upload a line of code to SL. It is a graet learning tool too as you have a copy of the wiki as context sensative help and can execute example scripts to see what they do and experiment with minor adjustments.
loVolt Xue
Registered User
Join date: 7 Jul 2008
Posts: 24
08-11-2008 14:12
Thank's I've got that for windows now...it's since to have the reference handy.
and the Vim highlight works perfect, nice to have some console back.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
08-11-2008 20:30
I use SciTE for writing
with lslint for syntax checking,
lsleditor for the occasional testing
and Indent for beautification.

I write code in ESL which you compile to LSL, its LSL passed through a C precompiler; you get macros and includes and other #commands. There is a thread somewhere here on the forums about it, will include the whitespace stripper I wrote (the precompiler won't remove whitespace left by macro declarations etc).

I really don't like to use LSLEditor for editing, the autocomplete is slow.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
loVolt Xue
Registered User
Join date: 7 Jul 2008
Posts: 24
08-12-2008 11:08
thank you ...good to have !
Cynebald Ceawlin
Scripting the night away
Join date: 15 Apr 2007
Posts: 30
My .000000001 cents worth
08-12-2008 22:49
I'm a *huge* UlraEdit/UEStudio fan... I use it for embedded DSP programming in my RL job, but it works quite well for my LSL devel as well. It's not freeware, but it is priced reasonably and the functionality I get out of it makes it WELL worth the price.

Does code folding, syntax highlighting (w/ an easy-to-find, downloaded word-file addition), smart keyword, completion, via macros ("user tools";)/JavaScript scripts drives LSLint beautifully, and a host of other nifty features. (Shameless plug, but figure it's ok since I'm just a user, not associated w/ IDM at all: http://www.ultraedit.com/)

LSLEditor works pretty well, w/ it's own builtin syntax checker, ability to drive LSLint, and some out-of-world testing ability as well, but I'm too used to the niceties of how UltraEdit works (and how well it adapts to LSL editting) to switch. LSLEditor *is* free though -- if I hadn't already bought UEStudio for my own (non-LSL) purposes, I think LSLEditor would probably be my top pick out of what I'm aware of out there.

Of course, if you're just _hooked_ on *nix tools, you should check out Cygwin -- lets you run things like VI, emacs, xemacs (not to mention being hella cool) on a windoze platform... (back in the day, I used to be _quite_ the VI wizard :cool:, I think VIM is great, and I even got hella good at XEmacs, but I'm afraid despite myself I've been assimilated into the MS universe... I'm afraid it's too late for me... :()

Finally - I don't really know anything about it personally, but some people I know *swear* by jedit (http://www.jedit.org/) -- no idea how well it would work for LSL work, but it is a freeware, open-source programmer's editor, w/ lots of plugins etc. May be there are LSL-oriented plugins, or you could adapt it yourself...

Anyway, hope you find an editor you like!

Cyn
_____________________
-----
Cynebald Ceawlin
Proprietor and Chief Scripter
The Mathom House:: Scripted Objects and What-Not
Nimue Isle (SLURL: http://slurl.com/secondlife/Nimue%20Isle/164/119/28)
loVolt Xue
Registered User
Join date: 7 Jul 2008
Posts: 24
08-13-2008 08:20
I've been *nix guy since the 80's so yah..that where I'm comfortable :)
I remember uedit though..been a few years since I saw it, ustudio ..my how
things grow :)
Domchi Underwood
Registered User
Join date: 4 Aug 2007
Posts: 44
08-15-2008 11:18
I'm using Eclipse with Second Life IDE (http://byronstar-sl.sourceforge.net) and Subversion as revision control system. LSLEditor seems great, but it doesn't integrate well with Subversion, and working with Subversion is essential feature I can't live without.

With Subversion I have ability to keep my scripts on remote server (with automatic backups), and to compare current version with older version and keep track what I've changed and when... and posibly to experiment, break my script and then revert all changes.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
08-15-2008 11:56
From: Domchi Underwood
I'm using Eclipse with Second Life IDE (http://byronstar-sl.sourceforge.net) and Subversion as revision control system. LSLEditor seems great, but it doesn't integrate well with Subversion, and working with Subversion is essential feature I can't live without.

With Subversion I have ability to keep my scripts on remote server (with automatic backups), and to compare current version with older version and keep track what I've changed and when... and posibly to experiment, break my script and then revert all changes.


One of these days I am going to try to port Tidy to Scite for LSL. Click one button and it beautifies the script and makes a sequentially numbered backup. That is, if Strife hasn't gotten around to doing that yet(hint, hint).
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
08-15-2008 21:21
From: Jesse Barnett
One of these days I am going to try to port Tidy to Scite for LSL. Click one button and it beautifies the script and makes a sequentially numbered backup. That is, if Strife hasn't gotten around to doing that yet(hint, hint).

My computer died... motherboard's fried so my SL involvement is pretty limited until I get it replaced (to give you an idea of the situation, the computer I am using now has AGP). For various reasons I don't have plans to fix it anytime soon. I spent too much time on the computer and not enough on everything else.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Cynebald Ceawlin
Scripting the night away
Join date: 15 Apr 2007
Posts: 30
08-15-2008 21:26
Ok, I'm going to sound like a broken record -- at the risk of being labelled an IDM fanboy, wanted to mention that UEStudio includes support for both CVS and Subversion... I'll quit sounding the UltraEdit/UltraStudio horn now. :o
_____________________
-----
Cynebald Ceawlin
Proprietor and Chief Scripter
The Mathom House:: Scripted Objects and What-Not
Nimue Isle (SLURL: http://slurl.com/secondlife/Nimue%20Isle/164/119/28)
Anya Ristow
Vengeance Studio
Join date: 21 Sep 2006
Posts: 1,243
08-16-2008 00:27
Cynebald, the easy-to-find wordlist you mentioned is almost 2 years old. Got anything more recent?
loVolt Xue
Registered User
Join date: 7 Jul 2008
Posts: 24
08-16-2008 07:43
doubt I could live without Subversion...