OLD post.......
First of all, thanks to Ezhar Fairlight for these files in the first place, Adam Marker for shill, and keeping them up to date, and W-Hat for lslint.
I like using SciTE for lsl, and SciTE works natively on Linux (if you didn't know).
So for a long time, I have been using my own personal modified version of Ezhar Fairlight's original files, and I decided that I may as well share even if they aren't perfect.
Using the “if PLAT_” statements I believe I have kept these files compatible with the windows version of scite.
You will need:
SciTE
cpp
lslint
astyle
xclip --optional, for copying the file to clipboard. see comments in lsl.properties
I know this trend seems all to common on the interwebs, but sigh..., Ubuntu is what I use.
sudo apt-get install scite cpp astyle xclip
And you can get lslint from http://w-hat.com/lslint/
Get lslint and put the binary in /usr/bin/ and make sure to chmod +x
wget http://w-hat.com/lslint/release/linux/lslint.bz2
bunzip2 ./lslint.bz2
sudo mv lslint /usr/bin/lslint
sudo chmod +x /usr/bin/lslint
bunzip2 ./lslint.bz2
sudo mv lslint /usr/bin/lslint
sudo chmod +x /usr/bin/lslint
Now just download this file, extract it, take abbrev.properties, lsl.api, lsl.properties, and .SciTEUser.properties and put all 4 of them directly into your home folder.
If you wish to use things like #define FOO #include "foo" etc. name your file using the extension 'esl' instead of 'lsl'. When you chose the go command from the menu or hit F5, here is what happens.
Steps 1 and 2 only apply if it ends in 'esl', otherwise skip to 3.
1 Your file is sent to cpp for preprocessing, it outputs the result to a new file using the lsl extension.
2 then astyle cleans up the lsl file, using the options --style=kr -n -E -p -O -D -U -V -w -a
3 Lastly, lslint is called and it checks your lsl file, and the output of that is shown in scite.
Some nice features.
You can put the cursor over something in your code and press F1 to go to the lsl wiki page for that word.
Folding
Auto complete. Type 'listen' then hit ctrl+b it will fill in the standard (integer channel, bla bla....
Anyway, these are just plain copies of my files. They could probably be quite a bit cleaner looking, but my main concern was making them work exactly the same way cross platform.
You can still get these files from http://adammarker.org/shill