Skip to content

Precise Luanti (Minetest) IDE autocompletion and API documentation with type hinting.

License

Notifications You must be signed in to change notification settings

Voxrame/luanti-ide-helper

Repository files navigation

Luanti IDE Helper

Maintained By: Lord Team Donate: Boosty License: MIT

A helper package for Luanti (Minetest) mod/game development that provides autocompletion and documentation for IDE integration.

Demo

Supported IDEs & Plugins

Installation

For Mod Developers

  1. Download or clone this repository to your local machine:
    git clone https://github.com/Voxrame/luanti-ide-helper.git
  2. Configure your IDE to use the library path:
    • VS Code with EmmyLua (recommended):
      Add to your workspace settings (.vscode/settings.json):
      {
        "emmylua.workspace.library": [
          "path/to/luanti-ide-helper"
        ]
      }

For Game Developers

We recommend to keep this annotation package right in your repository as a Git submodule. This ensures all team members and contributors automatically get the same IDE assistance without additional configuration.

  1. Add this repository as a submodule to your project:
    git submodule add https://github.com/Voxrame/luanti-ide-helper.git util/ide-helper
  2. Create configuration files for your team in repository:
    .emmyrc.json (for all IDEs):
    {
      "$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
      "workspace.library": [
        "util/ide-helper"
      ]
    }
    .vscode/extensions.json (recommends EmmyLua for VS Code users):
    {
      "recommendations": [
        "tangzx.emmylua"
      ]
    }
  3. Update the submodule when needed:
    git submodule update --remote util/ide-helper

Development

Issues & PRs welcome.

Info: This project was started as part of Lord Game. And then was extracted with original commit history and issue references are preserved as lord-server/lord#<issue_number>.

License

This project is licensed under the MIT License - see license.md file for details.

About

Precise Luanti (Minetest) IDE autocompletion and API documentation with type hinting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages