Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Looking for an offline syntax highlighter. Anyone have a scite package or tutorial?.

Axel Leroy
Registered User
Join date: 31 Dec 2006
Posts: 6
05-03-2007 02:10
Ive been downloading several offline editors but its a freaking jungle of Deadlinks or unsupported programs out there.
Been looking through these forums aswell and found stuff about all the editors but i allso run into a lot of deadend projects there..

Is there anyone out there that has a setup of scite he/she would part with or just another editor thats easy to setup.

Syntax highlighting AND a compiler with feedback would be nice. Like lslint.

Well thats or some links to websites.
Nexus Laguna
Registered User
Join date: 20 Dec 2006
Posts: 40
05-03-2007 02:46
From: Axel Leroy
Ive been downloading several offline editors but its a freaking jungle of Deadlinks or unsupported programs out there.
Been looking through these forums aswell and found stuff about all the editors but i allso run into a lot of deadend projects there..

Is there anyone out there that has a setup of scite he/she would part with or just another editor thats easy to setup.

Syntax highlighting AND a compiler with feedback would be nice. Like lslint.

Well thats or some links to websites.


Hi Axel. I use the Eclipse IDE which is an open ended editor allowing people to construct plug-ins for any language. There just so happens to be a plug-in for LSL as well. If you go to www.eclipse.org to download the IDE itself and then to http://byronstar-sl.sourceforge.net/ for the plugin. NOTE: the plugin is downloaded into the Eclispse IDE directly using the IDE's own download feature. Just follow the instructions on the Byron Star site and you will be fine.

It features syntax highlighting, and even function references when you hover over a function. It will even point out errors for you in the code so you can make sure your LSL is syntactically correct but it does not do any compilation. You need to log into SL, copy and paste your code and test it that way.

Hope that helps :)
Axel Leroy
Registered User
Join date: 31 Dec 2006
Posts: 6
05-04-2007 03:36
Well this program looks nice.. But i cant figure out how to make it highlight the syntax.
I did the update thing but it keeps thinking im scripting in java

Still wish someone could help me out with a scite version..
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-04-2007 03:57
From: Axel Leroy
Well this program looks nice.. But i cant figure out how to make it highlight the syntax.
I did the update thing but it keeps thinking im scripting in java

Still wish someone could help me out with a scite version..


There are half a dozen different editor lsl syntax files posted within this forum.
Try the shill site for the latest.
sirhc DeSantis
Registered User
Join date: 8 Jan 2007
Posts: 60
highliter
05-04-2007 12:50
Well I use scite-ez and it has an LSL option on the language menu
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
05-04-2007 13:45
From: Nexus Laguna
Hi Axel. I use the Eclipse IDE which is an open ended editor allowing people to construct plug-ins for any language. There just so happens to be a plug-in for LSL as well. If you go to www.eclipse.org to download the IDE itself and then to http://byronstar-sl.sourceforge.net/ for the plugin. NOTE: the plugin is downloaded into the Eclispse IDE directly using the IDE's own download feature. Just follow the instructions on the Byron Star site and you will be fine.

It features syntax highlighting, and even function references when you hover over a function. It will even point out errors for you in the code so you can make sure your LSL is syntactically correct but it does not do any compilation. You need to log into SL, copy and paste your code and test it that way.

Hope that helps :)


Until now I have been using Scite-EZ with lslint, and am extremely happy with the combination, but I did take a look at the Eclipse plugin and it's pretty cool.

I may in fact switch to that, since Eclipse has the ability to define projects and has seamless integration with my svn server, not to mention all the other neat-o things Eclipse can do.

Interesting find.


.
_____________________
Wiseguy Capra
Resident Wenzel Hopper
Join date: 21 Jan 2007
Posts: 160
05-04-2007 14:08
I'd suggest Notepad ++.
It is open source, knows tons of languages (code and user languages) and you can easy replace your default win notepad with this as default text editor. Easy interface, low performance cost.

http://notepad-plus.sourceforge.net/uk/site.htm

And if you want to edit LSL you just switch to C++ as language
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
05-04-2007 16:07
From: Axel Leroy
Well this program looks nice.. But i cant figure out how to make it highlight the syntax.
I did the update thing but it keeps thinking im scripting in java

Still wish someone could help me out with a scite version..
Here's a list of alternate editors: http://lslwiki.net/lslwiki/wakka.php?wakka=AlternativeEditors

From that page, you can get to: http://sdfjkl.org/secondlife/scite/

There, you can download SciTE-ez-1.61-6. Notice, it's no longer maintained, but SciTE is just the editor shell. The inner workings are controlled via various .properties files.

Now, once SciTE-ez is installed, you need the updated lsl.properties & lsl.api files (these could stand to be updated even further, but you can do that yourself.) You can get the files at the link in Newgate's post.

Finally, you need to add support for lslint. So, download lslint to your SciTE-ez directory. Edit the lsl.properties file and add:
CODE
# lslint Compiler command line
command.compile.*.lsl="$(SciteDefaultHome)\lslint.exe" "$(FileNameExt)"
You may also wish to change the help pointer to the new wiki. Change the "# LSL Wiki online help" section URL from "http://secondlife.com/badgeo/wakka.php?wakka=$(CurrentWord)" to "http://lslwiki.net/lslwiki/wakka.php?wakka=$(CurrentWord)"

That should do it.
Nexus Laguna
Registered User
Join date: 20 Dec 2006
Posts: 40
05-04-2007 23:44
From: Axel Leroy
Well this program looks nice.. But i cant figure out how to make it highlight the syntax.
I did the update thing but it keeps thinking im scripting in java

Still wish someone could help me out with a scite version..


When you create a new file make sure you name it with a .lsl extension and you will have no problem. The LSL editor plugin will detect that extension and highlight as if you are doing LSL :)... Problem solved.
Lazersam Hax
Registered User
Join date: 2 Jun 2007
Posts: 9
08-21-2007 03:13
From: Nexus Laguna
Hi Axel. I use the Eclipse IDE which is an open ended editor allowing people to construct plug-ins for any language. There just so happens to be a plug-in for LSL as well. If you go to www.eclipse.org to download the IDE itself and then to http://byronstar-sl.sourceforge.net/ for the plugin. NOTE: the plugin is downloaded into the Eclispse IDE directly using the IDE's own download feature. Just follow the instructions on the Byron Star site and you will be fine.

It features syntax highlighting, and even function references when you hover over a function. It will even point out errors for you in the code so you can make sure your LSL is syntactically correct but it does not do any compilation. You need to log into SL, copy and paste your code and test it that way.

Hope that helps :)


Hi can you confirm which package to download... the java or c++ ?

Thanks.