|
Zarf Vantongerloo
Obscure Resident
Join date: 22 Jun 2005
Posts: 110
|
06-11-2006 21:22
If you like the Macintosh editor SubEthaEdit, I've just finished a custom mode for it. It features: - Syntax coloring of the major parts of LSL
- Auto-completion for all LSL functions, constants and events
- Symbol navigation pop-up menu with all globals, functions, states and events in the file
- Command (and toolbar button) for lookup of symbol in LSL Wiki
It is version 0.5 as I've been using it for a week, so I might tweak it some. Feedback appreciated. You can download a zip archive of the mode here: LSL mode for SubEthaEdit To install: After downloading, double click on the "LSL.mode.zip" file to expand it. Then double click on "LSL mode" file to install it. SubEthaEdit should launch and ask you where you want to install it. Due to a SubEthaEdit bug, install it "for all users of this computer" or the toolbar button won't work. For more info about SubEthaEdit: SubEthaEdit websiteEnjoy!
|
|
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
|
06-12-2006 03:27
This is awesome, really good job! I don't have time to try properly scripting in it just yet, but this looks like a perfect solution for scripting outside of SL!
|
|
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
|
06-12-2006 06:32
Is there a way to have LSL mode enable automatically for a particular file extension, such as myscript.lsl?
_____________________
Computer (Mac Pro): 2 x Quad Core 3.2ghz Xeon 10gb DDR2 800mhz FB-DIMMS 4 x 750gb, 32mb cache hard-drives (RAID-0/striped) NVidia GeForce 8800GT (512mb)
|
|
Zarf Vantongerloo
Obscure Resident
Join date: 22 Jun 2005
Posts: 110
|
06-12-2006 09:01
It should automatically be selected for .lsl files. That functionality is built into the SubEthaEdit mode framework, and I had the mode declare that it handles .lsl files. (It also handles .lsh and .lsm files... I use these extensions for files run through the C++ preprocessor to generate .lsl files for upload.)
|