QOL improvements for us developers

I was pleasantly surprised that the Lua editor is using the same code editor that is used in my favorite code editor, VS Code.

It would be even better however if we could:

  1. Set the tab width in our account which would then be used when we open the Lua panel.
    This should be possible by passing the tabSize property to monaco.editor.create.

  2. Some sort of Lua source code formatter. For this, I found StyLua, which looks like it has a WebAssembly binding already.

  3. Even better than 2 but probably a significant effort to support some sort of Lua Langauge Server that could enable a lot of useful features like IntelliSense, documentation in the code, refactoring, etc.

2 Likes