secondlife / secondlife/viewer
Print script errors to disk if a script is open in external editor
Open
enhancement
stale
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
If a script is open in the external editor, print errors the client receives to a matching .log file.
This would allow external tooling to pick them up and display them in editor.
In the future with more advanced errors this could include source map support etc.
Suggestion
-
Client receives script error (be it on debug channel, or a compile error)
-
Checks if script the error belongs to is open
-
Checks if that script is open in external editor
-
Appends error to matching file
sl_script_<script_name>_<uuid>.luau.log
Test plan
- This needs a test plan
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.