|
Hank Ramos
Lifetime Scripter
Join date: 15 Nov 2003
Posts: 2,328
|
10-18-2004 17:53
Add "autocomplete" to the LSL Script editor inworld. Similar to the Intellisense in Visual Studio or Code Insight inDelphi, it automatically popups up the tooltip to give info about the function you are using, and the ability to automatically place the event handler parameters automatically.
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
10-18-2004 18:51
yeah yeah yeah, me want me want 
_____________________
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
|
|
Kermitt Quirk
Registered User
Join date: 4 Sep 2004
Posts: 267
|
10-18-2004 19:28
Oh yes please! As a Visual Studio user I can say that's definately something I miss when I'm scripting in SL.
...and on a sort of related topic... I read in a forum post some time ago, someone mentioned removing the "ll" from the front of the functions. I'd agree with that too, especially if we had auto-completion for function names. I never did see anyone suggest a good reason about why those ll's are there. Any ideas?
|
|
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
|
10-18-2004 21:11
Agreed!
Example:
I type:
llListen(
it pops up:
llListen(integer channel, string player, key playerkey, string messagetext);
...
while we're at it, could we have this check for things like incorrect variable types?
_____________________
Hiro Pendragon ------------------ http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio
Visit my SL blog: http://secondtense.blogspot.com
|
|
Djiket Nyak
Join date: 30 Sep 2004
Posts: 116
|
Great Idea
10-19-2004 12:51
That would be sooo nice. I'm so used to that from VB and C++ I keep hitting the Tab key to get the rest. I also add 'Then' in the If statements. Nasty lit'le habbit.
|
|
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
|
10-19-2004 15:32
If just to keep it simple, hitting TAB could check the character immediately to the right of the text insert point (if there is a text insert point and a run of characters isn't selected), and if it is whitespace (or a non-word character like +), then check the character to the left of the text insert point, and if that is non-whitespace (and a word character like A or _), gather up the whole word. Compare that word to the list of keywords (as in the pop-up list in the bottom of the script edit window) and if there's a match, complete the rest of the keyword. If there's no match or one of the other conditions failed, process the TAB key as usual (instert a run of spaces or indent a line). Okay... You can tell I'm a programmer, eh what? 
_____________________
~ Tiger Crossing ~ (Nonsanity)
|
|
Kermitt Quirk
Registered User
Join date: 4 Sep 2004
Posts: 267
|
10-26-2004 21:54
What Hiro has said just reminded me of another area that could use something like this. Event declarations. Everytime I want to put in a listen event I have to type the whole declaration out or cut & paste it from the wiki. Then one day I thought "Oh, there's that little combo box down the bottom with all the functions and events in it. I'll just pick listen from there and surely that will give me the full declaration." ..and so I picked the listen from the list, and what did it enter for me... just the word "listen", with no parameters whatsoever. What on earth is the point of that?
|