Skip to content
Zaher Dirkey edited this page Oct 7, 2023 · 16 revisions

Setup

Download lslint into same executable file of miniedit, or in path environment, I included it in my releases.

Also check issue

Linting

Press shift+f9 to lint the file, double click on message to go to the line.

Syntax

miniEdit highlights comments differently, if it started with // or /* it is normal comments lines, but if you added * after it, miniedit considered as documentation lines like //* or /**, it highlight it with documentation color, I use for normal comment more dim color to tell my eyes ignore it, but documentation is more sharp color to read it.

Macros

This will help you to save backup file in default path of projects in local computer, you can edit the script in FS in external file, point it to miniedit, edit your code in miniedit save it, FS will auto detected the changed and take it to save into inworld, keep the file opened until you finish, you will have local copy in project folder.

Also you will have date and time you when you last time saved it.

Use it in documentation comment /**

    /**
        @localfile: ?defaultpath\MyProject\?basename
        @revision: 36
        @updated: 2022-02-16
    */

localfile: will save a backup file into defined folder/path, if it same file editing, no extra save happen

updated: Add the current date, changed every time you save it

revision: increment number each time you save it

You can use variables too in the file name by starting it with ?, please First define where "defaultpath" is in tendency of file.

FileTendency

if you have TortoiseGit installed, you can compare your temp file that saved from FS with local copy before starting changing on file to not override old version with newly local one, to check if you have old copy in inworld or not.

GitCompare

Auto Complete

type "llOw" press ctrl+space to complete it to "llOwnerSay"

Press shift+space to on keyword (t.g. "touch_start")complete the template of event.

Also press ctrl+shift+space when cursor over function name, it show in hint the ll function params.

Help

press F1 when cursor over ll function, it open browser at function description on secondlife wiki page, if it started by os, it open OSSL wiki page

Template

type "changed" press "shift+space", miniedit will add the whole empty event for you

    changed(integer change)
    {

    }

Look at lsl.template file

Temporary file

If the file started with sl_script_ that mean it come from Firestoarm viewer to edit it externally, miniedit hide and short the temp file into shorter name to make it readable.

Example:

sl_script_myfile_733f55d2e73b1e80ae564d57d6cdacd1 to myfile_73
Clone this wiki locally