Where do you do your scripting? In SL or Offline in a Editor?
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
04-25-2009 07:51
From: Dora Gustafson Highlight code? LOL mine is NoteTab Light v4.95. It is steam powered  4.86 had it =/ I just took the default html highlighter and plugged LSL commands and constants into it where the html stuff was (I also used a few of the build functions to make default declarations that you could plug information into)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Feral Mistwalker
Registered User
Join date: 2 Mar 2009
Posts: 88
|
04-25-2009 09:39
Textpad for the win(dows)!
Seriously, the inworld text editor is awful, like a flash back to those awful editors of the 90's. It doesn't even use tabs!!!!
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
04-25-2009 21:48
From: Feral Mistwalker Textpad for the win(dows)!
Seriously, the inworld text editor is awful, like a flash back to those awful editors of the 90's. It doesn't even use tabs!!!! well at least it has highlighting (which behaves oddly with @label) and code insertion by list (although you'd think it'd insert the event code too but nooooo)... why there isn't a right click cut/copy/paste, I have no idea.... my preferred environment can set tab widths... I miss that when inworld.
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Prajna Vella
Registered User
Join date: 27 May 2008
Posts: 59
|
04-26-2009 11:50
LSLEditor me. And I save all my non-trivial scripts offline. LSLEditor also has a project system, allowing you to put together a complete solution, which I am currently experimenting with. You can create a number of objects and assign scripts to each object; rather cool.
I wouldn't dream of using Dreamweaver (haha, pun intended) for websites - all my html, css, php etc. is hand coded - but when it comes to LSL.. I love LSLEditor; the code completion is great and it even does variable completion. Now if only it did user-defined function completion too (hmm.. maybe I should check prefs again).
|
CarlCorey Colman
Fnord
Join date: 15 Dec 2006
Posts: 177
|
04-26-2009 14:31
I would love to use LSLEditor but is there a way to change the indentation style from default {
state_entry() { // stuff }
} to this style: default {
state_entry() { // stuff }
} I know the first style seems to be popular but I've been using the second since I wrote my first "Hello World" in C in the 80's. EDIT: I see that LSLEditor doesn't stop me from formatting the code my way when I'm doing the actual coding; it's just on imported code when you do a block format on it that it uses the other style. It's looking more interesting now. I tried an Eclipse based LSL environment once that wasn't too bad, perhaps I'll try that again too.
_____________________
Reality leaves a lot to the imagination. John Lennon
|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
04-26-2009 14:54
I wish that going busy in world would still let you see script errors appearing in chat on the debug channel. Don't know who the bright light was who decided that going busy didn't mean you didn't want to see script errors (aside from that teeny thing at the busy teeny top area of the screen.)
_____________________
Thread attempting to compile a list of which animations are freebies, and which are not: http://forums.secondlife.com/showthread.php?t=265609
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-26-2009 15:00
Going busy is so screwed up in so many ways. Go busy and lose stuff you buy on SLExchange? Why is that a good idea?
|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
04-26-2009 15:04
From: Argent Stonecutter Go busy and lose stuff you buy on SLExchange? Why is that a good idea? Hehe, yeah no kidding! Who decided going busy == you don't want that thing you just paid 5k for :}
_____________________
Thread attempting to compile a list of which animations are freebies, and which are not: http://forums.secondlife.com/showthread.php?t=265609
|
Prajna Vella
Registered User
Join date: 27 May 2008
Posts: 59
|
04-26-2009 18:59
From: CarlCorey Colman I would love to use LSLEditor but is there a way to change the indentation style from default {
state_entry() { // stuff }
} to this style: default {
state_entry() { // stuff }
} I know the first style seems to be popular but I've been using the second since I wrote my first "Hello World" in C in the 80's. EDIT: I see that LSLEditor doesn't stop me from formatting the code my way when I'm doing the actual coding; it's just on imported code when you do a block format on it that it uses the other style. It's looking more interesting now. I tried an Eclipse based LSL environment once that wasn't too bad, perhaps I'll try that again too. I forgive LSLEditor for that and just change the indentation to the second style myself. It would be great if you could choose (or even better if the first style was outlawed completely as the verbose, inelegant, inefficient beast that it is) but the fact is that the script editor in SL uses the same convention; you still have to edit it back to get tidy code and at least with LSLEditor it is a few tabs you delete rather than a bunch of spaces. It isn't much effort to Shift-Left, Left, Space to fix it.
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
04-26-2009 19:10
From: Prajna Vella I forgive LSLEditor for that and just change the indentation to the second style myself. It would be great if you could choose (or even better if the first style was outlawed completely as the verbose, inelegant, inefficient beast that it is) but the fact is that the script editor in SL uses the same convention; you still have to edit it back to get tidy code and at least with LSLEditor it is a few tabs you delete rather than a bunch of spaces. It isn't much effort to Shift-Left, Left, Space to fix it. I also prefer 1TBS, I'll even take KnR over the first style... I think Jesse knows a way to coerce LSLEd to use 1TBS. as for the inworld editor, shift mousedrag highlight and delete or paste over the whole stupid automatic demo. ( and my mouse wheel button is configured for shift, fun for web pages too, which is why I miss the right click menu in the SL editor... or I wouldn't need the ketboard at all since I have alt tab on a side button)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
04-26-2009 20:31
From: Void Singer I also prefer 1TBS, I'll even take KnR over the first style... I think Jesse knows a way to coerce LSLEd to use 1TBS.
as for the inworld editor, shift mousedrag highlight and delete or paste over the whole stupid automatic demo. ( and my mouse wheel button is configured for shift, fun for web pages too, which is why I miss the right click menu in the SL editor... or I wouldn't need the ketboard at all since I have alt tab on a side button) I only wish. I write code in Scite with an Indent plugin. I can spell out every single parameter with it. I also have a hotkey that will open the script in LSLEditor for testing. Unfortunately the LSL version of Scite is seriously out of date and really needs to be repackaged. Strife and I both have ours highly customized and I am using the latest version of Scite. One project that has been on the back burner for a long time is to take the source code and create a modern LSL version with a customized TidyIt and Lua backend with subversion built in. The rate it is going thou, it looks like it is going to be a cold day in hell before it is accomplished thou 
_____________________
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
|