Editor Scripts šŸ”„: Alpha Release

editor-script-lua-format - Format your Lua code!

Adds a right click context menu item ā€œFormat Documentā€ for .lua, .script, .editor_script, .render_script, .gui_script files to format them with lua-format.

Installation

Download repo as .zip, simply copy ā€œeditor-script-lua-formatā€ folder to your project and reload editor scripts. Done!

Known Issues

  • Not tested yet on Linux and macOS.
  • Binary executable files are from vscode-lua-format repo.
  • Can’t be used as dependency library :sob:. Simply copy paste the script folder into your project.

Changelog

2020-01-11: I added Git pre-commit hook sample to the repo. It formats staged Lua files to keep your code fabulous!
2020-01-13: Binary executable files are built using Travis CI and AppVeyor.

4 Likes