User:Zai Lynch/LSL highlighting in Joe

From Second Life Wiki
< User:Zai Lynch
Revision as of 02:12, 26 March 2009 by Zai Lynch (talk | contribs) (new)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Emblem-important.png Important!

File is not yet uploaded anywhere. Need to find a nice site for it ^^

About

This page describes how to get LSL syntax highlighting for Joe's Own Editor a.k.a. Joe.

I'll describe how to get it working in Ubuntu 8.04, though it should be easily portable to any other system joe's working on.

Instructions

First of all, you'll need to get joe installed. You can do so by opening a command prompt and typing

sudo apt-get install joe

Enter your root password and confirm that you'd like to install joe. Afterwards, download the .jsf file from *LINK*.

Place it at the syntax subdirectory of joe. For me, it's located at /etc/joe/syntax and you can do so by

sudo mv lsl.jsf /etc/joe/syntax

Then copy the .joerc file to your home directory in order to make a small change to it. Type

sudo cp /etc/joe/.joerc ~

Edit the file and add the following lines to it's bottom:

*.lsl
-syntax lsl

Congratz! You just successfully set up your joe to highlight LSL syntax. Just save any lsl script as NAME.lsl and open it with joe.

Note

This highlighter supports multi-line comments with /* comment */ syntax. These comments only work in the most recent SL Viewers (although the inworld editor doesn't highlight them yet).

Related Pages