Skip to content

Commit 2b48b88

Browse files
Cleaning up for release!
1 parent b3e6437 commit 2b48b88

File tree

4 files changed

+23
-8
lines changed

4 files changed

+23
-8
lines changed

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ trim_trailing_whitespace = false
2222
indent_style = space
2323
indent_size = 2
2424

25+
[*.yml]
26+
end_of_line = lf
27+
charset = utf-8
28+
indent_style = space
29+
indent_size = 2
30+
trim_trailing_whitespace = true
31+
2532
# Linden Scripting Language abhors tabs
2633
[*.lsl]
2734
max_line_length = 108

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
## Version 1.6.0
22
* Bumped KWDB to 0.0.20231219001 and updated required files accordingly
3-
* First attempt to use `lslint` to provide immediate clues to possible syntax/semantic errors
4-
* Added Preferences for debugging and to set `lslint` & `builins.txt` path
3+
* Now uses `lslint` to provide immediate clues to possible syntax/semantic errors
4+
* Added Preferences for debugging and to set `lslint` & `builtins.txt` path
5+
* External link for further reference on OSSL now attempts to retrieve information from the OpenSimulator Wiki instead.
56

67
## Version 1.5.0
78

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Based on the amazing work by Sei Lisa and Mako Nozaki, who compiled the [LSL2 Ke
1414
- Auto-completions for major LSL constructions, functions and constants (as far as I could make them work)
1515
- OpenSimulator & Aurora Sim LSL functions/constants (not all are correctly tagged, though)
1616
- Opening the LSL Portal on the Second Life Wiki for the object currently selected
17-
- Experimental: LSlint (LSL linter) support
17+
- Experimental (but mostly functional): LSlint (LSL linter) support, which will show syntax errors (like the built-in viewer, but better) and even some semantic analysis (redundant code, declared but unused elements, etc.) which the SL Viewer does _not_ include (!).
18+
- On Preferences you can set the location of the LSL linter, as well as of its definition table (`builtins.txt`). Defaults are the included versions in the extension itself.
19+
- Lots of (optional) debugging messages spamming on the console (which can be turned off).
1820

1921
### Not done yet:
2022

@@ -24,7 +26,10 @@ Based on the amazing work by Sei Lisa and Mako Nozaki, who compiled the [LSL2 Ke
2426
- Getting the scope selections to work.
2527
- Automagically updating the syntax auto-completions every time Lisa & Nozaki update their own database (there are now a few tools to help with that).
2628
- Using Panic's new support for Tree-sitter grammars, which is even trickier to deal with (and requires some compilation) than the current language files...
27-
- Fully support the LSL linter from W-Hat.
29+
- Fully support the LSL linter from W-Hat, namely, by allowing more options to be checked/selected.
30+
- Fix `lslint` to support OSSL overloaded functions (ha!).
31+
- Investigate alternatives to `lslint` which are extensions/expansions and which also might make some things easier to catch.
32+
- Create a LSL LSP. (Hah!)
2833

2934
## Disclaimers, Acknowledgements & Warnings
3035

@@ -36,6 +41,8 @@ But please note that LSL is a language in perpetual flux, with Linden Lab (and t
3641

3742
While this extension is _mostly_ working, and should give you adequate syntax colouring (and even reasonable scoping) don't expect the results to be _exactly_ the same as inside the viewer's editor. In particular, the colours will match your Nova theme, not the conventions set by Linden Lab. It's theoretically possible to create a new, specific theme to deal with the LL colour conventions, but I haven't done that yet (I'm not expecting many people to use _this_ extension!).
3843

44+
On the other hand, the inclusion of `lslint` (LSL Linter) allows Nova to go well beyond the Linden Lab's built-in code editor in the viewer.
45+
3946
Also thanks to other Nova extension developers (including, but not limited to, Genealabs) for writing good, clean, understandable code that I shamelessly copied and reused.
4047

4148
## Extra goodies!
@@ -50,17 +57,17 @@ Although it's more conventional to do those tools in either Perl or Python, whic
5057

5158
### LSL linter
5259

53-
We don't have a language server for LSL (yet!) but we have something reasonably similar: the [`lslint` project](https://github.com/Makopo/lslint/). If you don't want to compile it on your own, it's included under the `/LSLint` directory. You have to run it passing the `builtins.txt` file that has been pre-assembled with the latest & greatest LSL definitions (also present in the very same directory).
60+
We don't have a language server for LSL (yet!) but we have something reasonably similar: the [`lslint` project](https://github.com/Makopo/lslint/). If you don't want to compile it on your own, it's included under the `/LSLint` directory. You have to run it passing the `builtins.txt` file that has been pre-assembled with the latest & greatest LSL & OSSL definitions (also present in the very same directory is `builtins-only-lsl.txt` which limits linting 'official' LSL only, and not any of its dialects).
5461

55-
You can add it as an optional action on Nova; this extension doesn't do that automatically on your behalf yet.
62+
Kudos to the whole W-Hat team, which released the original lslinter code into the public domain, and special thanks to Makopo for being its current (main) maintainer, as well as Sei Lisa for the many corrections and improvements.
5663

5764
## Legal Acknowledgements
5865

5966
Second Life®, Linden Scripting Language and the inSL logo are trademarks of Linden Research, Inc. No infringement is intended.
6067

6168
Nova® and the Nova logo are registered trademarks of Panic Inc.
6269

63-
The KWDB (a.k.a. LSL2/OSSL/AA Keywords Database and Derived Files Generator) is copyrighted by Sei Lisa and Mako Nozaki and released under a [GNU Lesser General Public License 3](http://www.gnu.org/licenses/lgpl-3.0.html), with parts also copyrighted by Linden Lab and released under the same license.
70+
The KWDB (a.k.a. LSL2/OSSL/AA Keywords Database and Derived Files Generator) is copyrighted by Sei Lisa and Mako Nozaki and released under a [GNU Lesser General Public License 3](https://www.gnu.org/licenses/lgpl-3.0.html), with parts also copyrighted by Linden Lab and released under the same license.
6471

6572
LSLint is placed into the public domain.
6673

extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{
2525
"key": "gwynethllewelyn.LindenScriptingLanguage.builtins",
2626
"title": "Path to builtins.txt",
27-
"description": "List of LSL built-in functions and parameters. By default, uses the builtins.txt that comes with this version (KWDB 0.0.20231219001). See LSLint/README.md for more information on how to build your own file.",
27+
"description": "List of LSL built-in functions and parameters. By default, uses the builtins.txt that comes with this version (KWDB 0.0.20231219001). See LSLint/README.md for more information on how to build your own file. A LSL-only bultins-only-lsl.txt is also provided for convenience.",
2828
"type": "string",
2929
"placeholder": "LSLint/builtins.txt",
3030
"default": ""

0 commit comments

Comments
 (0)