Difference between revisions of "User:Zai Lynch/LSL highlighting in Joe"

From Second Life Wiki
Jump to navigation Jump to search
(new)
 
m (added trimmed url)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
|-
|-
|valign="top"|
|valign="top"|
{{hint
|mode=important
|desc=File is not yet uploaded anywhere. Need to find a nice site for it ^^
}}
<div id="box">
<div id="box">
== About ==
== About ==
Line 13: Line 9:


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.
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.
You can link here with '''http://tr.im/lsljoe'''
</div></div>
</div></div>


Line 22: Line 20:
  sudo apt-get install joe
  sudo apt-get install joe
</div>
</div>
Enter your root password and confirm that you'd like to install joe. Afterwards, download the ''.jsf'' file from '''*LINK*'''.
Enter your root password and confirm that you'd like to install joe. Afterwards, download the ''.jsf'' file from [http://code.google.com/p/hilitelsl/downloads/detail?name=lsl.jsf&can=2&q= Google code].


Place it at the ''syntax'' subdirectory of joe. For me, it's located at <code>/etc/joe/syntax</code> and you can do so by
Place it at the ''syntax'' subdirectory of joe. For me, it's located at <code>/etc/joe/syntax</code> and you can do so by
Line 38: Line 36:
</div>
</div>
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.
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.
</div></div>
<div id="box">
== Screenshot ==
<div style="padding: 0.5em">
[[Image:LSL_highlighting_joe.jpg|500px|center]]
</div></div>
</div></div>



Latest revision as of 03:06, 26 March 2009

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.

You can link here with http://tr.im/lsljoe

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 Google code.

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.

Screenshot

LSL highlighting joe.jpg

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