Skip to content

synnwave/StyLua-Roblox

 
 

Repository files navigation

StyLua Roblox

StyLua roblox plugin is a formatter made for roblox studio.

Installation

With GitHub Releases & Roblox Marketplace

Manual Installation

Installing with GitHub releases and roblox marketplace is recommended

Requirements

Program

  • git clone the Project
  • run npm install
  • run node index.js to start the web server

Plugin

  • git clone the Project
  • cd to the plugin folder
  • run rojo build --plugin -o stylua.rbxmx
  • reboot the studio, plugin will be installed

Usage

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 82.2%
  • JavaScript 17.2%
  • Shell 0.6%