External Editor compatibility for Lua scripts
Wulfie Reanimator
Currently, clicking the "Edit..." button in the script floater, to open the script in an external editor, opens the script with
.lsl
extension. This causes some issues with language auto-detection in external editors, such as Sublime Text and VS Code.Could the file type be replaced with
.lua
when the chosen compiler is "Lua"?Log In
FireTruck Siren
I'd like to recommend the use of the
.luau
extension, or at least add an option to choose in the viewer since Luau scripts can contain additional type information that normal Lua syntax highlighting may not support.WolfGang Senizen
While we are at it
Can we add a few more
optional
arguments to the editor callIt would be great for those of us that use more involved external tooling
Suggest maybe some options like the following
%s The script file path
%k The user key of the client
%f The format [LSO2, LSL/Mono, LSL/Luau, Lua]