Note: this fork just adds a minor fix/workaround: avoid network access (for stylua version check) when
StyLua VSCode Extension
StyLua is an opinionated code formatter for Lua 5.1 and Luau, built using full-moon. StyLua is inspired by the likes of prettier, it parses your Lua codebase, and prints it back out from scratch, enforcing a consistent code style.
For more information, see the main repository
Set StyLua as your formatter when prompted, or add the following configuration to your
You can then use StyLua to format your code by running the
You can also enable
You can specify the path of the StyLua binary using the