Difference between revisions of "LSL Alternate Editors"

From Second Life Wiki
Jump to navigation Jump to search
Line 21: Line 21:


===Emacs===
===Emacs===
You can find the LSL major mode, by Gary Evans, [http://www.cs.iastate.edu/~leavens/emacs/lsl-mode.el here]. Emacs is also available for Macintosh and Windows.


There's also [[Emacs LSL Mode]] available on this wiki, which provides better syntax highlighting and indentation features.
There's an [[Emacs LSL Mode]] available on this wiki, which provides syntax highlighting and indentation features.  Emacs is available for many Unix flavors, Macintosh and Windows.
 
You may come across (and attempt to use) Gary Evan's [http://www.cs.iastate.edu/~leavens/emacs/lsl-mode.el LSL major mode]. It won't work with the Linden Scripting Language, as Gary wrote it for the [http://www.cs.iastate.edu/larch-faq-webboy.html Larch Shared Language].


===vim===
===vim===

Revision as of 20:58, 25 July 2007

There are several off-world editors available for free or purchase. Some have syntax highlighting for LSL that will make your code easier to follow. One will compile and execute a large subset of LSL. Below are some of the more popular editors for use with LSL.

If you have a favorite that is missing from the list, please feel free to add it.

For some of the editors mentioned here, the Shill project may have more up-to-date syntax files.

Off-world edit and execute

This is heaven. Not only see if your syntax is correct, but actually execute your scripts in an off-world test environment. See multiple scripts send messages to one another, find concurrency bugs, thest your list parsing routines.

LSL-Editor

LSL-Editor is a standalone Windows LSL script editor, compiler and debugger. It is the only off-world editor that also has a script execution run-time.

Multi-platform Editors

ByronStar SL

Based on Eclipse, the ByronStar SL IDE includes most modern program editor features. It also includes custom features for LSL, such as variable checking, error markers, and code formatting. Eclipse is available for Macintosh, Linux, Windows, and many UNIX flavors.

Emacs

There's an Emacs LSL Mode available on this wiki, which provides syntax highlighting and indentation features. Emacs is available for many Unix flavors, Macintosh and Windows.

You may come across (and attempt to use) Gary Evan's LSL major mode. It won't work with the Linden Scripting Language, as Gary wrote it for the Larch Shared Language.

vim

vim: vi improved. A multi-platform evolution of the most classical of the editors: vi. GPL code.
Plugins for VIM for install the syntax, autocompletion, autoident for LSL script into vim

Windows Editors

Notepad++

Notepad++ is probably one of the best windows editor around. Packed with features, extremely powerful and easy to use for beginners too. Best of all, it is GPL code.

ConTEXT

ConTEXT is a small, fast and powerful freeware text editor, developed mainly to serve as secondary tool for software developers.

The following syntax files are available for ConTEXT.

Crimson Editor

Crimson Editor is a professional source code editor for Windows. The following syntax files are available for Crimson Editor.

  • Aakanaar Last updated September 10, 2006 for Second Life version 1.10.0.



LSL-Editor

LSL-Editor is a standalone Windows LSL editor, compiler and debugger. All the usual editing, plus you can compile and execute.

SciTE

SciTE-ez

TextPad [C]

TextPad is a powerful, but easy to use general purpose text editor. It is a commercial product, but there is a 30 day trial version available for free on the website.

The following syntax files are available for TextPad.

UltraEdit-32 [C]

UltraEdit-32 is a powerful text, HTML, and HEX editor. It is a commercial editor with a 30 day trial version available at the website. Important features:

  • column/block mode editing
  • brackets/braces matching
  • code-folding
  • configurable syntax highlighting via custom wordfiles
  • autocomplete (using keywords defined in the wordfile)
  • bookmarks, incremental searching, CTAG support
  • automatic conversion between Unix/Dos/MAC/UTF-8, etc
  • built-in FTP/SFTP client


The following syntax files are available for UltraEdit.

  • Podryck Sands Last updated April 12, 2007.
  • Stryfe Lowell Last updated 2007-04-15. Based on the original LSL Wiki and updated based on release notes. Currently at LSL 1.14.1.2.

Macintosh Editors

TextMate [C]

You can find details about Piero Padar's well-maintained TextMate bundle in the Scripting Tips forum. TextMate is a commercial Mac OS X text/program editor from Macromates.

There is a 30 day trial version available on their website.

SubEthaEdit [C]

This a great text editor with extensible language support. It also happens to be an incredible collaborative editor. Info at: http://www.subethaedit.net/

There is a contributed LSL mode by Zarf Vantongerloo. The mode is a little out of date and could use some love. But in general works great, doing syntax hilighting of LSL funcitons and adding a pop-up menu of all functions, states and event handlers to the top of the window.

An updated LSL mode by Mark Lentczner is available now from the SubEthaEditor User contributed modes Repository.

Linux Editors

Kate is an advanced text editor for KDE. Usually included in all KDE based distributions. A Kate LSL Mode is available on this wiki.