A emacs mode for Linden Scripting Language. This package is named xlsl-mode.
FeaturesGraphical menu. Syntax coloring. LSL style code formatting (customizable). Command to Comment/Uncomment code. Keyword completion. Function Templates (via YASnippet) LSL Reference lookup (via lslwiki.net or wiki.secondlife.com) Syntax Checking (via lslint) Convert color between RGB hex and LSL vector. Coloring vector data type for working with RGB. Easy keyboard shortcuts for Copying to Second Life client. Up-to-date LSL language keywords. InstallDownload the elisp file. (rename the file to “xlsl-mode.el”) Open the file. Type Alt+x eval-buffer You are done. Now, open any LSL source code, then type Alt+x xlsl-mode, you'll have syntax coloring and other features.
To have emacs automatically load the file when it restarts, and automatically use the mode when opening files ending in “.lsl”, put the following lines in your emacs init file “.emacs”:
(add-to-list 'load-path "/path/to/parent/dir/") ;; make sure dir is the file's parent
(autoload 'xlsl-mode "xlsl-mode" "Load xlsl-mode for LSL." t)
(add-to-list 'auto-mode-alist '("\\.lsl\\'" . xlsl-mode))Then, restart emacs.
DocumentationFor documentation and usage tips, see: http://xahlee.org/sl/ls-emacs.html
Bugs, Wish ListFor any problem or wish list, please post it to: http://code.google.com/p/lsl-mode/issues/list
Use Patent Claims
Include Install Instructions
These details are provided for information only. No information here is legal advice and should not be used as such.