This extension provides autocomplete, parameter hints, and function documentation for Raylib Lua bindings. It simplifies development by allowing you to type raylib. and instantly see suggestions for available functions.
🚀 Features
Autocomplete: Get suggestions for all Raylib Lua functions.
Parameter Hints: View function arguments and parameter names.
Documentation: Hover over functions to see a description, parameter details, and example usage.
🛠️ Installation
Download the .vsix file from the release.
Open Visual Studio Code.
Press Ctrl + Shift + P (or Cmd + Shift + P on macOS) and select Install from VSIX.
Select the .vsix file.
Reload VS Code.
✍️ Usage
Open any Lua file.
Type raylib. and autocomplete suggestions will appear.
Select a function to see its parameters and documentation.
📚 Example
local sound = raylib.LoadSound("resources/jump.wav")
raylib.PlaySound(sound)
🧩 Commands
This extension does not provide commands — it runs automatically when a Lua file is detected.
🛠️ Development
If you'd like to contribute or modify this extension:
Clone the repository.
Run:
yarn install
yarn build
yarn package
Install the .vsix file in VS Code for testing.
🔄 Changelog
v0.0.1: Initial release with autocomplete for Raylib Lua bindings.
⚖️ License
This extension is released under the MIT License. See LICENSE for details.
🛠️ Contributions
Contributions are welcome! If you'd like to add new features or report bugs, feel free to open an issue or submit a pull request.