Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.06 KB

File metadata and controls

33 lines (25 loc) · 1.06 KB

Mudlet Docs Extract

The purpose of this project is to extract LUA documentation into .lua files that can be imported into a project (or added to the lib path). This allows the IDE to provide autocomplete, documentation pop-ups, and parameter hints for functions.

VS Code extension

To easily install and configure documentation in VS Code there is an extension available: https://marketplace.visualstudio.com/items?itemName=Delwing.mudlet-scripts-sdk

Manual VS Code configuration

  • Install the Lua language server extension (extension id: sumneko.lua)
  • Download mudlet-docs.zip and extract it.
  • Add extracted directory to settings.json
{
  "Lua.workspace.library": [
    "/path/to/extracted/lua/files/"
  ]
}

Development

To build and run locally execute following command:

./gradlew bootRun