StyLua roblox plugin is a formatter made for roblox studio.
- Download the
StyLua-Roblox
from GitHub Releases Page. - Install the plugin
git clone
the Project- run
npm install
- run
node index.js
to start the web server
git clone
the Project- cd to the
plugin
folder - run
rojo build --plugin -o stylua.rbxmx
- reboot the studio, plugin will be installed
Once installed, you can run the program and use the plugin on Studio, Program needs to run while you using the plugin.
To Format, click the StyLua button or bind a shortcut from shortcut settings.
Formatting with a script editor open will format the current script.
To format multiple scripts, you can close the script editor and select the scripts you want to format from Explorer and format.
To Change the Configuration of StyLua, Click the Open Settings Button.
more info about options and what it does can be found here
To Create Place-only Settings, Add a module named StyLua
(case-sensitive) to ServerStorage.
Copy the Settings from Open Settings menu and paste it in, plugin will use these settings