User:Jesse Barnett/Scite
- Click Here To see my page and more of my scripts
SciTE
Actively updating SciTE pages 8/07/09
Professional duty scripting workhorse. Script in multiple languages, compiles through Visual Studio C++ allowing you to use includes, define your own global variables, customise auto-indent, syntax check with lslint, customise wiki help, customise shortcuts, tabbed files, add bookmarks, opens files in LSLEditor for testing.
Many parts of this page will sound like an advertisement. SciTE is free, so no, I am not making any money off of this. It is just that SciTE has been sorely neglected for more then a year now. Ezhar Fairlight(Bless Him!!) brought us the original SciTE package for LSL, still functional but no longer maintained. Hopefully now others will start to play around with it.
You can get SciTE version 1.79 here. Once you have SciTE installed then you need to download and replace the following pages:
- lsl.apiupdated 8/07/09
- lsl.propertiesdir: C:\Program Files\Scite\ updated 8/07/09
- lsl_abbrev.propertiesC:\Program Files\Scite\abbrev\ updated 8/07/09
- SciTEGlobal.propertiesC:\Program Files\Scite\ updated 8/07/09
- SciTEUser.propertiesC:\Documents and Settings\Owner updated 8/07/09
You could take a look over at Strife's page with his SciTE links also. You can pickup stripper, indent, clipboard and lslint there and MSVC Express. User:Strife_OnizukaNOTE: Some of Strife's files are missing. If he will not find a spot to host them then I will. I will be glad to email them to whoever needs them once I have it setup in the next couple of days. updated 8/07/09
I have mine linked to LSLEditor. Download and extract to your root directory like so: C:\lsleditor NOTE:It will not work if you put it in a path with a space in the name like C:\Program Files\LSLEditor updated 8/07/09
Why go to all of this trouble?
(Especially when LSLEditor does do a fantastic job now??)
You can define custom actions. For instance if I type "random" in a script and hit "ctrl B", Scite inserts this: <lsl>integer rand_chan; random() { rand_chan = (integer) llFrand(-10000) - 10000000; }</lsl> And that is just one of my small custom definitions ;)
You can also do includes which allows you to combine several common scripts.
The indent function is extremely powerful and you can customs define each and every setting to match the style you prefer.
So many more benefits that just bring it over the top. Among them is the ability to control all aspects of SciTE through outside scripts. There are a number of Lua scripts for SciTE. And the one I use (SciTE CVS) has perl scripts included to clean up code.
You can not only script in most languages, you can also setup the preferences for each language individually. When I am scripting in LSL here are some of the choices i have: