Luau already makes use of a .luaurc file and the plugin uses it's alias system in the slua require mechanism.
It would be nice to have a similar feature for LSL to make behavior between the two consistent and allow for include aliases to be stored with your project.
Proposed .lslrc format for now would only include the aliases section.
{
"aliases": {
"libs" : "D:\\secondlife\\lsl\\libraries",
"my-lib" : "../../my-lib"
}
}
Allowing for includes to follow a pattern like
#include "@libs/lib.lsl"
#include "@my-lib/my-lib.lsl"
Luau already makes use of a
.luaurcfile and the plugin uses it's alias system in the slua require mechanism.It would be nice to have a similar feature for LSL to make behavior between the two consistent and allow for include aliases to be stored with your project.
Proposed
.lslrcformat for now would only include the aliases section.{ "aliases": { "libs" : "D:\\secondlife\\lsl\\libraries", "my-lib" : "../../my-lib" } }Allowing for includes to follow a pattern like