Dev Environment
What?
This page’s goal is to allow you to set up you development environment for Mudlet scripts in a similar way to mine by explaining my VSCode setup and how to replicate it if desired.
Tools
This is just the list, I’ll go into more detail on each of them later.
- VSCode : though hesitant at first it has quickly become my code editor of choice, despite having been a VIM hold out for decades. The essential plugins I use for Mudlet scripting are:
- sumneko.lua is the extension ID of the lua language server I use
- koihik.vscode-lua-format is the extension ID of the lua formatter I use to keep my formatting consistent.
- Muddler : a build tool I wrote to take a file tree I edit in VSCode and create a mudlet .xml and .mpackage file suitable for loading into Mudlet
- requires either java8 or docker
- LuaFormatter : the luarock which goes with the koihik.vscode-lua-format extension mentioned above.
Step-by-Step
Linux
The blog post with detailed instructions for the development environment I’m using in Linux can be found HERE
Windows
Coming Soon
MacOS
Coming Soon