Readme contents

Quick start

Bugs, issues & feature requests

Visit the Builder's Brewery


Syntax:

  • If ...\Notepad++\userDefineLang.xml exists where Notepad++ is installed.
    • Copy and paste the code for LSL from userDefineLang.xml.
    • When saving changes to the file make sure the file's encoding is ANSI/ASCII!
  • If ...\Notepad++\userDefineLang.xml does not exist where Notepad++ is installed.
    • Open Notepad++ and go to Language > Define your language > Import to import a temporary copy of userDefineLang.xml which you can delete when done.
    • Make sure the encoding of the file you are importing is ANSI/ASCII!
  • Choose the language via Language > LSL from the menu. You should should be able to find it at the bottom of the language menu in the section for user defined languages.

Autocompletion:

  • Copy and paste lsl.xml to ...\Notepad++\plugins\APIs\lsl.xml where Notepad++ is installed.
  • Make sure the file's encoding is ANSI/ASCII!
  • Goto Settings > Preferences > Backup&Autocompletion and make sure you set enable auto-completion on each input to function completion and you enable function parameter hints on input.

Snippets via FingerText:

Install FingerText from the Notepad++ Plugin Manager. Then from the menu go to Plugins > FingerText > Import Snippets from ftd file to import the LSL snippets and start working on any file with an *.lsl-Extension.

Code structure:

Add code snippets from functionList.xml to ../Notepad++/functionList.xml where Notepad++ is installed.

Read more about the function list in Notepad++ on its homepage.

Code folding:

Having set up the EOL incorrectly will mess up the code-folding.

Make sure Edit >> EOL conversion is set to Edit >> EOL conversion >> Windows format.

Screenshots and screencast:

LSL Syntax

LSL Autocompletion

LSL Function List